|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
c12621 |
policy_module(oident, 2.0.2)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
########################################
|
|
Chris PeBenito |
73edbc |
#
|
|
Chris PeBenito |
73edbc |
# Oident daemon private declarations
|
|
Chris PeBenito |
73edbc |
#
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
type oidentd_t;
|
|
Chris PeBenito |
73edbc |
type oidentd_exec_t;
|
|
Chris PeBenito |
73edbc |
init_daemon_domain(oidentd_t, oidentd_exec_t)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
296273 |
type oidentd_home_t;
|
|
Chris PeBenito |
296273 |
typealias oidentd_home_t alias { oidentd_user_content_t oidentd_staff_content_t oidentd_sysadm_content_t };
|
|
Chris PeBenito |
296273 |
typealias oidentd_home_t alias { oidentd_secadm_content_t oidentd_auditadm_content_t };
|
|
Chris PeBenito |
296273 |
userdom_user_home_content(oidentd_home_t)
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
73edbc |
type oidentd_initrc_exec_t;
|
|
Chris PeBenito |
73edbc |
init_script_file(oidentd_initrc_exec_t)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
type oidentd_config_t;
|
|
Chris PeBenito |
73edbc |
files_config_file(oidentd_config_t)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
########################################
|
|
Chris PeBenito |
73edbc |
#
|
|
Chris PeBenito |
73edbc |
# Oident daemon private policy
|
|
Chris PeBenito |
73edbc |
#
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
allow oidentd_t self:capability { setuid setgid };
|
|
Chris PeBenito |
73edbc |
allow oidentd_t self:netlink_route_socket { write getattr read bind create nlmsg_read };
|
|
Chris PeBenito |
73edbc |
allow oidentd_t self:netlink_tcpdiag_socket { write read create nlmsg_read };
|
|
Chris PeBenito |
73edbc |
allow oidentd_t self:tcp_socket { setopt read bind create accept write getattr listen };
|
|
Chris PeBenito |
73edbc |
allow oidentd_t self:udp_socket { write read create connect getattr ioctl };
|
|
Chris PeBenito |
73edbc |
allow oidentd_t self:unix_dgram_socket { create connect };
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
allow oidentd_t oidentd_config_t:file read_file_perms;
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
corenet_all_recvfrom_unlabeled(oidentd_t)
|
|
Chris PeBenito |
73edbc |
corenet_all_recvfrom_netlabel(oidentd_t)
|
|
Chris PeBenito |
668b30 |
corenet_tcp_sendrecv_generic_if(oidentd_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_sendrecv_generic_node(oidentd_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_bind_generic_node(oidentd_t)
|
|
Chris PeBenito |
73edbc |
corenet_tcp_bind_auth_port(oidentd_t)
|
|
Chris PeBenito |
73edbc |
corenet_sendrecv_auth_server_packets(oidentd_t)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
files_read_etc_files(oidentd_t)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
kernel_read_kernel_sysctls(oidentd_t)
|
|
Chris PeBenito |
73edbc |
kernel_read_network_state(oidentd_t)
|
|
Chris PeBenito |
73edbc |
kernel_read_network_state_symlinks(oidentd_t)
|
|
Chris PeBenito |
73edbc |
kernel_read_sysctl(oidentd_t)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
logging_send_syslog_msg(oidentd_t)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
miscfiles_read_localization(oidentd_t)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
sysnet_read_config(oidentd_t)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
296273 |
oident_read_user_content(oidentd_t)
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
optional_policy(`
|
|
Chris PeBenito |
73edbc |
nis_use_ypbind(oidentd_t)
|
|
Chris PeBenito |
73edbc |
')
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
tunable_policy(`use_samba_home_dirs', `
|
|
Chris PeBenito |
73edbc |
fs_list_cifs(oidentd_t)
|
|
Chris PeBenito |
73edbc |
fs_read_cifs_files(oidentd_t)
|
|
Chris PeBenito |
73edbc |
')
|
|
Chris PeBenito |
73edbc |
|
|
Chris PeBenito |
73edbc |
tunable_policy(`use_nfs_home_dirs', `
|
|
Chris PeBenito |
73edbc |
fs_list_nfs(oidentd_t)
|
|
Chris PeBenito |
73edbc |
fs_read_nfs_files(oidentd_t)
|
|
Chris PeBenito |
73edbc |
')
|