PERFORCE change 113423 for review

Todd Miller millert at FreeBSD.org
Mon Jan 22 20:19:02 UTC 2007


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

Change 113423 by millert at millert_macbook on 2007/01/22 20:16:15

	loginwindow needs access to sbin and /dev/urandom.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/loginwindow.te#15 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/loginwindow.te#15 (text+ko) ====

@@ -44,10 +44,13 @@
 allow loginwindow_t nfs_t:lnk_file { getattr read };
 allow loginwindow_t usr_t:file { getattr read };
 allow loginwindow_t volfs_t:dir search;
+allow loginwindow_t random_device_t:chr_file read;
 
 # There has to be a "proper" interface for this. Fix this when we find it
 allow loginwindow_t bin_t:dir { search read getattr };
 allow loginwindow_t bin_t:file { getattr execute execute_no_trans read };
+allow loginwindow_t sbin_t:dir { search read getattr };
+allow loginwindow_t sbin_t:file { getattr execute execute_no_trans read };
 allow loginwindow_t automount_t:dir search;
 
 allow loginwindow_t darwin_services_t:dir { read search getattr };


More information about the trustedbsd-cvs mailing list