Date: Thu, 8 Aug 2002 15:13:47 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 15702 for review Message-ID: <200208082213.g78MDlw0025242@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15702 Change 15702 by rwatson@rwatson_tislabs on 2002/08/08 15:12:47 Permit an empty string as a label, as that's now the "noop" change request for TE labels. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_te/mac_te.c#69 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_te/mac_te.c#69 (text+ko) ==== @@ -477,11 +477,7 @@ } if (i == MAC_TE_TYPE_MAXLEN + 1) return (EINVAL); - /* Check that it's a non-nul string. */ - if (strlen(label->mt_type) == 0) - return (EINVAL); - else - return (0); + return (0); } static int 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?200208082213.g78MDlw0025242>