diff options
-rw-r--r-- | policy/modules/apps/screen.if | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/policy/modules/apps/screen.if b/policy/modules/apps/screen.if index 4b8fda0b..bfeef2d2 100644 --- a/policy/modules/apps/screen.if +++ b/policy/modules/apps/screen.if @@ -23,7 +23,7 @@ # template(`screen_role_template',` gen_require(` - type screen_dir_t, screen_exec_t, screen_tmp_t; + type screen_exec_t, screen_tmp_t; type screen_home_t, screen_var_run_t; ') @@ -58,10 +58,9 @@ template(`screen_role_template',` files_tmp_filetrans($1_screen_t, screen_tmp_t, { file dir }) # Create fifo - manage_fifo_files_pattern($1_screen_t, screen_dir_t, screen_var_run_t) - manage_dirs_pattern($1_screen_t, screen_dir_t, screen_dir_t) - filetrans_pattern($1_screen_t, screen_dir_t, screen_var_run_t, fifo_file) - files_pid_filetrans($1_screen_t, screen_dir_t, dir) + manage_fifo_files_pattern($1_screen_t, screen_var_run_t, screen_var_run_t) + manage_dirs_pattern($1_screen_t, screen_var_run_t, screen_var_run_t) + files_pid_filetrans($1_screen_t, screen_var_run_t, dir) allow $1_screen_t screen_home_t:dir list_dir_perms; read_files_pattern($1_screen_t, screen_home_t, screen_home_t) |