From owner-p4-projects Tue Jul 30 19:42:45 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0A89137B405; Tue, 30 Jul 2002 19:42:40 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A087737B400 for ; Tue, 30 Jul 2002 19:42:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 557AB43E65 for ; Tue, 30 Jul 2002 19:42:39 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6V2gdJU028298 for ; Tue, 30 Jul 2002 19:42:39 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6V2gdlA028295 for perforce@freebsd.org; Tue, 30 Jul 2002 19:42:39 -0700 (PDT) Date: Tue, 30 Jul 2002 19:42:39 -0700 (PDT) Message-Id: <200207310242.g6V2gdlA028295@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 15268 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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