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.
This commit is contained in:
Chris PeBenito 2009-09-03 08:39:42 -04:00
parent ca7fa520e7
commit 72b834ccb0
1 changed files with 4 additions and 5 deletions

View File

@ -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)