|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
9d0c9b |
policy_module(dpkg,1.0.2)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
########################################
|
|
Chris PeBenito |
0c54fc |
#
|
|
Chris PeBenito |
0c54fc |
# Declarations
|
|
Chris PeBenito |
0c54fc |
#
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
type dpkg_t;
|
|
Chris PeBenito |
0c54fc |
type dpkg_exec_t;
|
|
Chris PeBenito |
0c54fc |
# dpkg can start/stop services
|
|
Chris PeBenito |
0c54fc |
init_system_domain(dpkg_t,dpkg_exec_t)
|
|
Chris PeBenito |
0c54fc |
# dpkg can change file labels, roles, IO
|
|
Chris PeBenito |
0c54fc |
domain_obj_id_change_exemption(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_role_change_exemption(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_system_change_exemption(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_interactive_fd(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
role system_r types dpkg_t;
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
# lockfile
|
|
Chris PeBenito |
0c54fc |
type dpkg_lock_t;
|
|
Chris PeBenito |
0c54fc |
files_type(dpkg_lock_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
type dpkg_tmp_t;
|
|
Chris PeBenito |
0c54fc |
files_tmp_file(dpkg_tmp_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
type dpkg_tmpfs_t;
|
|
Chris PeBenito |
0c54fc |
files_tmpfs_file(dpkg_tmpfs_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
# status files
|
|
Chris PeBenito |
0c54fc |
type dpkg_var_lib_t alias var_lib_dpkg_t;
|
|
Chris PeBenito |
0c54fc |
files_type(dpkg_var_lib_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
# package scripts
|
|
Chris PeBenito |
0c54fc |
type dpkg_script_t;
|
|
Chris PeBenito |
0c54fc |
domain_type(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
domain_entry_file(dpkg_t, dpkg_var_lib_t)
|
|
Chris PeBenito |
0c54fc |
corecmd_shell_entry_type(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
domain_obj_id_change_exemption(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
domain_system_change_exemption(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
domain_interactive_fd(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
role system_r types dpkg_script_t;
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
type dpkg_script_tmp_t;
|
|
Chris PeBenito |
0c54fc |
files_tmp_file(dpkg_script_tmp_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
type dpkg_script_tmpfs_t;
|
|
Chris PeBenito |
0c54fc |
files_tmpfs_file(dpkg_script_tmpfs_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
########################################
|
|
Chris PeBenito |
0c54fc |
#
|
|
Chris PeBenito |
0c54fc |
# dpkg Local policy
|
|
Chris PeBenito |
0c54fc |
#
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:capability { chown dac_override fowner fsetid setgid setuid kill sys_tty_config sys_nice sys_resource mknod linux_immutable };
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:process { setpgid fork getsched setfscreate };
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:fd use;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:unix_stream_socket rw_stream_socket_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:unix_dgram_socket sendto;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:unix_stream_socket connectto;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:udp_socket { connect create_socket_perms };
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:shm create_shm_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:sem create_sem_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:msgq create_msgq_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t self:msg { send receive };
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_lock_t:file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_tmp_t:dir manage_dir_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_tmp_t:file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
files_tmp_filetrans(dpkg_t, dpkg_tmp_t, { file dir })
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_tmpfs_t:dir manage_dir_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_tmpfs_t:file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_tmpfs_t:lnk_file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_tmpfs_t:sock_file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_tmpfs_t:fifo_file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
fs_tmpfs_filetrans(dpkg_t,dpkg_tmpfs_t,{ dir file lnk_file sock_file fifo_file })
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
# Access /var/lib/dpkg files
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_var_lib_t:file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_var_lib_t:dir rw_dir_perms;
|
|
Chris PeBenito |
0c54fc |
files_var_lib_filetrans(dpkg_t,dpkg_var_lib_t,dir)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
kernel_read_system_state(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
kernel_read_kernel_sysctls(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
fb63d0 |
corecmd_exec_all_executables(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
# TODO: do we really need all networking?
|
|
Chris PeBenito |
9d0c9b |
corenet_non_ipsec_sendrecv(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
corenet_tcp_sendrecv_all_if(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
corenet_raw_sendrecv_all_if(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
corenet_udp_sendrecv_all_if(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
corenet_tcp_sendrecv_all_nodes(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
corenet_raw_sendrecv_all_nodes(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
corenet_udp_sendrecv_all_nodes(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
corenet_tcp_sendrecv_all_ports(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
corenet_udp_sendrecv_all_ports(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
corenet_tcp_connect_all_ports(dpkg_t)
|
|
Chris PeBenito |
9d0c9b |
corenet_sendrecv_all_client_packets(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
dev_list_sysfs(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
dev_list_usbfs(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
dev_read_urand(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
#devices_manage_all_device_types(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
domain_read_all_domains_state(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_getattr_all_domains(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_dontaudit_ptrace_all_domains(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_use_interactive_fds(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_dontaudit_getattr_all_pipes(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_dontaudit_getattr_all_tcp_sockets(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_dontaudit_getattr_all_udp_sockets(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_dontaudit_getattr_all_packet_sockets(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_dontaudit_getattr_all_raw_sockets(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_dontaudit_getattr_all_stream_sockets(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_dontaudit_getattr_all_dgram_sockets(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
fs_manage_nfs_dirs(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
fs_manage_nfs_files(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
fs_manage_nfs_symlinks(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
fs_getattr_all_fs(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
fs_search_auto_mountpoints(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
mls_file_read_up(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
mls_file_write_down(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
mls_file_upgrade(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
selinux_get_fs_mount(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
selinux_validate_context(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
selinux_compute_access_vector(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
selinux_compute_create_context(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
selinux_compute_relabel_context(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
selinux_compute_user_contexts(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
storage_raw_write_fixed_disk(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
# for installing kernel packages
|
|
Chris PeBenito |
0c54fc |
storage_raw_read_fixed_disk(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
term_list_ptys(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
auth_relabel_all_files_except_shadow(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
auth_manage_all_files_except_shadow(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
auth_dontaudit_read_shadow(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
files_exec_etc_files(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
init_domtrans_script(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
libs_use_ld_so(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
libs_use_shared_libs(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
libs_exec_ld_so(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
libs_exec_lib_files(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
libs_domtrans_ldconfig(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
logging_send_syslog_msg(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
# allow compiling and loading new policy
|
|
Chris PeBenito |
0c54fc |
seutil_manage_src_policy(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
seutil_manage_bin_policy(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
sysnet_read_config(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
userdom_use_unpriv_users_fds(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
# transition to dpkg script:
|
|
Chris PeBenito |
0c54fc |
dpkg_domtrans_script(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
# since the scripts aren't labeled correctly yet...
|
|
Chris PeBenito |
0c54fc |
allow dpkg_t dpkg_var_lib_t:file execute;
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
0c54fc |
unconfined_domain(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
# TODO: allow?
|
|
Chris PeBenito |
bb7170 |
#optional_policy(`
|
|
Chris PeBenito |
0c54fc |
# cron_system_entry(dpkg_t,dpkg_exec_t)
|
|
Chris PeBenito |
0c54fc |
#')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0c54fc |
mount_send_nfs_client_request(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0c54fc |
nis_use_ypbind(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
# TODO: the following was copied from dpkg_script_t, and could probably
|
|
Chris PeBenito |
0c54fc |
# be removed again when dpkg_script_t is actually used...
|
|
Chris PeBenito |
0c54fc |
domain_signal_all_domains(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
domain_signull_all_domains(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
files_read_etc_runtime_files(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
files_exec_usr_files(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
miscfiles_read_localization(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
modutils_domtrans_depmod(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
modutils_domtrans_insmod(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
seutil_domtrans_loadpolicy(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
seutil_domtrans_restorecon(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
userdom_use_all_users_fds(dpkg_t)
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0c54fc |
mta_send_mail(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0c54fc |
usermanage_domtrans_groupadd(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
usermanage_domtrans_useradd(dpkg_t)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
########################################
|
|
Chris PeBenito |
0c54fc |
#
|
|
Chris PeBenito |
0c54fc |
# dpkg-script Local policy
|
|
Chris PeBenito |
0c54fc |
#
|
|
Chris PeBenito |
0c54fc |
# TODO: actually use dpkg_script_t
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:capability { chown dac_override dac_read_search fowner fsetid setgid setuid ipc_lock sys_chroot sys_nice mknod kill };
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:process ~{ ptrace setcurrent setexec setfscreate setrlimit execmem execstack execheap };
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:fd use;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:unix_stream_socket rw_stream_socket_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:unix_dgram_socket sendto;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:unix_stream_socket connectto;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:shm create_shm_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:sem create_sem_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:msgq create_msgq_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:msg { send receive };
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t dpkg_tmp_t:file r_file_perms;
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t dpkg_script_tmp_t:dir { manage_dir_perms mounton };
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t dpkg_script_tmp_t:file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
files_tmp_filetrans(dpkg_script_t, dpkg_script_tmp_t, { file dir })
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t dpkg_script_tmpfs_t:dir manage_dir_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t dpkg_script_tmpfs_t:file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t dpkg_script_tmpfs_t:lnk_file create_lnk_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t dpkg_script_tmpfs_t:sock_file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t dpkg_script_tmpfs_t:fifo_file manage_file_perms;
|
|
Chris PeBenito |
0c54fc |
fs_tmpfs_filetrans(dpkg_script_t,dpkg_script_tmpfs_t,{ dir file lnk_file sock_file fifo_file })
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
kernel_read_kernel_sysctls(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
kernel_read_system_state(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
fb63d0 |
corecmd_exec_all_executables(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
dev_list_sysfs(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
# ideally we would not need this
|
|
Chris PeBenito |
0c54fc |
dev_manage_generic_blk_files(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
dev_manage_generic_chr_files(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
dev_manage_all_blk_files(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
dev_manage_all_chr_files(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
domain_read_all_domains_state(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
domain_getattr_all_domains(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
domain_dontaudit_ptrace_all_domains(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
domain_use_interactive_fds(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
domain_signal_all_domains(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
domain_signull_all_domains(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
files_exec_etc_files(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
files_read_etc_runtime_files(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
files_exec_usr_files(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
fs_manage_nfs_files(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
fs_getattr_nfs(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
# why is this not using mount?
|
|
Chris PeBenito |
0c54fc |
fs_getattr_xattr_fs(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
fs_mount_xattr_fs(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
fs_unmount_xattr_fs(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
fs_search_auto_mountpoints(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
mls_file_read_up(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
mls_file_write_down(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
selinux_get_fs_mount(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
selinux_validate_context(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
selinux_compute_access_vector(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
selinux_compute_create_context(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
selinux_compute_relabel_context(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
selinux_compute_user_contexts(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
storage_raw_read_fixed_disk(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
storage_raw_write_fixed_disk(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
term_getattr_unallocated_ttys(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
term_list_ptys(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
term_use_all_terms(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
auth_dontaudit_getattr_shadow(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
# ideally we would not need this
|
|
Chris PeBenito |
0c54fc |
auth_manage_all_files_except_shadow(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
init_domtrans_script(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
libs_use_ld_so(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
libs_use_shared_libs(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
libs_exec_ld_so(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
libs_exec_lib_files(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
libs_domtrans_ldconfig(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
logging_send_syslog_msg(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
miscfiles_read_localization(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
modutils_domtrans_depmod(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
modutils_domtrans_insmod(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
seutil_domtrans_loadpolicy(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
seutil_domtrans_restorecon(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
userdom_use_all_users_fds(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
ifdef(`distro_redhat',`
|
|
Chris PeBenito |
0c54fc |
unconfined_domain(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
0c54fc |
unconfined_domain(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
',`
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0c54fc |
bootloader_domtrans(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
0c54fc |
tunable_policy(`allow_execmem',`
|
|
Chris PeBenito |
0c54fc |
allow dpkg_script_t self:process execmem;
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0c54fc |
mta_send_mail(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0c54fc |
nis_use_ypbind(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0c54fc |
usermanage_domtrans_groupadd(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
usermanage_domtrans_useradd(dpkg_script_t)
|
|
Chris PeBenito |
0c54fc |
')
|