| Server IP : 67.43.7.42 / Your IP : 216.73.216.241 Web Server : Apache System : Linux host.isabellascookies.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : isabella ( 503) PHP Version : 5.5.38 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/selinux/devel/include/apps/ |
Upload File : |
## <summary>Thunderbird email client</summary>
########################################
## <summary>
## Role access for thunderbird
## </summary>
## <param name="role">
## <summary>
## Role allowed access
## </summary>
## </param>
## <param name="domain">
## <summary>
## User domain for the role
## </summary>
## </param>
#
interface(`thunderbird_role',`
gen_require(`
type thunderbird_t, thunderbird_exec_t;
type thunderbird_home_t, thunderbird_tmpfs_t;
')
role $1 types thunderbird_t;
domain_auto_trans($2, thunderbird_exec_t, thunderbird_t)
allow $2 thunderbird_t:fd use;
allow $2 thunderbird_t:shm { associate getattr };
allow $2 thunderbird_t:unix_stream_socket connectto;
allow thunderbird_t $2:fd use;
allow thunderbird_t $2:process sigchld;
allow thunderbird_t $2:unix_stream_socket connectto;
# allow ps to show thunderbird and allow the user to kill it
ps_process_pattern($2, thunderbird_t)
allow $2 thunderbird_t:process signal;
# Access ~/.thunderbird
manage_dirs_pattern($2, thunderbird_home_t, thunderbird_home_t)
manage_files_pattern($2, thunderbird_home_t, thunderbird_home_t)
manage_lnk_files_pattern($2, thunderbird_home_t, thunderbird_home_t)
relabel_dirs_pattern($2, thunderbird_home_t, thunderbird_home_t)
relabel_files_pattern($2, thunderbird_home_t, thunderbird_home_t)
relabel_lnk_files_pattern($2, thunderbird_home_t, thunderbird_home_t)
')
########################################
## <summary>
## Run thunderbird in the user thunderbird domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`thunderbird_domtrans',`
gen_require(`
type thunderbird_t, thunderbird_exec_t;
')
domtrans_pattern($1, thunderbird_exec_t, thunderbird_t)
')