Date: Mon, 22 Jan 2007 20:04:14 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 113406 for review Message-ID: <200701222004.l0MK4EcU089141@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113406 Change 113406 by millert@millert_macbook on 2007/01/22 20:04:12 Move /System labeling from DirectoryService.fc to darwin.fc. Label /Library Label /.Trashes as tmp_t. Affected files ... .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/DirectoryService.fc#5 edit .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/system/darwin.fc#8 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/DirectoryService.fc#5 (text+ko) ==== @@ -12,6 +12,3 @@ /private/var/run/.DSRunningSP1 -- gen_context(system_u:object_r:DirectoryService_var_run_t,s0) - -#/System -/System -d gen_context(system_u:object_r:darwin_system_t,s0) ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/system/darwin.fc#8 (text+ko) ==== @@ -10,10 +10,12 @@ # # /System # +/System.* gen_context(system_u:object_r:darwin_system_t,s0) /System/Library/LoginPlugins.* gen_context(system_u:object_r:darwin_loginplugin_t,s0) /System/Library/Caches.* gen_context(system_u:object_r:darwin_cache_t,s0) /System/Library/Services.* gen_context(system_u:object_r:darwin_services_t,s0) /System/Library/Security.* gen_context(system_u:object_r:darwin_security_t,s0) +/System/Library/StartupItems.* gen_context(system_u:object_r:darwin_startup_t,s0) /System/Library/CoreServices.* gen_context(system_u:object_r:darwin_CoreServices_t,s0) /System/Library/ColorSync.* gen_context(system_u:object_r:darwin_resource_t,s0) @@ -25,6 +27,7 @@ # # /Library # +/Library.* gen_context(system_u:object_r:lib_t,s0) /Library/Caches.* gen_context(system_u:object_r:darwin_cache_t,s0) /Library/ColorSync.* gen_context(system_u:object_r:darwin_resource_t,s0) /Library/Preferences/.GlobalPreferences.plist -- gen_context(system_u:object_r:darwin_global_pref_t,s0) @@ -34,3 +37,6 @@ # Kernel /mach_kernel -- gen_context(system_u:object_r:boot_t,s0) + +# Misc +/.Trashes.* gen_context(system_u:object_r:tmp_t,s0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701222004.l0MK4EcU089141>