Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 14:17:32 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 20205 for review
Message-ID:  <200210262117.g9QLHWPc026563@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=20205

Change 20205 by rwatson@rwatson_tislabs on 2002/10/26 14:16:32

	/* MAC */ not needed in #endif for short code snippets.

Affected files ...

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

Differences ...

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

@@ -231,7 +231,7 @@
 		mtx_lock(&Giant);
 		goto exec_fail;
 	}
-#endif /* MAC */
+#endif
 
 	/*
 	 * Allocate temporary demand zeroed space for argument and
@@ -346,7 +346,7 @@
 		mac_init_vnode_label(&interplabel);
 		mac_copy_vnode_label(&ndp->ni_vp->v_label, &interplabel);
 		interplabelvalid = 1;
-#endif /* MAC */
+#endif
 		vput(ndp->ni_vp);
 		vm_object_deallocate(imgp->object);
 		imgp->object = NULL;
@@ -668,7 +668,7 @@
 		mac_execve_exit(imgp);
 		if (interplabelvalid)
 			mac_destroy_vnode_label(&interplabel);
-#endif /* MAC */
+#endif
 		exit1(td, W_EXITCODE(0, SIGABRT));
 		/* NOT REACHED */
 		error = 0;
@@ -678,7 +678,7 @@
 	mac_execve_exit(imgp);
 	if (interplabelvalid)
 		mac_destroy_vnode_label(&interplabel);
-#endif /* MAC */
+#endif
 	mtx_unlock(&Giant);
 	return (error);
 }

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?200210262117.g9QLHWPc026563>