Merge pull request #98 from cgzones/admin_process_pattern
add admin_process_pattern macro
This commit is contained in:
commit
7d9a3be9f0
|
@ -98,3 +98,16 @@ define(`ps_process_pattern',`
|
|||
allow $1 $2:lnk_file read_lnk_file_perms;
|
||||
allow $1 $2:process getattr;
|
||||
')
|
||||
|
||||
#
|
||||
# Process administration pattern
|
||||
#
|
||||
# Parameters:
|
||||
# 1. source domain
|
||||
# 2. target domain
|
||||
#
|
||||
define(`admin_process_pattern',`
|
||||
ps_process_pattern($1, $2)
|
||||
|
||||
allow $1 $2:process { ptrace signal_perms };
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue