|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
f7925f |
policy_module(pcscd,1.3.0)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
########################################
|
|
Chris PeBenito |
6b19be |
#
|
|
Chris PeBenito |
6b19be |
# Declarations
|
|
Chris PeBenito |
6b19be |
#
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
type pcscd_t;
|
|
Chris PeBenito |
6b19be |
type pcscd_exec_t;
|
|
Chris PeBenito |
6b19be |
domain_type(pcscd_t)
|
|
Chris PeBenito |
6b19be |
init_daemon_domain(pcscd_t, pcscd_exec_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
# pid files
|
|
Chris PeBenito |
6b19be |
type pcscd_var_run_t;
|
|
Chris PeBenito |
6b19be |
files_pid_file(pcscd_var_run_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
########################################
|
|
Chris PeBenito |
6b19be |
#
|
|
Chris PeBenito |
6b19be |
# pcscd local policy
|
|
Chris PeBenito |
6b19be |
#
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
allow pcscd_t self:capability { dac_override dac_read_search };
|
|
Chris PeBenito |
d534d3 |
allow pcscd_t self:process signal;
|
|
Chris PeBenito |
6b19be |
allow pcscd_t self:fifo_file { read write };
|
|
Chris PeBenito |
6b19be |
allow pcscd_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
6b19be |
allow pcscd_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
6b19be |
allow pcscd_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
manage_files_pattern(pcscd_t,pcscd_var_run_t,pcscd_var_run_t)
|
|
Chris PeBenito |
6b19be |
manage_sock_files_pattern(pcscd_t,pcscd_var_run_t,pcscd_var_run_t)
|
|
Chris PeBenito |
6b19be |
files_pid_filetrans(pcscd_t,pcscd_var_run_t, { file sock_file })
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(pcscd_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(pcscd_t)
|
|
Chris PeBenito |
6b19be |
corenet_tcp_sendrecv_all_if(pcscd_t)
|
|
Chris PeBenito |
6b19be |
corenet_tcp_sendrecv_all_nodes(pcscd_t)
|
|
Chris PeBenito |
6b19be |
corenet_tcp_sendrecv_all_ports(pcscd_t)
|
|
Chris PeBenito |
6b19be |
corenet_tcp_connect_http_port(pcscd_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
dev_rw_generic_usb_dev(pcscd_t)
|
|
Chris PeBenito |
6b19be |
dev_rw_usbfs(pcscd_t)
|
|
Chris PeBenito |
6b19be |
dev_search_sysfs(pcscd_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
files_read_etc_files(pcscd_t)
|
|
Chris PeBenito |
6b19be |
files_read_etc_runtime_files(pcscd_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
term_dontaudit_getattr_pty_dirs(pcscd_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
libs_use_ld_so(pcscd_t)
|
|
Chris PeBenito |
6b19be |
libs_use_shared_libs(pcscd_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
locallogin_use_fds(pcscd_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
logging_send_syslog_msg(pcscd_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
miscfiles_read_localization(pcscd_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
sysnet_dns_name_resolve(pcscd_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6b19be |
optional_policy(`
|
|
Chris PeBenito |
d534d3 |
openct_stream_connect(pcscd_t)
|
|
Chris PeBenito |
d534d3 |
openct_read_pid_files(pcscd_t)
|
|
Chris PeBenito |
d534d3 |
openct_signull(pcscd_t)
|
|
Chris PeBenito |
d534d3 |
')
|
|
Chris PeBenito |
d534d3 |
|
|
Chris PeBenito |
d534d3 |
optional_policy(`
|
|
Chris PeBenito |
6b19be |
rpm_use_script_fds(pcscd_t)
|
|
Chris PeBenito |
6b19be |
')
|