a couple init renames
This commit is contained in:
parent
c66a3aaf98
commit
f7547934f4
@ -59,7 +59,7 @@ files_dontaudit_search_pids(acct_t)
|
||||
|
||||
init_use_fd(acct_t)
|
||||
init_use_script_ptys(acct_t)
|
||||
init_exec_script(acct_t)
|
||||
init_exec_script_files(acct_t)
|
||||
|
||||
libs_use_ld_so(acct_t)
|
||||
libs_use_shared_libs(acct_t)
|
||||
|
@ -172,7 +172,7 @@ files_read_world_readable_symlinks(cupsd_t)
|
||||
|
||||
init_use_fd(cupsd_t)
|
||||
init_use_script_ptys(cupsd_t)
|
||||
init_exec_script(cupsd_t)
|
||||
init_exec_script_files(cupsd_t)
|
||||
|
||||
libs_use_ld_so(cupsd_t)
|
||||
libs_use_shared_libs(cupsd_t)
|
||||
@ -566,7 +566,7 @@ userdom_dontaudit_use_unpriv_user_fd(cupsd_config_t)
|
||||
userdom_dontaudit_search_sysadm_home_dir(cupsd_config_t)
|
||||
|
||||
ifdef(`distro_redhat',`
|
||||
init_getattr_script_entry_file(cupsd_config_t)
|
||||
init_getattr_script_files(cupsd_config_t)
|
||||
|
||||
optional_policy(`rpm',`
|
||||
rpm_read_db(cupsd_config_t)
|
||||
|
@ -99,7 +99,7 @@ files_read_etc_runtime_files(ntpd_t)
|
||||
files_read_usr_files(ntpd_t)
|
||||
files_list_var_lib(ntpd_t)
|
||||
|
||||
init_exec_script(ntpd_t)
|
||||
init_exec_script_files(ntpd_t)
|
||||
init_use_fd(ntpd_t)
|
||||
init_use_script_ptys(ntpd_t)
|
||||
|
||||
|
@ -198,7 +198,7 @@ allow userdomain postgresql_tmp_t:sock_file write;
|
||||
}
|
||||
')
|
||||
ifdef(`distro_debian', `
|
||||
init_exec_script(postgresql_t)
|
||||
init_exec_script_files(postgresql_t)
|
||||
# gross hack
|
||||
postgresql_domtrans(dpkg_t)
|
||||
can_exec(postgresql_t, dpkg_exec_t)
|
||||
|
@ -392,7 +392,7 @@ interface(`init_write_script_pipes',`
|
||||
## Domain allowed access.
|
||||
## </param>
|
||||
#
|
||||
interface(`init_getattr_script_entry_file',`
|
||||
interface(`init_getattr_script_files',`
|
||||
gen_require(`
|
||||
type initrc_exec_t;
|
||||
')
|
||||
@ -402,27 +402,10 @@ interface(`init_getattr_script_entry_file',`
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Read init scripts.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## Domain allowed access.
|
||||
## </param>
|
||||
#
|
||||
interface(`init_read_script',`
|
||||
gen_require(`
|
||||
type initrc_exec_t;
|
||||
')
|
||||
|
||||
files_list_etc($1)
|
||||
allow $1 initrc_exec_t:file { getattr read };
|
||||
')
|
||||
|
||||
########################################
|
||||
# init_exec_script_files(domain)
|
||||
#
|
||||
# init_exec_script(domain)
|
||||
#
|
||||
interface(`init_exec_script',`
|
||||
interface(`init_exec_script_files',`
|
||||
gen_require(`
|
||||
type initrc_exec_t;
|
||||
')
|
||||
|
@ -240,7 +240,7 @@ files_dontaudit_getattr_default_dirs(ipsec_mgmt_t)
|
||||
files_dontaudit_getattr_default_files(ipsec_mgmt_t)
|
||||
|
||||
init_use_script_ptys(ipsec_mgmt_t)
|
||||
init_exec_script(ipsec_mgmt_t)
|
||||
init_exec_script_files(ipsec_mgmt_t)
|
||||
init_use_fd(ipsec_mgmt_t)
|
||||
|
||||
libs_use_ld_so(ipsec_mgmt_t)
|
||||
|
@ -213,7 +213,7 @@ optional_policy(`nis',`
|
||||
nis_delete_ypbind_pid(dhcpc_t)
|
||||
|
||||
# dhclient sometimes starts ypbind
|
||||
init_exec_script(dhcpc_t)
|
||||
init_exec_script_files(dhcpc_t)
|
||||
nis_domtrans_ypbind(dhcpc_t)
|
||||
')
|
||||
|
||||
@ -224,7 +224,7 @@ optional_policy(`nscd',`
|
||||
|
||||
optional_policy(`ntp',`
|
||||
# dhclient sometimes starts ntpd
|
||||
init_exec_script(dhcpc_t)
|
||||
init_exec_script_files(dhcpc_t)
|
||||
ntp_domtrans(dhcpc_t)
|
||||
')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user