Date: Thu, 16 Nov 2006 19:13:33 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110122 for review Message-ID: <200611161913.kAGJDXYv066161@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110122 Change 110122 by millert@millert_macbook on 2006/11/16 19:12:38 Hide sebsd_prev label namespace unless explicitly asked for. Affected files ... .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/sebsd.c#44 edit .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/sebsd.h#6 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/sebsd.c#44 (text+ko) ==== @@ -3043,7 +3043,7 @@ u_int32_t sid; tsec = SLOT(label); - if (strcmp("sebsd_prev", element_name) == 0) + if (strcmp("?sebsd_prev", element_name) == 0) sid = tsec->osid; else if (strcmp("sebsd", element_name) == 0) sid = tsec->sid; ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/sebsd.h#6 (text+ko) ==== @@ -41,7 +41,7 @@ #define SEBSD_ID_STRING "sebsd" #define SEBSD_MAC_EXTATTR_NAME "sebsd" #define SEBSD_MAC_EXTATTR_NAMESPACE EXTATTR_NAMESPACE_SYSTEM -#define SEBSD_MAC_LABEL_NAMESPACES "sebsd","sebsd_prev" +#define SEBSD_MAC_LABEL_NAMESPACES "sebsd","?sebsd_prev" #define SEBSD_MAC_LABEL_NAME_COUNT 2 extern int sebsd_find_data(const char *key, void **valp, size_t *sizep);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611161913.kAGJDXYv066161>