selinux-refpolicy/policy/modules/system/hotplug.fc
Nicolas Iooss 85d678bd2f
Add file contexts in /usr for /bin, /usr/sbin and /usr/lib
Some policy modules define file contexts in /bin, /sbin and /lib without
defining similar file contexts in the same directory under /usr.

Add these missing file contexts when there are outside ifdef blocks.
2016-12-27 17:06:54 +01:00

15 lines
641 B
Plaintext

/etc/hotplug(/.*)? gen_context(system_u:object_r:hotplug_etc_t,s0)
/etc/hotplug/firmware\.agent -- gen_context(system_u:object_r:hotplug_exec_t,s0)
/etc/hotplug\.d/.* -- gen_context(system_u:object_r:hotplug_exec_t,s0)
/run/usb(/.*)? gen_context(system_u:object_r:hotplug_var_run_t,s0)
/run/hotplug(/.*)? gen_context(system_u:object_r:hotplug_var_run_t,s0)
/sbin/hotplug -- gen_context(system_u:object_r:hotplug_exec_t,s0)
/sbin/netplugd -- gen_context(system_u:object_r:hotplug_exec_t,s0)
/usr/sbin/hotplug -- gen_context(system_u:object_r:hotplug_exec_t,s0)
/usr/sbin/netplugd -- gen_context(system_u:object_r:hotplug_exec_t,s0)