Allow users to ptrace and send any signal to their lpd agent.
Allow users to ptrace and send any signal to their mock agent.
This commit is contained in:
parent
c0ad94be4a
commit
e8ea772d89
@ -27,7 +27,7 @@ interface(`lpd_role',`
|
|||||||
dontaudit lpr_t $2:unix_stream_socket { read write };
|
dontaudit lpr_t $2:unix_stream_socket { read write };
|
||||||
|
|
||||||
ps_process_pattern($2, lpr_t)
|
ps_process_pattern($2, lpr_t)
|
||||||
allow $2 lpr_t:process signull;
|
allow $2 lpr_t:process { ptrace signal_perms };
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
cups_read_config($2)
|
cups_read_config($2)
|
||||||
|
@ -185,7 +185,7 @@ interface(`mock_role',`
|
|||||||
mock_domtrans($2)
|
mock_domtrans($2)
|
||||||
|
|
||||||
ps_process_pattern($2, mock_t)
|
ps_process_pattern($2, mock_t)
|
||||||
allow $2 mock_t:process signal;
|
allow $2 mock_t:process { ptrace signal_perms };
|
||||||
')
|
')
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
|
Loading…
Reference in New Issue
Block a user