svn commit: r350759 - head/sys/security/mac_veriexec_parser

Marcin Wojtas mw at FreeBSD.org
Thu Aug 8 16:51:49 UTC 2019


Author: mw
Date: Thu Aug  8 16:51:49 2019
New Revision: 350759
URL: https://svnweb.freebsd.org/changeset/base/350759

Log:
  Fix mac_veriexec_parser build after r347938
  
  In r347938 the definition of mac_veriexec_metadata_add_file
  so adjust the argument list accordingly.
  
  Submitted by: Kornel Duleba <mindal at semihalf.com>

Modified:
  head/sys/security/mac_veriexec_parser/mac_veriexec_parser.c

Modified: head/sys/security/mac_veriexec_parser/mac_veriexec_parser.c
==============================================================================
--- head/sys/security/mac_veriexec_parser/mac_veriexec_parser.c	Thu Aug  8 16:48:19 2019	(r350758)
+++ head/sys/security/mac_veriexec_parser/mac_veriexec_parser.c	Thu Aug  8 16:51:49 2019	(r350759)
@@ -364,7 +364,9 @@ parse_entry(char *entry, char *prefix)
 	rc = mac_veriexec_metadata_add_file(
 	    is_exec == 0,
 	    va.va_fsid, va.va_fileid, va.va_gen,
-	    digest, flags, fp_type, 1);
+	    digest,
+	    NULL, 0,
+	    flags, fp_type, 1);
 	mtx_unlock(&ve_mutex);
 
 out:


More information about the svn-src-all mailing list