PERFORCE change 40438 for review
Robert Watson
rwatson at FreeBSD.org
Fri Oct 24 21:42:26 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=40438
Change 40438 by rwatson at rwatson_tislabs on 2003/10/24 14:41:51
Add mac_check_cap(), an SEBSD-local change to kern_mac.c, to
mac_system.c.
Affected files ...
.. //depot/projects/trustedbsd/sebsd/sys/security/mac/mac_system.c#2 edit
Differences ...
==== //depot/projects/trustedbsd/sebsd/sys/security/mac/mac_system.c#2 (text+ko) ====
@@ -59,6 +59,16 @@
TUNABLE_INT("security.mac.enforce_system", &mac_enforce_system);
int
+mac_check_cap(struct ucred *cred, cap_value_t capv)
+{
+ int error;
+
+ MAC_CHECK(check_cap, cred, capv);
+
+ return (error);
+}
+
+int
mac_check_kenv_dump(struct ucred *cred)
{
int error;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list