Date: Mon, 22 Jan 2007 20:05:16 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 113407 for review Message-ID: <200701222005.l0MK5G97089469@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113407 Change 113407 by millert@millert_macbook on 2007/01/22 20:04:30 Allow access to /System/Library/StartupItems. Affected files ... .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/configd.te#15 edit .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/system/darwin.te#4 edit .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/system/init.te#12 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/configd.te#15 (text+ko) ==== @@ -87,6 +87,10 @@ configd_allow_resource_read(configd_t) configd_allow_resource_execute(configd_t) +# Read /System/Library/StartupItems +allow configd_t darwin_startup_t:dir { read search getattr }; +allow configd_t darwin_startup_t:file { execute execute_no_trans read ioctl getattr }; + # Allow configd to start ntpdate ntp_domtrans_ntpdate(configd_t) ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/system/darwin.te#4 (text+ko) ==== @@ -12,6 +12,7 @@ type darwin_system_t; type darwin_resource_t; type darwin_security_t; +type darwin_startup_t; type darwin_private_t; type darwin_loginplugin_t; type darwin_cache_t; ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/system/init.te#12 (text+ko) ==== @@ -658,6 +658,11 @@ darwin_allow_global_pref_read(init_t) darwin_allow_host_pref_read(init_t) darwin_allow_system_read(init_t) +allow init_t darwin_system_t:file execute; + +# Read /System/Library/StartupItems +allow init_t darwin_startup_t:dir { read search getattr }; +allow init_t darwin_startup_t:file { execute execute_no_trans read ioctl getattr }; # Use Frameworks frameworks_read(init_t)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701222005.l0MK5G97089469>