diff options
author | Chris PeBenito <cpebenito@tresys.com> | 2009-09-03 08:39:42 -0400 |
---|---|---|
committer | Chris PeBenito <cpebenito@tresys.com> | 2009-09-03 08:39:42 -0400 |
commit | 72b834ccb0097b94a807a25b1e349b68360b9a3d (patch) | |
tree | 9c04e600df0c817388ffcba4aedbb1f64afcb50e | |
parent | ca7fa520e7990b9e9ac838aa4138e4513601c77e (diff) |
remove stale screen_dir_t references
The screen_dir_t was made an alias of the screen_var_run_t type.
Remove the remaining references to this type.
-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) |