PERFORCE change 15088 for review

Robert Watson rwatson at freebsd.org
Mon Jul 29 02:15:15 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15088

Change 15088 by rwatson at rwatson_paprika on 2002/07/28 19:14:26

	Remove unused code.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#207 edit

Differences ...

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

@@ -1611,29 +1611,6 @@
 	return (error);
 }
 
-#if 0
-static int
-mac_label_valid(struct label *label)
-{
-
-	/*
-	 * If more flags are added, this should mask down to the initialized
-	 * flag before testing.
-	 */
-	return (label->l_flags == MAC_FLAG_INITIALIZED);
-}
-#endif
-
-#if 0
-void
-mac_copy_label(struct label *labelfrom, struct label *labelto)
-{
-
-	bcopy(&labelfrom->l_perpolicy, &labelto->l_perpolicy,
-	    sizeof(labelfrom->l_perpolicy));
-}
-#endif
-
 /*
  * Initialize MAC label for the first kernel process, from which other
  * kernel processes and threads are spawned.
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