|
Chris PeBenito |
29af4c |
policy_module(sssd, 1.1.0)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
########################################
|
|
Chris PeBenito |
c017ee |
#
|
|
Chris PeBenito |
c017ee |
# Declarations
|
|
Chris PeBenito |
c017ee |
#
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
type sssd_t;
|
|
Chris PeBenito |
c017ee |
type sssd_exec_t;
|
|
Chris PeBenito |
c017ee |
init_daemon_domain(sssd_t, sssd_exec_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
type sssd_initrc_exec_t;
|
|
Chris PeBenito |
c017ee |
init_script_file(sssd_initrc_exec_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
2b93b8 |
type sssd_public_t;
|
|
Chris PeBenito |
2b93b8 |
files_pid_file(sssd_public_t)
|
|
Chris PeBenito |
2b93b8 |
|
|
Chris PeBenito |
c017ee |
type sssd_var_lib_t;
|
|
Chris PeBenito |
c017ee |
files_type(sssd_var_lib_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
f3890b |
type sssd_var_log_t;
|
|
Chris PeBenito |
f3890b |
logging_log_file(sssd_var_log_t)
|
|
Chris PeBenito |
f3890b |
|
|
Chris PeBenito |
c017ee |
type sssd_var_run_t;
|
|
Chris PeBenito |
c017ee |
files_pid_file(sssd_var_run_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
########################################
|
|
Chris PeBenito |
c017ee |
#
|
|
Chris PeBenito |
c017ee |
# sssd local policy
|
|
Chris PeBenito |
c017ee |
#
|
|
Chris PeBenito |
2b93b8 |
allow sssd_t self:capability { dac_read_search dac_override kill sys_nice setgid setuid };
|
|
Chris PeBenito |
2b93b8 |
allow sssd_t self:process { setfscreate setsched sigkill signal getsched };
|
|
Chris PeBenito |
c017ee |
allow sssd_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
c017ee |
allow sssd_t self:unix_stream_socket { create_stream_socket_perms connectto };
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
2b93b8 |
manage_dirs_pattern(sssd_t, sssd_public_t, sssd_public_t)
|
|
Chris PeBenito |
2b93b8 |
manage_files_pattern(sssd_t, sssd_public_t, sssd_public_t)
|
|
Chris PeBenito |
2b93b8 |
|
|
Chris PeBenito |
c017ee |
manage_dirs_pattern(sssd_t, sssd_var_lib_t, sssd_var_lib_t)
|
|
Chris PeBenito |
c017ee |
manage_files_pattern(sssd_t, sssd_var_lib_t, sssd_var_lib_t)
|
|
Chris PeBenito |
c017ee |
manage_sock_files_pattern(sssd_t, sssd_var_lib_t, sssd_var_lib_t)
|
|
Chris PeBenito |
c017ee |
files_var_lib_filetrans(sssd_t, sssd_var_lib_t, { file dir } )
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
f3890b |
manage_files_pattern(sssd_t, sssd_var_log_t, sssd_var_log_t)
|
|
Chris PeBenito |
f3890b |
logging_log_filetrans(sssd_t, sssd_var_log_t, file)
|
|
Chris PeBenito |
f3890b |
|
|
Chris PeBenito |
c017ee |
manage_dirs_pattern(sssd_t, sssd_var_run_t, sssd_var_run_t)
|
|
Chris PeBenito |
c017ee |
manage_files_pattern(sssd_t, sssd_var_run_t, sssd_var_run_t)
|
|
Chris PeBenito |
c017ee |
files_pid_filetrans(sssd_t, sssd_var_run_t, { file dir })
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
kernel_read_system_state(sssd_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
corecmd_exec_bin(sssd_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
dev_read_urand(sssd_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
2b93b8 |
domain_read_all_domains_state(sssd_t)
|
|
Chris PeBenito |
2b93b8 |
domain_obj_id_change_exemption(sssd_t)
|
|
Chris PeBenito |
2b93b8 |
|
|
Chris PeBenito |
c017ee |
files_list_tmp(sssd_t)
|
|
Chris PeBenito |
c017ee |
files_read_etc_files(sssd_t)
|
|
Chris PeBenito |
c017ee |
files_read_usr_files(sssd_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
f3890b |
fs_list_inotifyfs(sssd_t)
|
|
Chris PeBenito |
f3890b |
|
|
Chris PeBenito |
2b93b8 |
selinux_validate_context(sssd_t)
|
|
Chris PeBenito |
2b93b8 |
|
|
Chris PeBenito |
2b93b8 |
seutil_read_file_contexts(sssd_t)
|
|
Chris PeBenito |
2b93b8 |
|
|
Chris PeBenito |
2b93b8 |
mls_file_read_to_clearance(sssd_t)
|
|
Chris PeBenito |
2b93b8 |
|
|
Chris PeBenito |
c017ee |
auth_use_nsswitch(sssd_t)
|
|
Chris PeBenito |
c017ee |
auth_domtrans_chk_passwd(sssd_t)
|
|
Chris PeBenito |
c017ee |
auth_domtrans_upd_passwd(sssd_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
init_read_utmp(sssd_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
logging_send_syslog_msg(sssd_t)
|
|
Chris PeBenito |
c017ee |
logging_send_audit_msgs(sssd_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
miscfiles_read_localization(sssd_t)
|
|
Chris PeBenito |
c017ee |
|
|
Chris PeBenito |
c017ee |
optional_policy(`
|
|
Chris PeBenito |
c017ee |
dbus_system_bus_client(sssd_t)
|
|
Chris PeBenito |
c017ee |
dbus_connect_system_bus(sssd_t)
|
|
Chris PeBenito |
c017ee |
')
|
|
Chris PeBenito |
2b93b8 |
|
|
Chris PeBenito |
2b93b8 |
optional_policy(`
|
|
Chris PeBenito |
2b93b8 |
kerberos_manage_host_rcache(sssd_t)
|
|
Chris PeBenito |
2b93b8 |
')
|