Label programs in /usr/bin like /usr/sbin
Some recent modifications added patterns in .fc files for programs in /usr/sbin without adding the patterns for /usr/bin. On Arch Linux, where /usr/sbin is a symlink to /usr/bin, such patterns are never matched. Add the missing patterns. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
51c4812c23
commit
e399c7f642
|
@ -1,3 +1,5 @@
|
|||
/usr/bin/hostapd -- gen_context(system_u:object_r:hostapd_exec_t,s0)
|
||||
|
||||
/usr/sbin/hostapd -- gen_context(system_u:object_r:hostapd_exec_t,s0)
|
||||
|
||||
/var/run/hostapd(/.*)? gen_context(system_u:object_r:hostapd_var_run_t,s0)
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
/run/knot(/.*)? gen_context(system_u:object_r:knot_runtime_t,s0)
|
||||
|
||||
/usr/bin/knotc -- gen_context(system_u:object_r:knotc_exec_t,s0)
|
||||
/usr/bin/knotd -- gen_context(system_u:object_r:knotd_exec_t,s0)
|
||||
|
||||
/usr/sbin/knotc -- gen_context(system_u:object_r:knotc_exec_t,s0)
|
||||
/usr/sbin/knotd -- gen_context(system_u:object_r:knotd_exec_t,s0)
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/usr/bin/tpm2-abrmd -- gen_context(system_u:object_r:tpm2_abrmd_exec_t,s0)
|
||||
|
||||
/usr/sbin/tpm2-abrmd -- gen_context(system_u:object_r:tpm2_abrmd_exec_t,s0)
|
||||
|
||||
/usr/lib/systemd/system/[^/]*tpm2-abrmd\.service -- gen_context(system_u:object_r:tpm2_abrmd_unit_t,s0)
|
||||
|
|
Loading…
Reference in New Issue