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

16 lines
642 B
Plaintext

/etc/mgetty(/.*)? gen_context(system_u:object_r:getty_etc_t,s0)
/sbin/.*getty -- gen_context(system_u:object_r:getty_exec_t,s0)
/usr/sbin/.*getty -- gen_context(system_u:object_r:getty_exec_t,s0)
/var/log/mgetty\.log.* -- gen_context(system_u:object_r:getty_log_t,s0)
/var/log/vgetty\.log\..* -- gen_context(system_u:object_r:getty_log_t,s0)
/run/mgetty\.pid.* -- gen_context(system_u:object_r:getty_var_run_t,s0)
/run/agetty\.reload -- gen_context(system_u:object_r:getty_var_run_t,s0)
/var/spool/fax(/.*)? gen_context(system_u:object_r:getty_var_run_t,s0)
/var/spool/voice(/.*)? gen_context(system_u:object_r:getty_var_run_t,s0)