thunderbird: label files under /tmp
Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
parent
6ce9865e6c
commit
a5c3c70385
|
@ -15,6 +15,9 @@ role thunderbird_roles types thunderbird_t;
|
|||
type thunderbird_home_t;
|
||||
userdom_user_home_content(thunderbird_home_t)
|
||||
|
||||
type thunderbird_tmp_t;
|
||||
userdom_user_tmp_file(thunderbird_tmp_t)
|
||||
|
||||
type thunderbird_tmpfs_t;
|
||||
userdom_user_tmpfs_file(thunderbird_tmpfs_t)
|
||||
|
||||
|
@ -42,6 +45,11 @@ manage_files_pattern(thunderbird_t, thunderbird_home_t, thunderbird_home_t)
|
|||
manage_lnk_files_pattern(thunderbird_t, thunderbird_home_t, thunderbird_home_t)
|
||||
userdom_user_home_dir_filetrans(thunderbird_t, thunderbird_home_t, dir, ".thunderbird")
|
||||
|
||||
manage_dirs_pattern(thunderbird_t, thunderbird_tmp_t, thunderbird_tmp_t)
|
||||
manage_files_pattern(thunderbird_t, thunderbird_tmp_t, thunderbird_tmp_t)
|
||||
manage_lnk_files_pattern(thunderbird_t, thunderbird_tmp_t, thunderbird_tmp_t)
|
||||
files_tmp_filetrans(thunderbird_t, thunderbird_tmp_t, { dir file lnk_file })
|
||||
|
||||
manage_files_pattern(thunderbird_t, thunderbird_tmpfs_t, thunderbird_tmpfs_t)
|
||||
manage_lnk_files_pattern(thunderbird_t, thunderbird_tmpfs_t, thunderbird_tmpfs_t)
|
||||
manage_fifo_files_pattern(thunderbird_t, thunderbird_tmpfs_t, thunderbird_tmpfs_t)
|
||||
|
|
Loading…
Reference in New Issue