PERFORCE change 20205 for review

Robert Watson rwatson at freebsd.org
Sat Oct 26 21:17:32 GMT 2002


http://perforce.freebsd.org/chv.cgi?CH=20205

Change 20205 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list