Chris PeBenito dce68d
Chris PeBenito 296273
policy_module(updfstab, 1.4.1)
Chris PeBenito dce68d
Chris PeBenito dce68d
########################################
Chris PeBenito dce68d
#
Chris PeBenito dce68d
# Declarations
Chris PeBenito dce68d
#
Chris PeBenito dce68d
Chris PeBenito dce68d
type updfstab_t;
Chris PeBenito dce68d
type updfstab_exec_t;
Chris PeBenito 0bfccd
init_system_domain(updfstab_t, updfstab_exec_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
########################################
Chris PeBenito dce68d
#
Chris PeBenito dce68d
# Local policy
Chris PeBenito dce68d
#
Chris PeBenito dce68d
Chris PeBenito dce68d
allow updfstab_t self:capability dac_override;
Chris PeBenito dce68d
dontaudit updfstab_t self:capability { sys_admin sys_tty_config };
Chris PeBenito dce68d
allow updfstab_t self:process signal_perms;
Chris PeBenito 0b36a2
allow updfstab_t self:fifo_file rw_fifo_file_perms;
Chris PeBenito dce68d
Chris PeBenito 1c1ac6
kernel_use_fds(updfstab_t)
Chris PeBenito 445522
kernel_read_kernel_sysctls(updfstab_t)
Chris PeBenito dce68d
kernel_dontaudit_write_kernel_sysctl(updfstab_t)
Chris PeBenito dce68d
# for /proc/partitions
Chris PeBenito dce68d
kernel_read_system_state(updfstab_t)
Chris PeBenito dce68d
# cjp: why is this required
Chris PeBenito dce68d
kernel_change_ring_buffer_level(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
dev_read_sysfs(updfstab_t)
Chris PeBenito dce68d
dev_manage_generic_symlinks(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
fs_getattr_xattr_fs(updfstab_t)
Chris PeBenito 9cca1c
fs_getattr_tmpfs(updfstab_t)
Chris PeBenito 4d851f
fs_getattr_tmpfs_dirs(updfstab_t)
Chris PeBenito dce68d
fs_search_auto_mountpoints(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
selinux_get_fs_mount(updfstab_t)
Chris PeBenito dce68d
selinux_validate_context(updfstab_t)
Chris PeBenito dce68d
selinux_compute_access_vector(updfstab_t)
Chris PeBenito dce68d
selinux_compute_create_context(updfstab_t)
Chris PeBenito dce68d
selinux_compute_relabel_context(updfstab_t)
Chris PeBenito dce68d
selinux_compute_user_contexts(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
storage_raw_read_fixed_disk(updfstab_t)
Chris PeBenito dce68d
storage_raw_write_fixed_disk(updfstab_t)
Chris PeBenito a525f2
storage_raw_read_removable_device(updfstab_t)
Chris PeBenito a525f2
storage_raw_write_removable_device(updfstab_t)
Chris PeBenito dce68d
storage_read_scsi_generic(updfstab_t)
Chris PeBenito dce68d
storage_write_scsi_generic(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
term_dontaudit_use_console(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
corecmd_exec_bin(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito 15722e
domain_use_interactive_fds(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
files_manage_mnt_files(updfstab_t)
Chris PeBenito dce68d
files_manage_mnt_dirs(updfstab_t)
Chris PeBenito dce68d
files_manage_mnt_symlinks(updfstab_t)
Chris PeBenito dce68d
files_manage_etc_files(updfstab_t)
Chris PeBenito dce68d
files_dontaudit_search_home(updfstab_t)
Chris PeBenito dce68d
# for /etc/mtab
Chris PeBenito dce68d
files_read_etc_runtime_files(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito 1c1ac6
init_use_fds(updfstab_t)
Chris PeBenito 1815ba
init_use_script_ptys(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
logging_send_syslog_msg(updfstab_t)
Chris PeBenito dce68d
logging_search_logs(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
miscfiles_read_localization(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito dce68d
seutil_read_config(updfstab_t)
Chris PeBenito dce68d
seutil_read_default_contexts(updfstab_t)
Chris PeBenito dce68d
seutil_read_file_contexts(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito 296273
userdom_dontaudit_search_user_home_content(updfstab_t)
Chris PeBenito 15722e
userdom_dontaudit_use_unpriv_user_fds(updfstab_t)
Chris PeBenito dce68d
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito dce68d
	auth_domtrans_pam_console(updfstab_t)
Chris PeBenito dce68d
')
Chris PeBenito dce68d
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito 6f81e1
	init_dbus_chat_script(updfstab_t)
Chris PeBenito 6f81e1
Chris PeBenito 296273
	dbus_system_bus_client(updfstab_t)
Chris PeBenito 0c3d17
')
Chris PeBenito 0c3d17
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito a3cf80
	fstools_getattr_swap_files(updfstab_t)
Chris PeBenito a3cf80
')
Chris PeBenito a3cf80
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito 704327
	hal_stream_connect(updfstab_t)
Chris PeBenito 9fd4b8
	hal_dbus_chat(updfstab_t)
Chris PeBenito 704327
')
Chris PeBenito 704327
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito 1815ba
	modutils_read_module_config(updfstab_t)
Chris PeBenito dce68d
	modutils_exec_insmod(updfstab_t)
Chris PeBenito 1815ba
	modutils_read_module_deps(updfstab_t)
Chris PeBenito dce68d
')
Chris PeBenito dce68d
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito 1815ba
	nscd_socket_use(updfstab_t)
Chris PeBenito a525f2
')
Chris PeBenito a525f2
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito dce68d
	seutil_sigchld_newrole(updfstab_t)
Chris PeBenito dce68d
')
Chris PeBenito dce68d
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito dce68d
	udev_read_db(updfstab_t)
Chris PeBenito dce68d
')