Skip to contentSkip to conversation

dhclient from hotplug

PATCH Russell Coker 2 participants 2 messages Sep 25, 2004 – Sep 28, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

The attached patch is necessary for when dhclient is started from hotplug.

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
domains/program/unused/dhcpc.te renamed from usr/src/se/policy/domains/program/unused/dhcpc.te +3 -0
@@ -48,7 +48,10 @@
 allow hotplug_t dhcpc_var_run_t:file { getattr read };
 allow hotplug_t dhcp_etc_t:file rw_file_perms;
 allow dhcpc_t hotplug_etc_t:dir { getattr search };
+ifdef(`distro_redhat', `
+domain_auto_trans(dhcpc_t, syslogd_exec_t, syslogd_t)
 ')
+')dnl end hotplug.te
 
 # for the dhcp client to run ping to check IP addresses
 ifdef(`ping.te', `
#1 lore raw

Merged.

Quoted 1 line · Russell Coker

The attached patch is necessary for when dhclient is started from hotplug.

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.