Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2019 16:51:49 +0000 (UTC)
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350759 - head/sys/security/mac_veriexec_parser
Message-ID:  <201908081651.x78GpnaY054914@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908081651.x78GpnaY054914>