dhcpc.te patch
Subsystems (2)
The attached patch removes some redundant dontaudit rules from dhcpc.te.
It seems that Dan fixed the bugs some months ago but we didn't get around to fixing the policy to match.
If other distributions don't have the patch then it's still appropriate to apply this patch so people can discover the problem and get Dan's patches applied.
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/unused/dhcpc.te renamed from usr/src/se/policy/domains/program/unused/dhcpc.te +0 -9
@@ -58,10 +58,6 @@ # for the dhcp client to run ping to check IP addresses ifdef(`ping.te', ` domain_auto_trans(dhcpc_t, ping_exec_t, ping_t) -# because dhcpc is buggy and leaves file handles open... -dontaudit ping_t dhcpc_state_t:file read; -dontaudit ping_t dhcpc_t:packet_socket { read write }; -dontaudit ping_t dhcpc_t:udp_socket { read write }; ifdef(`hotplug.te', ` allow ping_t hotplug_t:fd use; ') dnl end if hotplug
@@ -109,11 +105,6 @@ ') ifdef(`ifconfig.te', ` domain_auto_trans(dhcpc_t, ifconfig_exec_t, ifconfig_t) -# because dhclient is buggy and does not close file handles -ifdef(`hide_broken_symptoms', ` -dontaudit ifconfig_t dhcpc_t:{ packet_socket udp_socket } { read write }; -dontaudit ifconfig_t dhcpc_state_t:file { read write }; -')dnl end broken symptoms ')dnl end if def ifconfig
Merged.
Quoted 8 lines · Russell Coker
The attached patch removes some redundant dontaudit rules from dhcpc.te.
It seems that Dan fixed the bugs some months ago but we didn't get around to fixing the policy to match.
If other distributions don't have the patch then it's still appropriate to apply this patch so people can discover the problem and get Dan's patches applied.
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.