PERFORCE change 15268 for review

Robert Watson rwatson at freebsd.org
Wed Jul 31 02:42:39 GMT 2002


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

Change 15268 by rwatson at rwatson_paprika on 2002/07/30 19:41:38

	Trim dup checks from integ.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_prot.c#29 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/kern_prot.c#29 (text+ko) ====

@@ -1432,11 +1432,6 @@
 	if (error)
 		return (error);
 
-#ifdef MAC
-	if ((error = mac_check_proc_signal(cred, proc, signum)))
-		return (error);
-#endif		
-
 	/*
 	 * UNIX signal semantics depend on the status of the P_SUGID
 	 * bit on the target process.  If the bit is set, then additional
@@ -1602,12 +1597,6 @@
 	if ((error = cr_seeotheruids(td->td_ucred, p->p_ucred)))
 		return (error);
 
-#ifdef MAC
-	error = mac_check_proc_debug(td->td_ucred, p);
-	if (error)
-		return (error);
-#endif
-
 	/*
 	 * Is p's group set a subset of td's effective group set?  This
 	 * includes p's egid, group access list, rgid, and svgid.
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