|
Dan Walsh |
3eaa99 |
policy_module(firewallgui,1.0.0)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
########################################
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
# Declarations
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
type firewallgui_t;
|
|
Dan Walsh |
3eaa99 |
type firewallgui_exec_t;
|
|
Dan Walsh |
3eaa99 |
dbus_system_domain(firewallgui_t, firewallgui_exec_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
type firewallgui_tmp_t;
|
|
Dan Walsh |
3eaa99 |
files_tmp_file(firewallgui_tmp_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
########################################
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
# firewallgui local policy
|
|
Dan Walsh |
3eaa99 |
#
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
fb5248 |
allow firewallgui_t self:capability { net_admin sys_rawio } ;
|
|
Dan Walsh |
3eaa99 |
allow firewallgui_t self:fifo_file rw_fifo_file_perms;
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
manage_files_pattern(firewallgui_t,firewallgui_tmp_t,firewallgui_tmp_t)
|
|
Dan Walsh |
3eaa99 |
manage_dirs_pattern(firewallgui_t,firewallgui_tmp_t,firewallgui_tmp_t)
|
|
Dan Walsh |
3eaa99 |
files_tmp_filetrans(firewallgui_t,firewallgui_tmp_t, { file dir })
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
kernel_read_system_state(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
kernel_read_network_state(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
kernel_rw_net_sysctls(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
kernel_rw_kernel_sysctl(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
kernel_rw_vm_sysctls(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
521289 |
corecmd_exec_shell(firewallgui_t)
|
|
Dan Walsh |
521289 |
corecmd_exec_bin(firewallgui_t)
|
|
Dan Walsh |
521289 |
consoletype_exec(firewallgui_t)
|
|
Dan Walsh |
521289 |
|
|
Dan Walsh |
521289 |
dev_read_urand(firewallgui_t)
|
|
Dan Walsh |
521289 |
dev_read_sysfs(firewallgui_t)
|
|
Dan Walsh |
521289 |
|
|
Dan Walsh |
521289 |
files_manage_system_conf_files(firewallgui_t)
|
|
Dan Walsh |
521289 |
files_etc_filetrans_system_conf(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
files_read_etc_files(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
files_read_usr_files(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
files_search_kernel_modules(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
files_list_kernel_modules(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
521289 |
iptables_domtrans(firewallgui_t)
|
|
Dan Walsh |
521289 |
iptables_initrc_domtrans(firewallgui_t)
|
|
Dan Walsh |
521289 |
|
|
Dan Walsh |
3eaa99 |
modutils_getattr_module_deps(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
521289 |
miscfiles_read_localization(firewallgui_t)
|
|
Dan Walsh |
521289 |
|
|
Dan Walsh |
521289 |
userdom_dontaudit_search_user_home_dirs(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
nscd_dontaudit_search_pid(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
nscd_socket_use(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
optional_policy(`
|
|
Dan Walsh |
3eaa99 |
gnome_read_gconf_home_files(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
')
|
|
Dan Walsh |
3eaa99 |
|
|
Dan Walsh |
3eaa99 |
optional_policy(`
|
|
Dan Walsh |
3eaa99 |
policykit_dbus_chat(firewallgui_t)
|
|
Dan Walsh |
3eaa99 |
')
|
|
Dan Walsh |
3eaa99 |
|