Dan Walsh 18549c
policy_module(kdumpgui, 1.0.0)
Jeremy Solt 46fc0d
Jeremy Solt 46fc0d
########################################
Jeremy Solt 46fc0d
#
Jeremy Solt 46fc0d
# Declarations
Jeremy Solt 46fc0d
#
Jeremy Solt 46fc0d
Jeremy Solt 46fc0d
type kdumpgui_t;
Jeremy Solt 46fc0d
type kdumpgui_exec_t;
Jeremy Solt 46fc0d
dbus_system_domain(kdumpgui_t, kdumpgui_exec_t)
Jeremy Solt 46fc0d
Jeremy Solt 46fc0d
######################################
Jeremy Solt 46fc0d
#
Jeremy Solt 46fc0d
# system-config-kdump local policy
Jeremy Solt 46fc0d
#
Jeremy Solt 46fc0d
Dan Walsh 3eaa99
allow kdumpgui_t self:capability { net_admin sys_admin sys_rawio };
Jeremy Solt 46fc0d
allow kdumpgui_t self:fifo_file rw_fifo_file_perms;
Jeremy Solt 46fc0d
allow kdumpgui_t self:netlink_kobject_uevent_socket create_socket_perms;
Jeremy Solt 46fc0d
Dan Walsh 3eaa99
kernel_read_system_state(kdumpgui_t)
Dan Walsh 3eaa99
kernel_read_network_state(kdumpgui_t)
Dan Walsh 3eaa99
Dan Walsh 18549c
corecmd_exec_bin(kdumpgui_t)
Dan Walsh 18549c
corecmd_exec_shell(kdumpgui_t)
Jeremy Solt 46fc0d
Jeremy Solt 46fc0d
dev_dontaudit_getattr_all_chr_files(kdumpgui_t)
Jeremy Solt 46fc0d
dev_read_sysfs(kdumpgui_t)
Jeremy Solt 46fc0d
Dan Walsh 3eaa99
files_manage_boot_files(kdumpgui_t)
Dan Walsh 3eaa99
files_manage_boot_symlinks(kdumpgui_t)
Dan Walsh 3eaa99
# Needed for running chkconfig
Dan Walsh 3eaa99
files_manage_etc_symlinks(kdumpgui_t)
Dan Walsh 18549c
# for blkid.tab
Dan Walsh 18549c
files_manage_etc_runtime_files(kdumpgui_t)
Dan Walsh 18549c
files_etc_filetrans_etc_runtime(kdumpgui_t, file)
Dan Walsh 3eaa99
files_read_usr_files(kdumpgui_t)
Jeremy Solt 46fc0d
Dan Walsh 18549c
storage_raw_read_fixed_disk(kdumpgui_t)
Dan Walsh 18549c
storage_raw_write_fixed_disk(kdumpgui_t)
Dan Walsh 18549c
Jeremy Solt 46fc0d
auth_use_nsswitch(kdumpgui_t)
Jeremy Solt 46fc0d
Dan Walsh 18549c
consoletype_exec(kdumpgui_t)
Dan Walsh 18549c
Dan Walsh 18549c
kdump_manage_config(kdumpgui_t)
Dan Walsh 18549c
kdump_initrc_domtrans(kdumpgui_t)
Dan Walsh 18549c
Jeremy Solt 46fc0d
logging_send_syslog_msg(kdumpgui_t)
Jeremy Solt 46fc0d
Jeremy Solt 46fc0d
miscfiles_read_localization(kdumpgui_t)
Jeremy Solt 46fc0d
Jeremy Solt 46fc0d
init_dontaudit_read_all_script_files(kdumpgui_t)
Jeremy Solt 46fc0d
Dan Walsh 3eaa99
userdom_dontaudit_search_admin_dir(kdumpgui_t)
Dan Walsh 3eaa99
Dan Walsh 3eaa99
optional_policy(`
Dan Walsh 18549c
	dev_rw_lvm_control(kdumpgui_t)
Dan Walsh 3eaa99
')
Dan Walsh 3eaa99
Jeremy Solt 46fc0d
optional_policy(`
Dan Walsh 3eaa99
	gnome_dontaudit_search_config(kdumpgui_t)
Jeremy Solt 46fc0d
')
Jeremy Solt 46fc0d
Jeremy Solt 46fc0d
optional_policy(`
Dan Walsh 18549c
	policykit_dbus_chat(kdumpgui_t)
Jeremy Solt 46fc0d
')