Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2018 17:15:28 +0000 (UTC)
From:      "Stephen J. Kiernan" <stevek@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336286 - head/sys/security/mac_veriexec
Message-ID:  <201807141715.w6EHFSFA046525@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stevek
Date: Sat Jul 14 17:15:28 2018
New Revision: 336286
URL: https://svnweb.freebsd.org/changeset/base/336286

Log:
  Fix a typo which could cause a build breakage when building with MAC/veriexec
  enabled in the kernel config.
  
  Remove unused mac_veriexec_print_db prototype in internal header file.

Modified:
  head/sys/security/mac_veriexec/mac_veriexec.c
  head/sys/security/mac_veriexec/mac_veriexec_internal.h

Modified: head/sys/security/mac_veriexec/mac_veriexec.c
==============================================================================
--- head/sys/security/mac_veriexec/mac_veriexec.c	Sat Jul 14 17:12:04 2018	(r336285)
+++ head/sys/security/mac_veriexec/mac_veriexec.c	Sat Jul 14 17:15:28 2018	(r336286)
@@ -113,7 +113,7 @@ sysctl_mac_veriexec_db(SYSCTL_HANDLER_ARGS)
 		return (error);
 
 	sbuf_new_for_sysctl(&sb, NULL, 1024, req);
-	mac_veriexec_print_db(&sb);
+	mac_veriexec_metadata_print_db(&sb);
 	error = sbuf_finish(&sb);
 	sbuf_delete(&sb);
 

Modified: head/sys/security/mac_veriexec/mac_veriexec_internal.h
==============================================================================
--- head/sys/security/mac_veriexec/mac_veriexec_internal.h	Sat Jul 14 17:12:04 2018	(r336285)
+++ head/sys/security/mac_veriexec/mac_veriexec_internal.h	Sat Jul 14 17:15:28 2018	(r336286)
@@ -95,7 +95,6 @@ fingerprint_status_t
 	mac_veriexec_get_fingerprint_status(struct vnode *vp);
 int	mac_veriexec_get_state(void);
 int	mac_veriexec_in_state(int state);
-void	mac_veriexec_print_db(struct sbuf *);
 void	mac_veriexec_set_fingerprint_status(struct vnode *vp,
 	    fingerprint_status_t fp_status);
 void	mac_veriexec_set_state(int state);



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