Merge pull request #98 from cgzones/admin_process_pattern

add admin_process_pattern macro
This commit is contained in:
Chris PeBenito 2017-02-18 12:38:23 -05:00 committed by GitHub
commit 7d9a3be9f0
1 changed files with 13 additions and 0 deletions

View File

@ -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 };
')