PERFORCE change 15702 for review
Robert Watson
rwatson at freebsd.org
Thu Aug 8 22:13:47 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15702
Change 15702 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list