Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 19:42:39 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 15268 for review
Message-ID:  <200207310242.g6V2gdlA028295@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15268

Change 15268 by rwatson@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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