PERFORCE change 113407 for review

Todd Miller millert at FreeBSD.org
Mon Jan 22 20:15:34 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=113407

Change 113407 by millert at 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)


More information about the trustedbsd-cvs mailing list