patch needed by latest rawhide
Subsystems (2)
The attached patch does a domain_auto_trans for when firstboot runs the xserver so that /tmp/.X11-unix gets the correct type.
It allows iptables to write to the pipe that firstboot creates.
It puts in a dontaudit rule for passwd_t and chfn_t access to selinux_config_t, which I am not entirely sure about. The same thing is currently there for sysadm_passwd_t, and things work fine with the dontaudit.
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
program/passwd.te renamed from usr/src/se/policy/domains/program/passwd.te +1 -1
@@ -140,7 +140,7 @@ # for /proc/meminfo allow sysadm_passwd_t proc_t:file { getattr read }; -dontaudit sysadm_passwd_t selinux_config_t:dir search; +dontaudit { chfn_t passwd_t sysadm_passwd_t } selinux_config_t:dir search; dontaudit sysadm_passwd_t devpts_t:dir search; # make sure that getcon succeeds
program/unused/firstboot.te renamed from usr/src/se/policy/domains/program/unused/firstboot.te +5 -0
@@ -14,6 +14,10 @@ type firstboot_rw_t, file_type, sysadmfile; role system_r types firstboot_t; +ifdef(`xserver.te', ` +domain_auto_trans(firstboot_t, xserver_exec_t, xdm_xserver_t) +') + etc_domain(firstboot) typealias firstboot_etc_t alias etc_firstboot_t;
@@ -107,6 +111,7 @@ ifdef(`iptables.te', ` allow iptables_t devtty_t:chr_file { read write }; allow iptables_t firstboot_t:fd { use }; +allow iptables_t firstboot_t:fifo_file write; ') can_network(firstboot_t) can_ypbind(firstboot_t)
Merged.
Quoted 8 lines · Russell Coker
The attached patch does a
domain_auto_transfor when firstboot runs the xserver so that/tmp/.X11-unixgets the correct type.It allows iptables to write to the pipe that firstboot creates.
It puts in a dontaudit rule for
passwd_tandchfn_taccess toselinux_config_t, which I am not entirely sure about. The same thing is currently there forsysadm_passwd_t, and things work fine with the dontaudit.
Signature · 7 lines
James Carter <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.