PERFORCE change 108683 for review
Robert Watson
rwatson at FreeBSD.org
Sun Oct 29 19:45:44 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=108683
Change 108683 by rwatson at 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
More information about the trustedbsd-cvs
mailing list