Chris PeBenito 0c54fc
Chris PeBenito c12621
policy_module(dpkg, 1.6.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 0bfccd
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 c0868a
allow dpkg_t self:fifo_file rw_fifo_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 0bfccd
manage_dirs_pattern(dpkg_t, dpkg_tmp_t, dpkg_tmp_t)
Chris PeBenito 0bfccd
manage_files_pattern(dpkg_t, dpkg_tmp_t, dpkg_tmp_t)
Chris PeBenito 0c54fc
files_tmp_filetrans(dpkg_t, dpkg_tmp_t, { file dir })
Chris PeBenito 0c54fc
Chris PeBenito 0bfccd
manage_dirs_pattern(dpkg_t, dpkg_tmpfs_t, dpkg_tmpfs_t)
Chris PeBenito 0bfccd
manage_files_pattern(dpkg_t, dpkg_tmpfs_t, dpkg_tmpfs_t)
Chris PeBenito 0bfccd
manage_lnk_files_pattern(dpkg_t, dpkg_tmpfs_t, dpkg_tmpfs_t)
Chris PeBenito 0bfccd
manage_sock_files_pattern(dpkg_t, dpkg_tmpfs_t, dpkg_tmpfs_t)
Chris PeBenito 0bfccd
manage_fifo_files_pattern(dpkg_t, dpkg_tmpfs_t, dpkg_tmpfs_t)
Chris PeBenito 0bfccd
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 0bfccd
manage_files_pattern(dpkg_t, dpkg_var_lib_t, dpkg_var_lib_t)
Chris PeBenito 0bfccd
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 190066
corenet_all_recvfrom_unlabeled(dpkg_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(dpkg_t)
Chris PeBenito 668b30
corenet_tcp_sendrecv_generic_if(dpkg_t)
Chris PeBenito 668b30
corenet_raw_sendrecv_generic_if(dpkg_t)
Chris PeBenito 668b30
corenet_udp_sendrecv_generic_if(dpkg_t)
Chris PeBenito c12621
corenet_tcp_sendrecv_generic_node(dpkg_t)
Chris PeBenito c12621
corenet_raw_sendrecv_generic_node(dpkg_t)
Chris PeBenito c12621
corenet_udp_sendrecv_generic_node(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 f8233a
mls_file_read_all_levels(dpkg_t)
Chris PeBenito f8233a
mls_file_write_all_levels(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
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 e065ac
init_use_script_ptys(dpkg_t)
Chris PeBenito 0c54fc
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 296273
userdom_use_user_terminals(dpkg_t)
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 0b36a2
allow dpkg_t dpkg_var_lib_t:file mmap_file_perms;
Chris PeBenito 0c54fc
Chris PeBenito e065ac
optional_policy(`
Chris PeBenito e065ac
	apt_use_ptys(dpkg_t)
Chris PeBenito e065ac
')
Chris PeBenito e065ac
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
	nis_use_ypbind(dpkg_t)
Chris PeBenito 0c54fc
')
Chris PeBenito 0c54fc
Chris PeBenito 350b6a
optional_policy(`
Chris PeBenito 350b6a
	unconfined_domain(dpkg_t)
Chris PeBenito 350b6a
')
Chris PeBenito 350b6a
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 762d2c
seutil_domtrans_setfiles(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 ef659a
allow dpkg_script_t self:fifo_file rw_fifo_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 ef659a
allow dpkg_script_t dpkg_tmp_t:file read_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 ef659a
allow dpkg_script_t dpkg_script_tmpfs_t:lnk_file manage_lnk_file_perms;
Chris PeBenito ef659a
allow dpkg_script_t dpkg_script_tmpfs_t:sock_file manage_sock_file_perms;
Chris PeBenito ef659a
allow dpkg_script_t dpkg_script_tmpfs_t:fifo_file manage_fifo_file_perms;
Chris PeBenito 0bfccd
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 f8233a
mls_file_read_all_levels(dpkg_script_t)
Chris PeBenito f8233a
mls_file_write_all_levels(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_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 e065ac
init_use_script_fds(dpkg_script_t)
Chris PeBenito 0c54fc
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 762d2c
seutil_domtrans_setfiles(dpkg_script_t)
Chris PeBenito 0c54fc
Chris PeBenito 0c54fc
userdom_use_all_users_fds(dpkg_script_t)
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 e065ac
	apt_rw_pipes(dpkg_script_t)
Chris PeBenito e065ac
	apt_use_fds(dpkg_script_t)
Chris PeBenito e065ac
')
Chris PeBenito e065ac
Chris PeBenito e065ac
optional_policy(`
Chris PeBenito 350b6a
	bootloader_domtrans(dpkg_script_t)
Chris PeBenito 350b6a
')
Chris PeBenito 350b6a
Chris PeBenito 350b6a
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 350b6a
	unconfined_domain(dpkg_script_t)
Chris PeBenito 350b6a
')
Chris PeBenito 350b6a
Chris PeBenito 350b6a
optional_policy(`
Chris PeBenito 0c54fc
	usermanage_domtrans_groupadd(dpkg_script_t)
Chris PeBenito 0c54fc
	usermanage_domtrans_useradd(dpkg_script_t)
Chris PeBenito 0c54fc
')