Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2006 19:45:37 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 108683 for review
Message-ID:  <200610291945.k9TJjbJw097269@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=108683

Change 108683 by rwatson@rwatson_zoo on 2006/10/29 19:45:14

	Migrate addition of new priv(9)-related entry points to
	mac_framework.h, the new world order.

Affected files ...

.. //depot/projects/trustedbsd/priv/sys/security/mac/mac_framework.h#3 edit

Differences ...

==== //depot/projects/trustedbsd/priv/sys/security/mac/mac_framework.h#3 (text+ko) ====

@@ -51,6 +51,7 @@
 #endif
 
 #include <sys/_label.h>
+#include <sys/priv.h>		/* XXXRW: Until name space issues resolved. */
 
 struct bpf_d;
 struct cdev;
@@ -407,6 +408,8 @@
 	    struct label *label);
 void	mac_cred_mmapped_drop_perms(struct thread *td, struct ucred *cred);
 void	mac_associate_nfsd_label(struct ucred *cred);
+int	mac_priv_check(struct ucred *cred, enum priv priv);
+int	mac_priv_grant(struct ucred *cred, enum priv priv);
 
 /*
  * Calls to help various file systems implement labeling functionality



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