selinux-refpolicy/policy/modules/system/hostname.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

5 lines
141 B
Plaintext

/bin/hostname -- gen_context(system_u:object_r:hostname_exec_t,s0)
/usr/bin/hostname -- gen_context(system_u:object_r:hostname_exec_t,s0)