base_user_macros.te
The attached patch reverts a mistake made in a recent change to the base_user_macros.te.
Although it's widely regarded that writing non-random data to /dev/random can not decrease the entropy available I think it's best to not allow unprivileged processes to perform such writes.
Signature · 4 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page
base_user_macros.te renamed from base_user_macros.te.orig +1 -1
@@ -358,7 +358,7 @@ allow $1_t devtty_t:chr_file rw_file_perms; allow $1_t null_device_t:chr_file rw_file_perms; allow $1_t zero_device_t:chr_file { rw_file_perms execute }; -allow $1_t { random_device_t urandom_device_t }:chr_file ra_file_perms; +allow $1_t { random_device_t urandom_device_t }:chr_file { getattr read ioctl }; # # Added to allow reading of cdrom #