|
Chris PeBenito |
fee486 |
policy_module(pcscd, 1.6.1)
|
|
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 |
0b36a2 |
allow pcscd_t self:fifo_file rw_fifo_file_perms;
|
|
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 |
8f800d |
manage_dirs_pattern(pcscd_t, pcscd_var_run_t, pcscd_var_run_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(pcscd_t, pcscd_var_run_t, pcscd_var_run_t)
|
|
Chris PeBenito |
6df09c |
manage_fifo_files_pattern(pcscd_t, pcscd_var_run_t, pcscd_var_run_t)
|
|
Chris PeBenito |
0bfccd |
manage_sock_files_pattern(pcscd_t, pcscd_var_run_t, pcscd_var_run_t)
|
|
Chris PeBenito |
8f800d |
files_pid_filetrans(pcscd_t, pcscd_var_run_t, { file sock_file dir })
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
6df09c |
kernel_read_system_state(pcscd_t)
|
|
Chris PeBenito |
6df09c |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(pcscd_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(pcscd_t)
|
|
Chris PeBenito |
668b30 |
corenet_tcp_sendrecv_generic_if(pcscd_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_sendrecv_generic_node(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 |
6df09c |
dev_rw_smartcard(pcscd_t)
|
|
Chris PeBenito |
6b19be |
dev_rw_usbfs(pcscd_t)
|
|
Jeremy Solt |
dc1db5 |
dev_read_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 |
e82895 |
term_use_unallocated_ttys(pcscd_t)
|
|
Chris PeBenito |
6b19be |
term_dontaudit_getattr_pty_dirs(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 |
8f800d |
dbus_system_bus_client(pcscd_t)
|
|
Chris PeBenito |
8f800d |
|
|
Chris PeBenito |
8f800d |
optional_policy(`
|
|
Chris PeBenito |
8f800d |
hal_dbus_chat(pcscd_t)
|
|
Chris PeBenito |
8f800d |
')
|
|
Chris PeBenito |
8f800d |
')
|
|
Chris PeBenito |
8f800d |
|
|
Chris PeBenito |
8f800d |
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 |
')
|