PERFORCE change 16406 for review

Robert Watson rwatson at freebsd.org
Thu Aug 22 03:56:35 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16406

Change 16406 by rwatson at rwatson_paprika on 2002/08/21 20:55:48

	No need to implement MAC_EXECVE_TRANSITION since we already
	implement MAC_CREATE_CRED.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_partition/mac_partition.c#11 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_partition/mac_partition.c#11 (text+ko) ====

@@ -141,14 +141,6 @@
 }
 
 static void
-mac_partition_execve_transition(struct ucred *old, struct ucred *new,
-    struct vnode *vp, struct label *vnodelabel)
-{
-
-	mac_partition_create_cred(old, new);
-}
-
-static void
 mac_partition_create_proc0(struct ucred *cred)
 {
 
@@ -268,8 +260,6 @@
 	    (macop_t)mac_partition_internalize },
 	{ MAC_CREATE_CRED,
 	    (macop_t)mac_partition_create_cred },
-	{ MAC_EXECVE_TRANSITION,
-	    (macop_t)mac_partition_execve_transition },
 	{ MAC_CREATE_PROC0,
 	    (macop_t)mac_partition_create_proc0 },
 	{ MAC_CREATE_PROC1,
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