|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
policy_module(likewise, 1.0.0)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
#################################
|
|
Dominick Grift |
38fc1b |
#
|
|
Chris PeBenito |
827060 |
# Declarations
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
attribute likewise_domains;
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
type likewise_etc_t;
|
|
Dominick Grift |
38fc1b |
files_config_file(likewise_etc_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
type likewise_initrc_exec_t;
|
|
Dominick Grift |
38fc1b |
init_script_file(likewise_initrc_exec_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
type likewise_var_lib_t;
|
|
Dominick Grift |
38fc1b |
files_type(likewise_var_lib_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
type likewise_pstore_lock_t;
|
|
Dominick Grift |
38fc1b |
files_type(likewise_pstore_lock_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
type likewise_krb5_ad_t;
|
|
Dominick Grift |
38fc1b |
files_type(likewise_krb5_ad_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
likewise_domain_template(dcerpcd)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
likewise_domain_template(eventlogd)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
likewise_domain_template(lsassd)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
type lsassd_tmp_t;
|
|
Dominick Grift |
38fc1b |
files_tmp_file(lsassd_tmp_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
likewise_domain_template(lwiod)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
likewise_domain_template(lwregd)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
likewise_domain_template(lwsmd)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
likewise_domain_template(netlogond)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
likewise_domain_template(srvsvcd)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
#################################
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
# Likewise dcerpcd personal policy
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(dcerpcd_t, likewise_var_lib_t, lwregd_var_socket_t, lwregd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
corenet_all_recvfrom_netlabel(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_all_recvfrom_unlabeled(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_sendrecv_generic_client_packets(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_sendrecv_generic_server_packets(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_if(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_node(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_port(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_bind_generic_node(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_bind_epmap_port(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_connect_generic_port(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_udp_bind_generic_node(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_udp_bind_epmap_port(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_udp_sendrecv_generic_if(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_udp_sendrecv_generic_node(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_udp_sendrecv_generic_port(dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
#################################
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
# Likewise Auditing and Logging service policy
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(eventlogd_t, likewise_var_lib_t, dcerpcd_var_socket_t, dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(eventlogd_t, likewise_var_lib_t, lwregd_var_socket_t, lwregd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
corenet_all_recvfrom_netlabel(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
corenet_all_recvfrom_unlabeled(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
corenet_sendrecv_generic_server_packets(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_if(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_node(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_port(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_bind_generic_node(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
corenet_udp_bind_generic_node(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
corenet_udp_sendrecv_generic_if(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
corenet_udp_sendrecv_generic_node(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
corenet_udp_sendrecv_generic_port(eventlogd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
#################################
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
# Likewise Authentication service local policy
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
|
|
Chris PeBenito |
827060 |
allow lsassd_t self:capability { fowner chown fsetid dac_override sys_time };
|
|
Chris PeBenito |
827060 |
allow lsassd_t self:unix_stream_socket { create_stream_socket_perms connectto };
|
|
Dominick Grift |
38fc1b |
allow lsassd_t self:netlink_route_socket rw_netlink_socket_perms;
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
allow lsassd_t likewise_krb5_ad_t:file read_file_perms;
|
|
Dominick Grift |
38fc1b |
allow lsassd_t netlogond_var_lib_t:file read_file_perms;
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
manage_files_pattern(lsassd_t, likewise_etc_t, likewise_etc_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
manage_files_pattern(lsassd_t, lsassd_tmp_t, lsassd_tmp_t);
|
|
Dominick Grift |
38fc1b |
files_tmp_filetrans(lsassd_t, lsassd_tmp_t, file)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(lsassd_t, likewise_var_lib_t, dcerpcd_var_socket_t, dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(lsassd_t, likewise_var_lib_t, eventlogd_var_socket_t, eventlogd_t)
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(lsassd_t, likewise_var_lib_t, lwiod_var_socket_t, lwiod_t)
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(lsassd_t, likewise_var_lib_t, lwregd_var_socket_t, lwregd_t)
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(lsassd_t, likewise_var_lib_t, netlogond_var_socket_t, netlogond_t)
|
|
Dominick Grift |
38fc1b |
|
|
Chris PeBenito |
827060 |
kernel_read_system_state(lsassd_t)
|
|
Chris PeBenito |
827060 |
kernel_getattr_proc_files(lsassd_t)
|
|
Chris PeBenito |
827060 |
kernel_list_all_proc(lsassd_t)
|
|
Chris PeBenito |
827060 |
kernel_list_proc(lsassd_t)
|
|
Chris PeBenito |
827060 |
|
|
Dominick Grift |
38fc1b |
corecmd_exec_bin(lsassd_t)
|
|
Dominick Grift |
38fc1b |
corecmd_exec_shell(lsassd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
corenet_all_recvfrom_netlabel(lsassd_t)
|
|
Dominick Grift |
38fc1b |
corenet_all_recvfrom_unlabeled(lsassd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_if(lsassd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_node(lsassd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_port(lsassd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_bind_generic_node(lsassd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_connect_epmap_port(lsassd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_epmap_port(lsassd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Chris PeBenito |
827060 |
domain_obj_id_change_exemption(lsassd_t)
|
|
Chris PeBenito |
827060 |
|
|
Dominick Grift |
38fc1b |
files_manage_etc_files(lsassd_t)
|
|
Dominick Grift |
38fc1b |
files_manage_etc_symlinks(lsassd_t)
|
|
Dominick Grift |
38fc1b |
files_manage_etc_runtime_files(lsassd_t)
|
|
Dominick Grift |
38fc1b |
files_relabelto_home(lsassd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
selinux_get_fs_mount(lsassd_t)
|
|
Dominick Grift |
38fc1b |
selinux_validate_context(lsassd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
seutil_read_config(lsassd_t)
|
|
Dominick Grift |
38fc1b |
seutil_read_default_contexts(lsassd_t)
|
|
Dominick Grift |
38fc1b |
seutil_read_file_contexts(lsassd_t)
|
|
Dominick Grift |
38fc1b |
seutil_run_semanage(lsassd_t, lsassd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
sysnet_use_ldap(lsassd_t)
|
|
Dominick Grift |
38fc1b |
sysnet_read_config(lsassd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
userdom_home_filetrans_user_home_dir(lsassd_t)
|
|
Dominick Grift |
38fc1b |
userdom_manage_home_role(system_r, lsassd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
optional_policy(`
|
|
Dominick Grift |
38fc1b |
kerberos_rw_keytab(lsassd_t)
|
|
Dominick Grift |
38fc1b |
kerberos_use(lsassd_t)
|
|
Dominick Grift |
38fc1b |
')
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
#################################
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
# Likewise I/O service local policy
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
|
|
Chris PeBenito |
827060 |
allow lwiod_t self:capability { fowner chown fsetid dac_override };
|
|
Dominick Grift |
38fc1b |
allow lwiod_t self:netlink_route_socket rw_netlink_socket_perms;
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
allow lwiod_t likewise_krb5_ad_t:file read_file_perms;
|
|
Dominick Grift |
38fc1b |
allow lwiod_t netlogond_var_lib_t:file read_file_perms;
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(lwiod_t, likewise_var_lib_t, lwregd_var_socket_t, lwregd_t)
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(lwiod_t, likewise_var_lib_t, lsassd_var_socket_t, lsassd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
corenet_all_recvfrom_netlabel(lwiod_t)
|
|
Dominick Grift |
38fc1b |
corenet_all_recvfrom_unlabeled(lwiod_t)
|
|
Dominick Grift |
38fc1b |
corenet_sendrecv_smbd_server_packets(lwiod_t)
|
|
Dominick Grift |
38fc1b |
corenet_sendrecv_smbd_client_packets(lwiod_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_if(lwiod_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_node(lwiod_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_port(lwiod_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_bind_generic_node(lwiod_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_bind_smbd_port(lwiod_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_connect_smbd_port(lwiod_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
sysnet_read_config(lwiod_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
optional_policy(`
|
|
Dominick Grift |
38fc1b |
kerberos_rw_config(lwiod_t)
|
|
Dominick Grift |
38fc1b |
kerberos_use(lwiod_t)
|
|
Dominick Grift |
38fc1b |
')
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
#################################
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
# Likewise Service Manager service local policy
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
allow lwsmd_t likewise_domains:process signal;
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
domtrans_pattern(lwsmd_t, dcerpcd_exec_t, dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
domtrans_pattern(lwsmd_t, eventlogd_exec_t, eventlogd_t)
|
|
Dominick Grift |
38fc1b |
domtrans_pattern(lwsmd_t, lsassd_exec_t, lsassd_t)
|
|
Dominick Grift |
38fc1b |
domtrans_pattern(lwsmd_t, lwiod_exec_t, lwiod_t)
|
|
Dominick Grift |
38fc1b |
domtrans_pattern(lwsmd_t, lwregd_exec_t, lwregd_t)
|
|
Dominick Grift |
38fc1b |
domtrans_pattern(lwsmd_t, netlogond_exec_t, netlogond_t)
|
|
Dominick Grift |
38fc1b |
domtrans_pattern(lwsmd_t, srvsvcd_exec_t, srvsvcd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(lwsmd_t, likewise_var_lib_t, lwiod_var_socket_t, lwiod_t)
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(lwsmd_t, likewise_var_lib_t, lwregd_var_socket_t, lwregd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
#################################
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
# Likewise DC location service local policy
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
allow netlogond_t self:capability {dac_override};
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
manage_files_pattern(netlogond_t, likewise_etc_t, likewise_etc_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(netlogond_t, likewise_var_lib_t, lwregd_var_socket_t, lwregd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
sysnet_dns_name_resolve(netlogond_t)
|
|
Dominick Grift |
38fc1b |
sysnet_use_ldap(netlogond_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
#################################
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
# Likewise Srv service local policy
|
|
Dominick Grift |
38fc1b |
#
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
allow srvsvcd_t likewise_etc_t:dir search_dir_perms;
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(srvsvcd_t, likewise_var_lib_t, dcerpcd_var_socket_t, dcerpcd_t)
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(srvsvcd_t, likewise_var_lib_t, lwiod_var_socket_t, lwiod_t)
|
|
Dominick Grift |
38fc1b |
stream_connect_pattern(srvsvcd_t, likewise_var_lib_t, lwregd_var_socket_t, lwregd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
corenet_all_recvfrom_netlabel(srvsvcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_all_recvfrom_unlabeled(srvsvcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_sendrecv_generic_server_packets(srvsvcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_if(srvsvcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_node(srvsvcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_sendrecv_generic_port(srvsvcd_t)
|
|
Dominick Grift |
38fc1b |
corenet_tcp_bind_generic_node(srvsvcd_t)
|
|
Dominick Grift |
38fc1b |
|
|
Dominick Grift |
38fc1b |
optional_policy(`
|
|
Dominick Grift |
38fc1b |
kerberos_use(srvsvcd_t)
|
|
Dominick Grift |
38fc1b |
')
|