selinux: Switch to a more reasonable model for PID and socket files
Instead of restricting PID files to /var/run/passt.pid, which is a single file and unlikely to be used, use the user_tmp_t type which should cover any reasonable need. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
@@ -10,4 +10,3 @@
|
||||
|
||||
/usr/bin/passt(\.*)? system_u:object_r:passt_exec_t:s0
|
||||
/tmp/passt\.pcap system_u:object_r:passt_log_t:s0
|
||||
/var/run/passt\.pid system_u:object_r:passt_pid_t:s0
|
||||
|
Reference in New Issue
Block a user