|
Chris PeBenito |
4b76ea |
policy_module(mozilla, 2.2.2)
|
|
Chris PeBenito |
9105f9 |
|
|
Chris PeBenito |
9105f9 |
########################################
|
|
Chris PeBenito |
9105f9 |
#
|
|
Chris PeBenito |
9105f9 |
# Declarations
|
|
Chris PeBenito |
9105f9 |
#
|
|
Chris PeBenito |
9105f9 |
|
|
Chris PeBenito |
56e1b3 |
## <desc>
|
|
Chris PeBenito |
56e1b3 |
##
|
|
Chris PeBenito |
56e1b3 |
## Control mozilla content access
|
|
Chris PeBenito |
56e1b3 |
##
|
|
Chris PeBenito |
56e1b3 |
## </desc>
|
|
Chris PeBenito |
0bfccd |
gen_tunable(mozilla_read_content, false)
|
|
Chris PeBenito |
56e1b3 |
|
|
Chris PeBenito |
296273 |
type mozilla_t;
|
|
Chris PeBenito |
296273 |
type mozilla_exec_t;
|
|
Chris PeBenito |
296273 |
typealias mozilla_t alias { user_mozilla_t staff_mozilla_t sysadm_mozilla_t };
|
|
Chris PeBenito |
296273 |
typealias mozilla_t alias { auditadm_mozilla_t secadm_mozilla_t };
|
|
Chris PeBenito |
296273 |
application_domain(mozilla_t, mozilla_exec_t)
|
|
Chris PeBenito |
296273 |
ubac_constrained(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
9105f9 |
type mozilla_conf_t;
|
|
Chris PeBenito |
9105f9 |
files_config_file(mozilla_conf_t)
|
|
Chris PeBenito |
9105f9 |
|
|
Chris PeBenito |
296273 |
type mozilla_home_t;
|
|
Chris PeBenito |
296273 |
typealias mozilla_home_t alias { user_mozilla_home_t staff_mozilla_home_t sysadm_mozilla_home_t };
|
|
Chris PeBenito |
296273 |
typealias mozilla_home_t alias { auditadm_mozilla_home_t secadm_mozilla_home_t };
|
|
Dan Walsh |
3eaa99 |
files_poly_member(mozilla_home_t)
|
|
Chris PeBenito |
296273 |
userdom_user_home_content(mozilla_home_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
type mozilla_tmpfs_t;
|
|
Chris PeBenito |
296273 |
typealias mozilla_tmpfs_t alias { user_mozilla_tmpfs_t staff_mozilla_tmpfs_t sysadm_mozilla_tmpfs_t };
|
|
Chris PeBenito |
296273 |
typealias mozilla_tmpfs_t alias { auditadm_mozilla_tmpfs_t secadm_mozilla_tmpfs_t };
|
|
Chris PeBenito |
296273 |
files_tmpfs_file(mozilla_tmpfs_t)
|
|
Chris PeBenito |
296273 |
ubac_constrained(mozilla_tmpfs_t)
|
|
Chris PeBenito |
296273 |
|
|
Dan Walsh |
3eaa99 |
type mozilla_plugin_t;
|
|
Dan Walsh |
3eaa99 |
type mozilla_plugin_exec_t;
|
|
Dan Walsh |
3eaa99 |
application_domain(mozilla_plugin_t, mozilla_plugin_exec_t)
|
|
Dan Walsh |
3eaa99 |
role system_r types mozilla_plugin_t;
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
ef98a3 |
type mozilla_plugin_tmp_t;
|
|
Dan Walsh |
ef98a3 |
files_tmp_file(mozilla_plugin_tmp_t)
|
|
Dan Walsh |
ef98a3 |
|
|
Dan Walsh |
f5b49a |
type mozilla_plugin_tmpfs_t;
|
|
Dan Walsh |
f5b49a |
files_tmpfs_file(mozilla_plugin_tmpfs_t)
|
|
Dan Walsh |
f5b49a |
ubac_constrained(mozilla_plugin_tmpfs_t)
|
|
Dan Walsh |
f5b49a |
|
|
Dan Walsh |
3eaa99 |
permissive mozilla_plugin_t;
|
|
Dan Walsh |
3eaa99 |
|
|
Chris PeBenito |
296273 |
########################################
|
|
Chris PeBenito |
296273 |
#
|
|
Chris PeBenito |
296273 |
# Local policy
|
|
Chris PeBenito |
296273 |
#
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
allow mozilla_t self:capability { sys_nice setgid setuid };
|
|
Chris PeBenito |
296273 |
allow mozilla_t self:process { sigkill signal setsched getsched setrlimit };
|
|
Chris PeBenito |
296273 |
allow mozilla_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
296273 |
allow mozilla_t self:shm { unix_read unix_write read write destroy create };
|
|
Chris PeBenito |
296273 |
allow mozilla_t self:sem create_sem_perms;
|
|
Chris PeBenito |
296273 |
allow mozilla_t self:socket create_socket_perms;
|
|
Chris PeBenito |
296273 |
allow mozilla_t self:unix_stream_socket { listen accept };
|
|
Chris PeBenito |
296273 |
# Browse the web, connect to printer
|
|
Chris PeBenito |
296273 |
allow mozilla_t self:tcp_socket create_socket_perms;
|
|
Chris PeBenito |
296273 |
allow mozilla_t self:netlink_route_socket r_netlink_socket_perms;
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
# for bash - old mozilla binary
|
|
Chris PeBenito |
296273 |
can_exec(mozilla_t, mozilla_exec_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
# X access, Home files
|
|
Chris PeBenito |
296273 |
manage_dirs_pattern(mozilla_t, mozilla_home_t, mozilla_home_t)
|
|
Chris PeBenito |
296273 |
manage_files_pattern(mozilla_t, mozilla_home_t, mozilla_home_t)
|
|
Chris PeBenito |
296273 |
manage_lnk_files_pattern(mozilla_t, mozilla_home_t, mozilla_home_t)
|
|
Chris PeBenito |
296273 |
userdom_search_user_home_dirs(mozilla_t)
|
|
Chris PeBenito |
b77daa |
userdom_user_home_dir_filetrans(mozilla_t, mozilla_home_t, dir)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
# Mozpluggerrc
|
|
Chris PeBenito |
296273 |
allow mozilla_t mozilla_conf_t:file read_file_perms;
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
manage_files_pattern(mozilla_t, mozilla_tmpfs_t, mozilla_tmpfs_t)
|
|
Chris PeBenito |
296273 |
manage_lnk_files_pattern(mozilla_t, mozilla_tmpfs_t, mozilla_tmpfs_t)
|
|
Chris PeBenito |
296273 |
manage_fifo_files_pattern(mozilla_t, mozilla_tmpfs_t, mozilla_tmpfs_t)
|
|
Chris PeBenito |
296273 |
manage_sock_files_pattern(mozilla_t, mozilla_tmpfs_t, mozilla_tmpfs_t)
|
|
Chris PeBenito |
296273 |
fs_tmpfs_filetrans(mozilla_t, mozilla_tmpfs_t, { file lnk_file sock_file fifo_file })
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
kernel_read_kernel_sysctls(mozilla_t)
|
|
Chris PeBenito |
296273 |
kernel_read_network_state(mozilla_t)
|
|
Chris PeBenito |
296273 |
# Access /proc, sysctl
|
|
Chris PeBenito |
296273 |
kernel_read_system_state(mozilla_t)
|
|
Chris PeBenito |
296273 |
kernel_read_net_sysctls(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
b77daa |
# Look for plugins
|
|
Chris PeBenito |
296273 |
corecmd_list_bin(mozilla_t)
|
|
Chris PeBenito |
296273 |
# for bash - old mozilla binary
|
|
Chris PeBenito |
296273 |
corecmd_exec_shell(mozilla_t)
|
|
Chris PeBenito |
296273 |
corecmd_exec_bin(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
# Browse the web, connect to printer
|
|
Chris PeBenito |
296273 |
corenet_all_recvfrom_unlabeled(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_all_recvfrom_netlabel(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_tcp_sendrecv_generic_if(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_raw_sendrecv_generic_if(mozilla_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_sendrecv_generic_node(mozilla_t)
|
|
Chris PeBenito |
c12621 |
corenet_raw_sendrecv_generic_node(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_tcp_sendrecv_http_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_tcp_sendrecv_http_cache_port(mozilla_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_sendrecv_squid_port(mozilla_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_connect_flash_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_tcp_sendrecv_ftp_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_tcp_sendrecv_ipp_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_tcp_connect_http_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_tcp_connect_http_cache_port(mozilla_t)
|
|
Dan Walsh |
3eaa99 |
corenet_tcp_connect_squid_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_tcp_connect_ftp_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_tcp_connect_ipp_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_tcp_connect_generic_port(mozilla_t)
|
|
Chris PeBenito |
b77daa |
corenet_tcp_connect_soundd_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_sendrecv_http_client_packets(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_sendrecv_http_cache_client_packets(mozilla_t)
|
|
Dan Walsh |
3eaa99 |
corenet_sendrecv_squid_client_packets(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_sendrecv_ftp_client_packets(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_sendrecv_ipp_client_packets(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_sendrecv_generic_client_packets(mozilla_t)
|
|
Chris PeBenito |
296273 |
# Should not need other ports
|
|
Chris PeBenito |
296273 |
corenet_dontaudit_tcp_sendrecv_generic_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
corenet_dontaudit_tcp_bind_generic_port(mozilla_t)
|
|
Chris PeBenito |
06625d |
corenet_tcp_connect_speech_port(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
dev_read_urand(mozilla_t)
|
|
Chris PeBenito |
296273 |
dev_read_rand(mozilla_t)
|
|
Chris PeBenito |
296273 |
dev_write_sound(mozilla_t)
|
|
Chris PeBenito |
296273 |
dev_read_sound(mozilla_t)
|
|
Chris PeBenito |
296273 |
dev_dontaudit_rw_dri(mozilla_t)
|
|
Chris PeBenito |
296273 |
dev_getattr_sysfs_dirs(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
b77daa |
domain_dontaudit_read_all_domains_state(mozilla_t)
|
|
Chris PeBenito |
b77daa |
|
|
Chris PeBenito |
296273 |
files_read_etc_runtime_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
files_read_usr_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
files_read_etc_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
# /var/lib
|
|
Chris PeBenito |
296273 |
files_read_var_lib_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
# interacting with gstreamer
|
|
Chris PeBenito |
296273 |
files_read_var_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
files_read_var_symlinks(mozilla_t)
|
|
Chris PeBenito |
296273 |
files_dontaudit_getattr_boot_dirs(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
fs_search_auto_mountpoints(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_list_inotifyfs(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_rw_tmpfs_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
term_dontaudit_getattr_pty_dirs(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
logging_send_syslog_msg(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
miscfiles_read_fonts(mozilla_t)
|
|
Chris PeBenito |
296273 |
miscfiles_read_localization(mozilla_t)
|
|
Chris PeBenito |
3c1e8f |
miscfiles_dontaudit_setattr_fonts_dirs(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
# Browse the web, connect to printer
|
|
Chris PeBenito |
296273 |
sysnet_dns_name_resolve(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
3c1e8f |
userdom_use_user_ptys(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
xserver_user_x_domain_template(mozilla, mozilla_t, mozilla_tmpfs_t)
|
|
Chris PeBenito |
296273 |
xserver_dontaudit_read_xdm_tmp_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
xserver_dontaudit_getattr_xdm_tmp_sockets(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
tunable_policy(`allow_execmem',`
|
|
Chris PeBenito |
296273 |
allow mozilla_t self:process { execmem execstack };
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
tunable_policy(`use_nfs_home_dirs',`
|
|
Chris PeBenito |
296273 |
fs_manage_nfs_dirs(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_manage_nfs_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_manage_nfs_symlinks(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
tunable_policy(`use_samba_home_dirs',`
|
|
Chris PeBenito |
296273 |
fs_manage_cifs_dirs(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_manage_cifs_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_manage_cifs_symlinks(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
# Uploads, local html
|
|
Chris PeBenito |
296273 |
tunable_policy(`mozilla_read_content && use_nfs_home_dirs',`
|
|
Chris PeBenito |
296273 |
fs_list_auto_mountpoints(mozilla_t)
|
|
Chris PeBenito |
296273 |
files_list_home(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_read_nfs_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_read_nfs_symlinks(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
',`
|
|
Chris PeBenito |
296273 |
files_dontaudit_list_home(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_dontaudit_list_auto_mountpoints(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_dontaudit_read_nfs_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_dontaudit_list_nfs(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
tunable_policy(`mozilla_read_content && use_samba_home_dirs',`
|
|
Chris PeBenito |
296273 |
fs_list_auto_mountpoints(mozilla_t)
|
|
Chris PeBenito |
296273 |
files_list_home(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_read_cifs_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_read_cifs_symlinks(mozilla_t)
|
|
Chris PeBenito |
296273 |
',`
|
|
Chris PeBenito |
296273 |
files_dontaudit_list_home(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_dontaudit_list_auto_mountpoints(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_dontaudit_read_cifs_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_dontaudit_list_cifs(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
tunable_policy(`mozilla_read_content',`
|
|
Chris PeBenito |
296273 |
userdom_list_user_tmp(mozilla_t)
|
|
Chris PeBenito |
296273 |
userdom_read_user_tmp_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
userdom_read_user_tmp_symlinks(mozilla_t)
|
|
Chris PeBenito |
296273 |
userdom_read_user_home_content_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
userdom_read_user_home_content_symlinks(mozilla_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
ifdef(`enable_mls',`',`
|
|
Chris PeBenito |
296273 |
fs_search_removable(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_read_removable_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_read_removable_symlinks(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
',`
|
|
Chris PeBenito |
296273 |
files_dontaudit_list_tmp(mozilla_t)
|
|
Chris PeBenito |
296273 |
files_dontaudit_list_home(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_dontaudit_list_removable(mozilla_t)
|
|
Chris PeBenito |
296273 |
fs_dontaudit_read_removable_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_list_user_tmp(mozilla_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_read_user_tmp_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_list_user_home_dirs(mozilla_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_read_user_home_content_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
optional_policy(`
|
|
Chris PeBenito |
296273 |
apache_read_user_scripts(mozilla_t)
|
|
Chris PeBenito |
296273 |
apache_read_user_content(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
optional_policy(`
|
|
Chris PeBenito |
296273 |
automount_dontaudit_getattr_tmp_dirs(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
optional_policy(`
|
|
Chris PeBenito |
296273 |
cups_read_rw_config(mozilla_t)
|
|
Chris PeBenito |
296273 |
cups_dbus_chat(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
optional_policy(`
|
|
Chris PeBenito |
296273 |
dbus_system_bus_client(mozilla_t)
|
|
Chris PeBenito |
296273 |
dbus_session_bus_client(mozilla_t)
|
|
Chris PeBenito |
b77daa |
|
|
Chris PeBenito |
b77daa |
optional_policy(`
|
|
Chris PeBenito |
b77daa |
networkmanager_dbus_chat(mozilla_t)
|
|
Chris PeBenito |
b77daa |
')
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
optional_policy(`
|
|
Chris PeBenito |
296273 |
gnome_stream_connect_gconf(mozilla_t)
|
|
Chris PeBenito |
06625d |
gnome_manage_config(mozilla_t)
|
|
Dan Walsh |
3eaa99 |
gnome_manage_gconf_home_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
optional_policy(`
|
|
Chris PeBenito |
296273 |
java_domtrans(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
optional_policy(`
|
|
Chris PeBenito |
296273 |
lpd_domtrans_lpr(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
optional_policy(`
|
|
Chris PeBenito |
296273 |
mplayer_domtrans(mozilla_t)
|
|
Chris PeBenito |
296273 |
mplayer_read_user_home_files(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
optional_policy(`
|
|
Chris PeBenito |
296273 |
nscd_socket_use(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
optional_policy(`
|
|
Dan Walsh |
3eaa99 |
nsplugin_manage_rw(mozilla_t)
|
|
Dan Walsh |
3eaa99 |
nsplugin_manage_home_files(mozilla_t)
|
|
Dan Walsh |
3eaa99 |
')
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
optional_policy(`
|
|
Chris PeBenito |
3c1e8f |
pulseaudio_exec(mozilla_t)
|
|
Chris PeBenito |
3c1e8f |
pulseaudio_stream_connect(mozilla_t)
|
|
Chris PeBenito |
3c1e8f |
pulseaudio_manage_home_files(mozilla_t)
|
|
Chris PeBenito |
3c1e8f |
')
|
|
Chris PeBenito |
3c1e8f |
|
|
Chris PeBenito |
3c1e8f |
optional_policy(`
|
|
Chris PeBenito |
296273 |
thunderbird_domtrans(mozilla_t)
|
|
Chris PeBenito |
296273 |
')
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
########################################
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
# mozilla_plugin local policy
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
f5b49a |
allow mozilla_plugin_t self:process { setsched signal_perms execmem };
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
allow mozilla_plugin_t self:sem create_sem_perms;
|
|
Dan Walsh |
3eaa99 |
allow mozilla_plugin_t self:shm create_shm_perms;
|
|
Dan Walsh |
3eaa99 |
allow mozilla_plugin_t self:fifo_file manage_fifo_file_perms;
|
|
Dan Walsh |
3eaa99 |
allow mozilla_plugin_t self:unix_stream_socket { connectto create_stream_socket_perms };
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
read_files_pattern(mozilla_plugin_t, mozilla_home_t, mozilla_home_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
ef98a3 |
manage_dirs_pattern(mozilla_plugin_t, mozilla_plugin_tmp_t, mozilla_plugin_tmp_t)
|
|
Dan Walsh |
ef98a3 |
manage_files_pattern(mozilla_plugin_t, mozilla_plugin_tmp_t, mozilla_plugin_tmp_t)
|
|
Dan Walsh |
ef98a3 |
files_tmp_filetrans(mozilla_plugin_t, mozilla_plugin_tmp_t, { dir file })
|
|
Dan Walsh |
ef98a3 |
|
|
Dan Walsh |
f5b49a |
manage_files_pattern(mozilla_plugin_t, mozilla_plugin_tmpfs_t, mozilla_plugin_tmpfs_t)
|
|
Dan Walsh |
f5b49a |
manage_lnk_files_pattern(mozilla_plugin_t, mozilla_plugin_tmpfs_t, mozilla_plugin_tmpfs_t)
|
|
Dan Walsh |
f5b49a |
manage_fifo_files_pattern(mozilla_plugin_t, mozilla_plugin_tmpfs_t, mozilla_plugin_tmpfs_t)
|
|
Dan Walsh |
f5b49a |
manage_sock_files_pattern(mozilla_plugin_t, mozilla_plugin_tmpfs_t, mozilla_plugin_tmpfs_t)
|
|
Dan Walsh |
f5b49a |
fs_tmpfs_filetrans(mozilla_plugin_t, mozilla_plugin_tmpfs_t, { file lnk_file sock_file fifo_file })
|
|
Dan Walsh |
f5b49a |
|
|
Dan Walsh |
0b8f4c |
can_exec(mozilla_plugin_t, mozilla_exec_t)
|
|
Dan Walsh |
0b8f4c |
|
|
Dan Walsh |
3eaa99 |
kernel_read_kernel_sysctls(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
kernel_read_system_state(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
kernel_request_load_module(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
corecmd_exec_bin(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
corecmd_exec_shell(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
dev_read_urand(mozilla_plugin_t)
|
|
Dan Walsh |
f5b49a |
dev_read_video_dev(mozilla_plugin_t)
|
|
Dan Walsh |
f5b49a |
dev_read_sysfs(mozilla_plugin_t)
|
|
Dan Walsh |
0b8f4c |
dev_read_sound(mozilla_plugin_t)
|
|
Dan Walsh |
0b8f4c |
dev_write_sound(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
domain_use_interactive_fds(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
domain_dontaudit_read_all_domains_state(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
files_read_config_files(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
files_read_usr_files(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
dfe675 |
fs_getattr_tmpfs(mozilla_plugin_t)
|
|
Dan Walsh |
ef98a3 |
|
|
Dan Walsh |
3eaa99 |
miscfiles_read_localization(mozilla_plugin_t)
|
|
Dan Walsh |
f5b49a |
miscfiles_read_fonts(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
term_getattr_all_ttys(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
term_getattr_all_ptys(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
ef98a3 |
userdom_rw_user_tmpfs_files(mozilla_plugin_t)
|
|
Dan Walsh |
f5b49a |
userdom_stream_connect(mozilla_plugin_t)
|
|
Dan Walsh |
f5b49a |
userdom_dontaudit_use_user_ptys(mozilla_plugin_t)
|
|
Dan Walsh |
f5b49a |
|
|
Dan Walsh |
f5b49a |
optional_policy(`
|
|
Dan Walsh |
0b8f4c |
alsa_read_rw_config(mozilla_plugin_t)
|
|
Dan Walsh |
0b8f4c |
')
|
|
Dan Walsh |
0b8f4c |
|
|
Dan Walsh |
0b8f4c |
optional_policy(`
|
|
Dan Walsh |
f5b49a |
dbus_read_lib_files(mozilla_plugin_t)
|
|
Dan Walsh |
f5b49a |
')
|
|
Dan Walsh |
f5b49a |
|
|
Dan Walsh |
f5b49a |
optional_policy(`
|
|
Dan Walsh |
f5b49a |
gnome_manage_home_config(mozilla_plugin_t)
|
|
Dan Walsh |
5ef740 |
gnome_setattr_home_config(mozilla_plugin_t)
|
|
Dan Walsh |
f5b49a |
')
|
|
Dan Walsh |
ef98a3 |
|
|
Dan Walsh |
3eaa99 |
optional_policy(`
|
|
Dan Walsh |
3eaa99 |
nsplugin_domtrans(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
nsplugin_rw_exec(mozilla_plugin_t)
|
|
Dan Walsh |
da0733 |
nsplugin_manage_home_dirs(mozilla_plugin_t)
|
|
Dan Walsh |
f5b49a |
nsplugin_manage_home_files(mozilla_plugin_t)
|
|
Dan Walsh |
6ed3f1 |
nsplugin_signal(mozilla_plugin_t)
|
|
Dan Walsh |
f5b49a |
')
|
|
Dan Walsh |
f5b49a |
|
|
Dan Walsh |
f5b49a |
optional_policy(`
|
|
Dan Walsh |
f5b49a |
pulseaudio_rw_home_files(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
')
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
optional_policy(`
|
|
Dan Walsh |
3eaa99 |
xserver_read_xdm_pid(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
xserver_stream_connect(mozilla_plugin_t)
|
|
Dan Walsh |
0b8f4c |
xserver_use_user_fonts(mozilla_plugin_t)
|
|
Dan Walsh |
3eaa99 |
')
|