selinux-refpolicy/policy/modules/system/hotplug.fc
cgzones 7d376d7e4d transition file contexts to /run
Remove file context aliases and update file context paths to use the /run filesystem path.
Add backward compatibility file context alias for /var/run using applications like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783321
Lock files are still seated at /var/lock
2016-12-17 18:32:39 +01:00

12 lines
499 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)
/sbin/hotplug -- gen_context(system_u:object_r:hotplug_exec_t,s0)
/sbin/netplugd -- 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)