PERFORCE change 113392 for review
Todd Miller
millert at FreeBSD.org
Mon Jan 22 20:09:54 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=113392
Change 113392 by millert at millert_macbook on 2007/01/22 19:56:29
Permit darwin_cache_t dir/file access.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/coreservicesd.te#6 edit
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/kextd.te#8 edit
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/loginwindow.te#9 edit
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/securityd.te#8 edit
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/system/init.te#9 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/coreservicesd.te#6 (text+ko) ====
@@ -80,6 +80,5 @@
files_read_var_files(coreservicesd_t)
files_read_var_symlinks(coreservicesd_t)
-
-
-
+# Access cache files
+allow coreservicesd_t darwin_cache_t:dir { getattr search };
==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/kextd.te#8 (text+ko) ====
@@ -108,3 +108,6 @@
# Talk to console
allow kextd_t console_device_t:chr_file { read write };
+
+# Access cache files
+allow kextd_t darwin_cache_t:dir { search getattr add_name };
==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/loginwindow.te#9 (text+ko) ====
@@ -146,3 +146,6 @@
# Write to WTMP
auth_write_login_records(loginwindow_t)
+
+# Access cache files
+allow loginwindow_t darwin_cache_t:dir search;
==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/securityd.te#8 (text+ko) ====
@@ -111,3 +111,7 @@
# Allow reading of security_t files
darwin_allow_security_read(securityd_t)
+
+# Access cache files
+allow securityd_t darwin_cache_t:dir search;
+allow securityd_t darwin_cache_t:file { read lock };
==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/system/init.te#9 (text+ko) ====
@@ -681,3 +681,7 @@
allow init_t var_vm_t:dir { search getattr read remove_name };
# Allow startup to remove old files
allow init_t dynamic_pager_swapfile_t:file { getattr unlink };
+
+# Allow access to Cache files
+allow init_t darwin_cache_t:dir search;
+allow init_t darwin_cache_t:file { read write lock };
More information about the trustedbsd-cvs
mailing list