Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2002 08:15:31 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 15385 for review
Message-ID:  <200208011515.g71FFV91078129@freefall.freebsd.org>

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

Change 15385 by rwatson@rwatson_paprika on 2002/08/01 08:14:33

	Remove dups from integ.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_exec.c#30 edit

Differences ...

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

@@ -30,7 +30,6 @@
 #include "opt_mac.h"
 
 #include <sys/param.h>
-#include <sys/mac.h>
 #include <sys/systm.h>
 #include <sys/lock.h>
 #include <sys/mutex.h>
@@ -988,17 +987,6 @@
 	if (error)
 		return (error);
 
-#ifdef MAC
-	/*
-	 * Check that we can execute the file, and hold onto the lock so
-	 * that the label is retained for use later for MAC models that
-	 * support subject domain transitions at execve()-time.
-	 */
-	error = mac_check_vnode_exec(curthread->td_ucred, imgp->vp);
-	if (error)
-		return (error);
-#endif
-
 	/*
 	 * Check number of open-for-writes on the file and deny execution
 	 * if there are any.

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?200208011515.g71FFV91078129>