|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
f35fed |
policy_module(rpm,1.3.9)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
########################################
|
|
Chris PeBenito |
992aba |
#
|
|
Chris PeBenito |
992aba |
# Declarations
|
|
Chris PeBenito |
992aba |
#
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
37ff8f |
type rpm_t;
|
|
Chris PeBenito |
992aba |
type rpm_exec_t;
|
|
Chris PeBenito |
c9428d |
init_system_domain(rpm_t,rpm_exec_t)
|
|
Chris PeBenito |
1815ba |
domain_obj_id_change_exemption(rpm_t)
|
|
Chris PeBenito |
1815ba |
domain_role_change_exemption(rpm_t)
|
|
Chris PeBenito |
1815ba |
domain_system_change_exemption(rpm_t)
|
|
Chris PeBenito |
15722e |
domain_interactive_fd(rpm_t)
|
|
Chris PeBenito |
992aba |
role system_r types rpm_t;
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
type rpm_file_t;
|
|
Chris PeBenito |
8fd367 |
files_type(rpm_file_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
type rpm_tmp_t;
|
|
Chris PeBenito |
c9428d |
files_tmp_file(rpm_tmp_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
type rpm_tmpfs_t;
|
|
Chris PeBenito |
c9428d |
files_tmpfs_file(rpm_tmpfs_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
type rpm_log_t;
|
|
Chris PeBenito |
c9428d |
logging_log_file(rpm_log_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
type rpm_var_lib_t;
|
|
Chris PeBenito |
8fd367 |
files_type(rpm_var_lib_t)
|
|
Chris PeBenito |
992aba |
typealias rpm_var_lib_t alias var_lib_rpm_t;
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
3774e4 |
type rpm_script_t;
|
|
Chris PeBenito |
992aba |
type rpm_script_exec_t;
|
|
Chris PeBenito |
1815ba |
domain_obj_id_change_exemption(rpm_script_t)
|
|
Chris PeBenito |
1815ba |
domain_system_change_exemption(rpm_script_t)
|
|
Chris PeBenito |
c9428d |
corecmd_shell_entry_type(rpm_script_t)
|
|
Chris PeBenito |
c9428d |
domain_type(rpm_script_t)
|
|
Chris PeBenito |
2a3478 |
domain_entry_file(rpm_t,rpm_script_exec_t)
|
|
Chris PeBenito |
15722e |
domain_interactive_fd(rpm_script_t)
|
|
Chris PeBenito |
992aba |
role system_r types rpm_script_t;
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
type rpm_script_tmp_t;
|
|
Chris PeBenito |
c9428d |
files_tmp_file(rpm_script_tmp_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
type rpm_script_tmpfs_t;
|
|
Chris PeBenito |
c9428d |
files_tmpfs_file(rpm_script_tmpfs_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
########################################
|
|
Chris PeBenito |
992aba |
#
|
|
Chris PeBenito |
992aba |
# rpm Local policy
|
|
Chris PeBenito |
992aba |
#
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
9d3bdc |
allow rpm_t self:capability { chown dac_override fowner fsetid setgid setuid sys_chroot sys_tty_config mknod };
|
|
Chris PeBenito |
9d3bdc |
allow rpm_t self:process ~{ ptrace setcurrent setexec setfscreate setrlimit execmem execstack execheap };
|
|
Chris PeBenito |
992aba |
allow rpm_t self:process { getattr setexec setfscreate setrlimit };
|
|
Chris PeBenito |
992aba |
allow rpm_t self:fd use;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t self:unix_stream_socket rw_stream_socket_perms;
|
|
Chris PeBenito |
992aba |
allow rpm_t self:unix_dgram_socket sendto;
|
|
Chris PeBenito |
992aba |
allow rpm_t self:unix_stream_socket connectto;
|
|
Chris PeBenito |
992aba |
allow rpm_t self:udp_socket { connect };
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
0fd9dc |
allow rpm_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t self:shm create_shm_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t self:sem create_sem_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t self:msgq create_msgq_perms;
|
|
Chris PeBenito |
992aba |
allow rpm_t self:msg { send receive };
|
|
Chris PeBenito |
992aba |
allow rpm_t self:dir search;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t self:file rw_file_perms;;
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t rpm_tmp_t:dir create_dir_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t rpm_tmp_t:file create_file_perms;
|
|
Chris PeBenito |
103fe2 |
files_tmp_filetrans(rpm_t, rpm_tmp_t, { file dir })
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t rpm_tmpfs_t:dir create_dir_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t rpm_tmpfs_t:file create_file_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t rpm_tmpfs_t:lnk_file create_file_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t rpm_tmpfs_t:sock_file create_file_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t rpm_tmpfs_t:fifo_file create_file_perms;
|
|
Chris PeBenito |
103fe2 |
fs_tmpfs_filetrans(rpm_t,rpm_tmpfs_t,{ dir file lnk_file sock_file fifo_file })
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
# Access /var/lib/rpm files
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t rpm_var_lib_t:file create_file_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_t rpm_var_lib_t:dir rw_dir_perms;
|
|
Chris PeBenito |
103fe2 |
files_var_lib_filetrans(rpm_t,rpm_var_lib_t,dir)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
kernel_read_system_state(rpm_t)
|
|
Chris PeBenito |
445522 |
kernel_read_kernel_sysctls(rpm_t)
|
|
Chris PeBenito |
ebdc3b |
|
|
Chris PeBenito |
fb63d0 |
corecmd_exec_all_executables(rpm_t)
|
|
Chris PeBenito |
fb63d0 |
|
|
Chris PeBenito |
9d0c9b |
corenet_non_ipsec_sendrecv(rpm_t)
|
|
Chris PeBenito |
0fd9dc |
corenet_tcp_sendrecv_all_if(rpm_t)
|
|
Chris PeBenito |
0fd9dc |
corenet_raw_sendrecv_all_if(rpm_t)
|
|
Chris PeBenito |
0fd9dc |
corenet_udp_sendrecv_all_if(rpm_t)
|
|
Chris PeBenito |
0fd9dc |
corenet_tcp_sendrecv_all_nodes(rpm_t)
|
|
Chris PeBenito |
0fd9dc |
corenet_raw_sendrecv_all_nodes(rpm_t)
|
|
Chris PeBenito |
0fd9dc |
corenet_udp_sendrecv_all_nodes(rpm_t)
|
|
Chris PeBenito |
0fd9dc |
corenet_tcp_sendrecv_all_ports(rpm_t)
|
|
Chris PeBenito |
0fd9dc |
corenet_udp_sendrecv_all_ports(rpm_t)
|
|
Chris PeBenito |
2705f9 |
corenet_tcp_connect_all_ports(rpm_t)
|
|
Chris PeBenito |
9d0c9b |
corenet_sendrecv_all_client_packets(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
b24f35 |
dev_list_sysfs(rpm_t)
|
|
Chris PeBenito |
b24f35 |
dev_list_usbfs(rpm_t)
|
|
Karl MacMillan |
f0c985 |
dev_read_urand(rpm_t)
|
|
Chris PeBenito |
992aba |
#devices_manage_all_device_types(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
3774e4 |
fs_manage_nfs_dirs(rpm_t)
|
|
Chris PeBenito |
ab940a |
fs_manage_nfs_files(rpm_t)
|
|
Chris PeBenito |
d35c62 |
fs_manage_nfs_symlinks(rpm_t)
|
|
Chris PeBenito |
0fd9dc |
fs_getattr_all_fs(rpm_t)
|
|
Chris PeBenito |
ab940a |
fs_search_auto_mountpoints(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
bf080a |
mls_file_read_up(rpm_t)
|
|
Chris PeBenito |
bf080a |
mls_file_write_down(rpm_t)
|
|
Chris PeBenito |
bf080a |
mls_file_upgrade(rpm_t)
|
|
Chris PeBenito |
8cfa5a |
mls_file_downgrade(rpm_t)
|
|
Chris PeBenito |
bf080a |
|
|
Chris PeBenito |
b24f35 |
selinux_get_fs_mount(rpm_t)
|
|
Chris PeBenito |
b24f35 |
selinux_validate_context(rpm_t)
|
|
Chris PeBenito |
b24f35 |
selinux_compute_access_vector(rpm_t)
|
|
Chris PeBenito |
b24f35 |
selinux_compute_create_context(rpm_t)
|
|
Chris PeBenito |
b24f35 |
selinux_compute_relabel_context(rpm_t)
|
|
Chris PeBenito |
b24f35 |
selinux_compute_user_contexts(rpm_t)
|
|
Chris PeBenito |
b24f35 |
|
|
Chris PeBenito |
992aba |
storage_raw_write_fixed_disk(rpm_t)
|
|
Chris PeBenito |
992aba |
# for installing kernel packages
|
|
Chris PeBenito |
992aba |
storage_raw_read_fixed_disk(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
0fd9dc |
term_list_ptys(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
ebdc3b |
auth_relabel_all_files_except_shadow(rpm_t)
|
|
Chris PeBenito |
ebdc3b |
auth_manage_all_files_except_shadow(rpm_t)
|
|
Chris PeBenito |
c9428d |
auth_dontaudit_read_shadow(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
37ff8f |
# transition to rpm script:
|
|
Chris PeBenito |
1815ba |
rpm_domtrans_script(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
domain_read_all_domains_state(rpm_t)
|
|
Chris PeBenito |
ccc597 |
domain_getattr_all_domains(rpm_t)
|
|
Chris PeBenito |
ccc597 |
domain_dontaudit_ptrace_all_domains(rpm_t)
|
|
Chris PeBenito |
15722e |
domain_use_interactive_fds(rpm_t)
|
|
Chris PeBenito |
09741b |
domain_dontaudit_getattr_all_pipes(rpm_t)
|
|
Chris PeBenito |
09741b |
domain_dontaudit_getattr_all_tcp_sockets(rpm_t)
|
|
Chris PeBenito |
09741b |
domain_dontaudit_getattr_all_udp_sockets(rpm_t)
|
|
Chris PeBenito |
09741b |
domain_dontaudit_getattr_all_packet_sockets(rpm_t)
|
|
Chris PeBenito |
09741b |
domain_dontaudit_getattr_all_raw_sockets(rpm_t)
|
|
Chris PeBenito |
09741b |
domain_dontaudit_getattr_all_stream_sockets(rpm_t)
|
|
Chris PeBenito |
09741b |
domain_dontaudit_getattr_all_dgram_sockets(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
8fd367 |
files_exec_etc_files(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
init_domtrans_script(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
libs_use_ld_so(rpm_t)
|
|
Chris PeBenito |
c9428d |
libs_use_shared_libs(rpm_t)
|
|
Chris PeBenito |
c9428d |
libs_exec_ld_so(rpm_t)
|
|
Chris PeBenito |
c9428d |
libs_exec_lib_files(rpm_t)
|
|
Chris PeBenito |
c9428d |
libs_domtrans_ldconfig(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
logging_send_syslog_msg(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
# allow compiling and loading new policy
|
|
Chris PeBenito |
1815ba |
seutil_manage_src_policy(rpm_t)
|
|
Chris PeBenito |
1815ba |
seutil_manage_bin_policy(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
sysnet_read_config(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
103fe2 |
userdom_use_unpriv_users_fds(rpm_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
09741b |
ifdef(`distro_redhat',`
|
|
Chris PeBenito |
955019 |
unconfined_domain(rpm_t)
|
|
Chris PeBenito |
09741b |
')
|
|
Chris PeBenito |
09741b |
|
|
Chris PeBenito |
142e9f |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
955019 |
unconfined_domain(rpm_t)
|
|
Chris PeBenito |
3be48f |
',`
|
|
Chris PeBenito |
3be48f |
# cjp: these are here to stop type_transition
|
|
Chris PeBenito |
3be48f |
# conflicts since rpm_t is an alias of
|
|
Chris PeBenito |
3be48f |
# unconfined in the targeted policy
|
|
Chris PeBenito |
3be48f |
allow rpm_t rpm_log_t:file create_file_perms;
|
|
Chris PeBenito |
1c1ac6 |
logging_log_filetrans(rpm_t,rpm_log_t,file)
|
|
Chris PeBenito |
142e9f |
')
|
|
Chris PeBenito |
142e9f |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
783b38 |
cron_system_entry(rpm_t,rpm_exec_t)
|
|
Chris PeBenito |
783b38 |
')
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
ab940a |
nis_use_ypbind(rpm_t)
|
|
Chris PeBenito |
ab940a |
')
|
|
Chris PeBenito |
ab940a |
|
|
Chris PeBenito |
992aba |
ifdef(`TODO',`
|
|
Chris PeBenito |
992aba |
# read/write/create any files in the system
|
|
Chris PeBenito |
992aba |
dontaudit rpm_t domain:{ socket unix_dgram_socket udp_socket unix_stream_socket tcp_socket fifo_file rawip_socket packet_socket } getattr;
|
|
Chris PeBenito |
992aba |
allow rpm_t ttyfile:chr_file unlink;
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
# needs rw permission to the directory for an rpm package that includes a mount
|
|
Chris PeBenito |
992aba |
# point
|
|
Chris PeBenito |
992aba |
allow rpm_t fs_type:dir { setattr rw_dir_perms };
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
allow rpm_t mount_t:tcp_socket write;
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
allow rpm_t rpc_pipefs_t:dir search;
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
992aba |
allow rpm_t sysadm_gph_t:fd use;
|
|
Chris PeBenito |
992aba |
')
|
|
Chris PeBenito |
992aba |
') dnl endif TODO
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
########################################
|
|
Chris PeBenito |
992aba |
#
|
|
Chris PeBenito |
992aba |
# rpm-script Local policy
|
|
Chris PeBenito |
992aba |
#
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
allow rpm_script_t self:capability { chown dac_override dac_read_search fowner fsetid setgid setuid ipc_lock sys_chroot sys_nice mknod kill };
|
|
Chris PeBenito |
9d3bdc |
allow rpm_script_t self:process ~{ ptrace setcurrent setexec setfscreate setrlimit execmem execstack execheap };
|
|
Chris PeBenito |
992aba |
allow rpm_script_t self:fd use;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t self:unix_stream_socket rw_stream_socket_perms;
|
|
Chris PeBenito |
992aba |
allow rpm_script_t self:unix_dgram_socket sendto;
|
|
Chris PeBenito |
992aba |
allow rpm_script_t self:unix_stream_socket connectto;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t self:shm create_shm_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t self:sem create_sem_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t self:msgq create_msgq_perms;
|
|
Chris PeBenito |
992aba |
allow rpm_script_t self:msg { send receive };
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t rpm_tmp_t:file r_file_perms;
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
allow rpm_script_t rpm_script_tmp_t:dir mounton;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t rpm_script_tmp_t:dir create_dir_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t rpm_script_tmp_t:file create_file_perms;
|
|
Chris PeBenito |
103fe2 |
files_tmp_filetrans(rpm_script_t, rpm_script_tmp_t, { file dir })
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
allow rpm_script_t rpm_script_tmpfs_t:dir create_dir_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t rpm_script_tmpfs_t:file create_file_perms;
|
|
Chris PeBenito |
c9428d |
allow rpm_script_t rpm_script_tmpfs_t:lnk_file create_lnk_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t rpm_script_tmpfs_t:sock_file create_file_perms;
|
|
Chris PeBenito |
dc67f7 |
allow rpm_script_t rpm_script_tmpfs_t:fifo_file create_file_perms;
|
|
Chris PeBenito |
103fe2 |
fs_tmpfs_filetrans(rpm_script_t,rpm_script_tmpfs_t,{ dir file lnk_file sock_file fifo_file })
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
df00b2 |
allow rpm_t rpm_script_t:fd use;
|
|
Chris PeBenito |
df00b2 |
allow rpm_script_t rpm_t:fd use;
|
|
Chris PeBenito |
df00b2 |
allow rpm_script_t rpm_t:fifo_file rw_file_perms;
|
|
Chris PeBenito |
df00b2 |
allow rpm_script_t rpm_t:process sigchld;
|
|
Chris PeBenito |
df00b2 |
|
|
Chris PeBenito |
445522 |
kernel_read_kernel_sysctls(rpm_script_t)
|
|
Chris PeBenito |
992aba |
kernel_read_system_state(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
b24f35 |
dev_list_sysfs(rpm_script_t)
|
|
Chris PeBenito |
b24f35 |
|
|
Chris PeBenito |
32e53a |
# ideally we would not need this
|
|
Chris PeBenito |
207c47 |
dev_manage_generic_blk_files(rpm_script_t)
|
|
Chris PeBenito |
207c47 |
dev_manage_generic_chr_files(rpm_script_t)
|
|
Karl MacMillan |
f0c985 |
dev_manage_all_blk_files(rpm_script_t)
|
|
Karl MacMillan |
f0c985 |
dev_manage_all_chr_files(rpm_script_t)
|
|
Chris PeBenito |
32e53a |
|
|
Chris PeBenito |
763c44 |
fs_manage_nfs_files(rpm_script_t)
|
|
Chris PeBenito |
0fd9dc |
fs_getattr_nfs(rpm_script_t)
|
|
Chris PeBenito |
992aba |
# why is this not using mount?
|
|
Chris PeBenito |
0fd9dc |
fs_getattr_xattr_fs(rpm_script_t)
|
|
Chris PeBenito |
0fd9dc |
fs_mount_xattr_fs(rpm_script_t)
|
|
Chris PeBenito |
0fd9dc |
fs_unmount_xattr_fs(rpm_script_t)
|
|
Chris PeBenito |
ab940a |
fs_search_auto_mountpoints(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
bf080a |
mls_file_read_up(rpm_script_t)
|
|
Chris PeBenito |
bf080a |
mls_file_write_down(rpm_script_t)
|
|
Chris PeBenito |
bf080a |
|
|
Chris PeBenito |
b24f35 |
selinux_get_fs_mount(rpm_script_t)
|
|
Chris PeBenito |
b24f35 |
selinux_validate_context(rpm_script_t)
|
|
Chris PeBenito |
b24f35 |
selinux_compute_access_vector(rpm_script_t)
|
|
Chris PeBenito |
b24f35 |
selinux_compute_create_context(rpm_script_t)
|
|
Chris PeBenito |
b24f35 |
selinux_compute_relabel_context(rpm_script_t)
|
|
Chris PeBenito |
b24f35 |
selinux_compute_user_contexts(rpm_script_t)
|
|
Chris PeBenito |
b24f35 |
|
|
Chris PeBenito |
992aba |
storage_raw_read_fixed_disk(rpm_script_t)
|
|
Chris PeBenito |
992aba |
storage_raw_write_fixed_disk(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
0fd9dc |
term_getattr_unallocated_ttys(rpm_script_t)
|
|
Chris PeBenito |
0fd9dc |
term_list_ptys(rpm_script_t)
|
|
Chris PeBenito |
51a89c |
term_use_all_terms(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
auth_dontaudit_getattr_shadow(rpm_script_t)
|
|
Chris PeBenito |
efd8ed |
# ideally we would not need this
|
|
Chris PeBenito |
c9428d |
auth_manage_all_files_except_shadow(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
fb63d0 |
corecmd_exec_all_executables(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
domain_read_all_domains_state(rpm_script_t)
|
|
Chris PeBenito |
ccc597 |
domain_getattr_all_domains(rpm_script_t)
|
|
Chris PeBenito |
ccc597 |
domain_dontaudit_ptrace_all_domains(rpm_script_t)
|
|
Chris PeBenito |
15722e |
domain_use_interactive_fds(rpm_script_t)
|
|
Chris PeBenito |
992aba |
domain_signal_all_domains(rpm_script_t)
|
|
Chris PeBenito |
992aba |
domain_signull_all_domains(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
8fd367 |
files_exec_etc_files(rpm_script_t)
|
|
Chris PeBenito |
c9428d |
files_read_etc_runtime_files(rpm_script_t)
|
|
Chris PeBenito |
ebdc3b |
files_exec_usr_files(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
init_domtrans_script(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
libs_use_ld_so(rpm_script_t)
|
|
Chris PeBenito |
c9428d |
libs_use_shared_libs(rpm_script_t)
|
|
Chris PeBenito |
c9428d |
libs_exec_ld_so(rpm_script_t)
|
|
Chris PeBenito |
c9428d |
libs_exec_lib_files(rpm_script_t)
|
|
Chris PeBenito |
c9428d |
libs_domtrans_ldconfig(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
logging_send_syslog_msg(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
miscfiles_read_localization(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
c9428d |
modutils_domtrans_depmod(rpm_script_t)
|
|
Chris PeBenito |
c9428d |
modutils_domtrans_insmod(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
1815ba |
seutil_domtrans_loadpolicy(rpm_script_t)
|
|
Chris PeBenito |
5e0da6 |
seutil_domtrans_restorecon(rpm_script_t)
|
|
Chris PeBenito |
a3cf80 |
seutil_domtrans_semanage(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
15722e |
userdom_use_all_users_fds(rpm_script_t)
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
09741b |
ifdef(`distro_redhat',`
|
|
Chris PeBenito |
955019 |
unconfined_domain(rpm_script_t)
|
|
Chris PeBenito |
09741b |
')
|
|
Chris PeBenito |
09741b |
|
|
Chris PeBenito |
142e9f |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
955019 |
unconfined_domain(rpm_script_t)
|
|
Chris PeBenito |
522b59 |
|
|
Chris PeBenito |
522b59 |
optional_policy(`
|
|
Chris PeBenito |
522b59 |
java_domtrans(rpm_script_t)
|
|
Chris PeBenito |
522b59 |
')
|
|
Chris PeBenito |
522b59 |
|
|
Chris PeBenito |
522b59 |
optional_policy(`
|
|
Chris PeBenito |
522b59 |
mono_domtrans(rpm_script_t)
|
|
Chris PeBenito |
522b59 |
')
|
|
Chris PeBenito |
2dbd38 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
2dbd38 |
unconfined_domtrans(rpm_script_t)
|
|
Chris PeBenito |
704327 |
')
|
|
Chris PeBenito |
b24f35 |
')
|
|
Chris PeBenito |
b24f35 |
|
|
Chris PeBenito |
bf080a |
ifdef(`distro_redhat',`
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
bf080a |
mta_send_mail(rpm_script_t)
|
|
Chris PeBenito |
bf080a |
')
|
|
Chris PeBenito |
bf080a |
')
|
|
Chris PeBenito |
bf080a |
|
|
Chris PeBenito |
3774e4 |
tunable_policy(`allow_execmem',`
|
|
Chris PeBenito |
3774e4 |
allow rpm_script_t self:process execmem;
|
|
Chris PeBenito |
3774e4 |
')
|
|
Chris PeBenito |
3774e4 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
2dbd38 |
bootloader_domtrans(rpm_script_t)
|
|
Chris PeBenito |
2dbd38 |
')
|
|
Chris PeBenito |
2dbd38 |
|
|
Chris PeBenito |
2dbd38 |
optional_policy(`
|
|
Chris PeBenito |
ab940a |
nis_use_ypbind(rpm_script_t)
|
|
Chris PeBenito |
992aba |
')
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
b24f35 |
usermanage_domtrans_groupadd(rpm_script_t)
|
|
Chris PeBenito |
b24f35 |
usermanage_domtrans_useradd(rpm_script_t)
|
|
Chris PeBenito |
b24f35 |
')
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
b24f35 |
ifdef(`TODO',`
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
dc67f7 |
can_exec(rpm_script_t,printconf_t)
|
|
Chris PeBenito |
992aba |
')
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
dc67f7 |
allow cupsd_t rpm_var_lib_t:dir r_dir_perms;
|
|
Chris PeBenito |
dc67f7 |
allow cupsd_t rpm_var_lib_t:file r_file_perms;
|
|
Chris PeBenito |
dc67f7 |
allow cupsd_t rpb_var_lib_t:lnk_file r_file_perms;
|
|
Chris PeBenito |
dc67f7 |
allow cupsd_t initrc_exec_t:file r_file_perms;
|
|
Chris PeBenito |
992aba |
domain_auto_trans(rpm_script_t, cupsd_exec_t, cupsd_t)
|
|
Chris PeBenito |
992aba |
')
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
992aba |
domain_auto_trans(rpm_script_t, ssh_agent_exec_t, sysadm_ssh_agent_t)
|
|
Chris PeBenito |
992aba |
')
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
992aba |
domain_auto_trans(rpm_t, prelink_exec_t, prelink_t)
|
|
Chris PeBenito |
992aba |
')
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
ifdef(`hide_broken_symptoms', `
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
b24f35 |
domain_trans(rpm_t, pam_console_exec_t, rpm_script_t)
|
|
Chris PeBenito |
b24f35 |
')
|
|
Chris PeBenito |
992aba |
')
|
|
Chris PeBenito |
992aba |
|
|
Chris PeBenito |
992aba |
') dnl end TODO
|