|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
cc9130 |
policy_module(lvm,1.5.4)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type clvmd_t;
|
|
Chris PeBenito |
17de1b |
type clvmd_exec_t;
|
|
Chris PeBenito |
17de1b |
init_daemon_domain(clvmd_t,clvmd_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type clvmd_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(clvmd_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type lvm_t;
|
|
Chris PeBenito |
e070dd |
type lvm_exec_t;
|
|
Chris PeBenito |
17de1b |
init_system_domain(lvm_t,lvm_exec_t)
|
|
Chris PeBenito |
17de1b |
# needs privowner because it assigns the identity system_u to device nodes
|
|
Chris PeBenito |
17de1b |
# but runs as the identity of the sysadmin
|
|
Chris PeBenito |
17de1b |
domain_obj_id_change_exemption(lvm_t)
|
|
Chris PeBenito |
17de1b |
role system_r types lvm_t;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type lvm_etc_t;
|
|
Chris PeBenito |
17de1b |
files_type(lvm_etc_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type lvm_lock_t;
|
|
Chris PeBenito |
17de1b |
files_lock_file(lvm_lock_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type lvm_metadata_t;
|
|
Chris PeBenito |
17de1b |
files_type(lvm_metadata_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
d6d16b |
type lvm_var_lib_t;
|
|
Chris PeBenito |
d6d16b |
files_type(lvm_var_lib_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
17de1b |
type lvm_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(lvm_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type lvm_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(lvm_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Cluster LVM daemon local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
6b19be |
allow clvmd_t self:capability { sys_admin mknod };
|
|
Chris PeBenito |
17de1b |
dontaudit clvmd_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow clvmd_t self:process signal_perms;
|
|
Chris PeBenito |
cc9130 |
dontaudit clvmd_t self:process ptrace;
|
|
Chris PeBenito |
17de1b |
allow clvmd_t self:socket create_socket_perms;
|
|
Chris PeBenito |
c0868a |
allow clvmd_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
17de1b |
allow clvmd_t self:unix_stream_socket { connectto create_stream_socket_perms };
|
|
Chris PeBenito |
17de1b |
allow clvmd_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow clvmd_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(clvmd_t,clvmd_var_run_t,clvmd_var_run_t)
|
|
Chris PeBenito |
17de1b |
files_pid_filetrans(clvmd_t,clvmd_var_run_t,file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
read_files_pattern(clvmd_t,lvm_metadata_t,lvm_metadata_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
kernel_read_system_state(clvmd_t)
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(clvmd_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
kernel_search_debugfs(clvmd_t)
|
|
Chris PeBenito |
6b19be |
kernel_dontaudit_getattr_core_if(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
corecmd_exec_shell(clvmd_t)
|
|
Chris PeBenito |
8021cb |
corecmd_getattr_bin_files(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
corenet_non_ipsec_sendrecv(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_if(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_if(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_raw_sendrecv_all_if(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_nodes(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_nodes(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_raw_sendrecv_all_nodes(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_all_nodes(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_reserved_port(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_dontaudit_tcp_bind_all_reserved_ports(clvmd_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_generic_server_packets(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
dev_manage_generic_chr_files(clvmd_t)
|
|
Chris PeBenito |
6b19be |
dev_rw_lvm_control(clvmd_t)
|
|
Chris PeBenito |
6b19be |
dev_dontaudit_getattr_all_blk_files(clvmd_t)
|
|
Chris PeBenito |
6b19be |
dev_dontaudit_getattr_all_chr_files(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
files_read_etc_files(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
files_list_usr(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(clvmd_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(clvmd_t)
|
|
Chris PeBenito |
6b19be |
fs_dontaudit_list_tmpfs(clvmd_t)
|
|
Chris PeBenito |
c5561c |
fs_dontaudit_read_removable_files(clvmd_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
storage_dontaudit_getattr_removable_dev(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
d6d16b |
storage_raw_read_fixed_disk(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
libs_use_ld_so(clvmd_t)
|
|
Chris PeBenito |
17de1b |
libs_use_shared_libs(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
seutil_dontaudit_search_config(clvmd_t)
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
sysnet_read_config(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(clvmd_t)
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_search_sysadm_home_dirs(clvmd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
d6d16b |
lvm_domtrans(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
lvm_read_config(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
17de1b |
ifdef(`targeted_policy', `
|
|
Chris PeBenito |
17de1b |
term_dontaudit_use_unallocated_ttys(clvmd_t)
|
|
Chris PeBenito |
17de1b |
term_dontaudit_use_generic_ptys(clvmd_t)
|
|
Chris PeBenito |
17de1b |
files_dontaudit_read_root_files(clvmd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
d6d16b |
ccs_stream_connect(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
')
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
optional_policy(`
|
|
Chris PeBenito |
6b19be |
gpm_dontaudit_getattr_gpmctl(clvmd_t)
|
|
Chris PeBenito |
6b19be |
')
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
nis_use_ypbind(clvmd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
d6d16b |
ricci_dontaudit_rw_modcluster_pipes(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
ricci_dontaudit_use_modcluster_fds(clvmd_t)
|
|
Chris PeBenito |
d6d16b |
')
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(clvmd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# LVM Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# DAC overrides and mknod for modifying /dev entries (vgmknodes)
|
|
Chris PeBenito |
17de1b |
# rawio needed for dmraid
|
|
Chris PeBenito |
465510 |
allow lvm_t self:capability { dac_override fowner ipc_lock sys_admin sys_nice mknod chown sys_resource sys_rawio };
|
|
Chris PeBenito |
17de1b |
dontaudit lvm_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow lvm_t self:process { sigchld sigkill sigstop signull signal };
|
|
Chris PeBenito |
17de1b |
# LVM will complain a lot if it cannot set its priority.
|
|
Chris PeBenito |
17de1b |
allow lvm_t self:process setsched;
|
|
Chris PeBenito |
17de1b |
allow lvm_t self:file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
allow lvm_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
allow lvm_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
a5e213 |
allow lvm_t self:netlink_kobject_uevent_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
6b19be |
allow lvm_t clvmd_t:unix_stream_socket connectto;
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
c0868a |
manage_dirs_pattern(lvm_t,lvm_tmp_t,lvm_tmp_t)
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(lvm_t,lvm_tmp_t,lvm_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(lvm_t, lvm_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# /lib/lvm-<version> holds the actual LVM binaries (and symlinks)
|
|
Chris PeBenito |
c0868a |
read_files_pattern(lvm_t,lvm_exec_t,lvm_exec_t)
|
|
Chris PeBenito |
c0868a |
read_lnk_files_pattern(lvm_t,lvm_exec_t,lvm_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# LVM is split into many individual binaries
|
|
Chris PeBenito |
17de1b |
can_exec(lvm_t, lvm_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
# Creating lock files
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(lvm_t,lvm_lock_t,lvm_lock_t)
|
|
Chris PeBenito |
17de1b |
files_lock_filetrans(lvm_t,lvm_lock_t,file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_dirs_pattern(lvm_t,lvm_var_lib_t,lvm_var_lib_t)
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(lvm_t,lvm_var_lib_t,lvm_var_lib_t)
|
|
Chris PeBenito |
d6d16b |
files_var_lib_filetrans(lvm_t,lvm_var_lib_t,{ dir file })
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
c0868a |
manage_dirs_pattern(lvm_t,lvm_var_run_t,lvm_var_run_t)
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(lvm_t,lvm_var_run_t,lvm_var_run_t)
|
|
Chris PeBenito |
c0868a |
manage_sock_files_pattern(lvm_t,lvm_var_run_t,lvm_var_run_t)
|
|
Chris PeBenito |
a5e213 |
files_pid_filetrans(lvm_t,lvm_var_run_t,{ file sock_file })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
read_files_pattern(lvm_t,lvm_etc_t,lvm_etc_t)
|
|
Chris PeBenito |
c0868a |
read_lnk_files_pattern(lvm_t,lvm_etc_t,lvm_etc_t)
|
|
Chris PeBenito |
17de1b |
# Write to /etc/lvm, /etc/lvmtab, /etc/lvmtab.d
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(lvm_t,lvm_metadata_t,lvm_metadata_t)
|
|
Chris PeBenito |
c0868a |
filetrans_pattern(lvm_t,lvm_etc_t,lvm_metadata_t,file)
|
|
Chris PeBenito |
17de1b |
files_etc_filetrans(lvm_t,lvm_metadata_t,file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_system_state(lvm_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(lvm_t)
|
|
Chris PeBenito |
17de1b |
# Read system variables in /proc/sys
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(lvm_t)
|
|
Chris PeBenito |
17de1b |
# it has no reason to need this
|
|
Chris PeBenito |
17de1b |
kernel_dontaudit_getattr_core_if(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
selinux_get_fs_mount(lvm_t)
|
|
Chris PeBenito |
17de1b |
selinux_validate_context(lvm_t)
|
|
Chris PeBenito |
17de1b |
selinux_compute_access_vector(lvm_t)
|
|
Chris PeBenito |
17de1b |
selinux_compute_create_context(lvm_t)
|
|
Chris PeBenito |
17de1b |
selinux_compute_relabel_context(lvm_t)
|
|
Chris PeBenito |
17de1b |
selinux_compute_user_contexts(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_create_generic_chr_files(lvm_t)
|
|
Chris PeBenito |
c5561c |
dev_delete_generic_dirs(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_read_rand(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_read_urand(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_rw_lvm_control(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_manage_generic_symlinks(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_relabel_generic_dev_dirs(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_manage_generic_blk_files(lvm_t)
|
|
Chris PeBenito |
17de1b |
# Read /sys/block. Device mapper metadata is kept there.
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(lvm_t)
|
|
Chris PeBenito |
17de1b |
# cjp: this has no effect since LVM does not
|
|
Chris PeBenito |
17de1b |
# have lnk_file relabelto for anything else.
|
|
Chris PeBenito |
17de1b |
# perhaps this should be blk_files?
|
|
Chris PeBenito |
17de1b |
dev_relabel_generic_symlinks(lvm_t)
|
|
Chris PeBenito |
17de1b |
# LVM (vgscan) scans for devices by stating every file in /dev and applying a regex...
|
|
Chris PeBenito |
17de1b |
dev_dontaudit_read_all_chr_files(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_dontaudit_read_all_blk_files(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_dontaudit_getattr_generic_chr_files(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_dontaudit_getattr_generic_blk_files(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_dontaudit_getattr_generic_pipes(lvm_t)
|
|
Chris PeBenito |
17de1b |
dev_create_generic_dirs(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_xattr_fs(lvm_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(lvm_t)
|
|
Chris PeBenito |
465510 |
fs_list_tmpfs(lvm_t)
|
|
Chris PeBenito |
17de1b |
fs_read_tmpfs_symlinks(lvm_t)
|
|
Chris PeBenito |
17de1b |
fs_dontaudit_read_removable_files(lvm_t)
|
|
Chris PeBenito |
6b19be |
fs_dontaudit_getattr_tmpfs_files(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
storage_relabel_fixed_disk(lvm_t)
|
|
Chris PeBenito |
17de1b |
storage_dontaudit_read_removable_device(lvm_t)
|
|
Chris PeBenito |
17de1b |
# LVM creates block devices in /dev/mapper or /dev/<vg>
|
|
Chris PeBenito |
17de1b |
# depending on its version
|
|
Chris PeBenito |
17de1b |
# LVM(2) needs to create directores (/dev/mapper, /dev/<vg>)
|
|
Chris PeBenito |
17de1b |
# and links from /dev/<vg> to /dev/mapper/<vg>-<lv>
|
|
Chris PeBenito |
17de1b |
# cjp: need create interface here for fixed disk create
|
|
Chris PeBenito |
17de1b |
storage_dev_filetrans_fixed_disk(lvm_t)
|
|
Chris PeBenito |
17de1b |
# Access raw devices and old /dev/lvm (c 109,0). Is this needed?
|
|
Chris PeBenito |
17de1b |
storage_manage_fixed_disk(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
6b19be |
term_getattr_all_user_ttys(lvm_t)
|
|
Chris PeBenito |
6b19be |
term_list_ptys(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
8021cb |
corecmd_exec_bin(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(lvm_t)
|
|
Chris PeBenito |
17de1b |
files_read_etc_runtime_files(lvm_t)
|
|
Chris PeBenito |
17de1b |
# for when /usr is not mounted:
|
|
Chris PeBenito |
17de1b |
files_dontaudit_search_isid_type_dirs(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
init_use_fds(lvm_t)
|
|
Chris PeBenito |
17de1b |
init_dontaudit_getattr_initctl(lvm_t)
|
|
Chris PeBenito |
17de1b |
init_use_script_ptys(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
libs_use_ld_so(lvm_t)
|
|
Chris PeBenito |
17de1b |
libs_use_shared_libs(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
seutil_read_config(lvm_t)
|
|
Chris PeBenito |
17de1b |
seutil_read_file_contexts(lvm_t)
|
|
Chris PeBenito |
17de1b |
seutil_search_default_contexts(lvm_t)
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
ifdef(`distro_redhat',`
|
|
Chris PeBenito |
17de1b |
# this is from the initrd:
|
|
Chris PeBenito |
17de1b |
files_rw_isid_type_dirs(lvm_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
ifdef(`targeted_policy', `
|
|
Chris PeBenito |
6b19be |
term_use_unallocated_ttys(lvm_t)
|
|
Chris PeBenito |
6b19be |
term_use_generic_ptys(lvm_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_dontaudit_read_root_files(lvm_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
bootloader_rw_tmp_files(lvm_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
d6d16b |
ccs_stream_connect(lvm_t)
|
|
Chris PeBenito |
d6d16b |
')
|
|
Chris PeBenito |
d6d16b |
|
|
Chris PeBenito |
d6d16b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
gpm_dontaudit_getattr_gpmctl(lvm_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(lvm_t)
|
|
Chris PeBenito |
17de1b |
')
|