Date: Sun, 28 Jul 2002 19:15:15 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 15088 for review Message-ID: <200207290215.g6T2FFFV041381@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15088 Change 15088 by rwatson@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@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?200207290215.g6T2FFFV041381>