there is no initrc_var_run_t:dir
This commit is contained in:
parent
7c2f5a82ae
commit
b94cc19178
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(bootloader,1.1.0)
|
policy_module(bootloader,1.1.1)
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
@ -169,8 +169,6 @@ ifdef(`distro_debian',`
|
|||||||
fstools_manage_entry_files(bootloader_t)
|
fstools_manage_entry_files(bootloader_t)
|
||||||
fstools_relabelto_entry_files(bootloader_t)
|
fstools_relabelto_entry_files(bootloader_t)
|
||||||
|
|
||||||
init_list_script_pids(bootloader_t)
|
|
||||||
|
|
||||||
libs_relabelto_lib_files(bootloader_t)
|
libs_relabelto_lib_files(bootloader_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
|
@ -783,25 +783,6 @@ interface(`init_getattr_script_pids',`
|
|||||||
allow $1 initrc_var_run_t:file getattr;
|
allow $1 initrc_var_run_t:file getattr;
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
|
||||||
## <summary>
|
|
||||||
## List the contents of an init script
|
|
||||||
## process id directory.
|
|
||||||
## </summary>
|
|
||||||
## <param name="domain">
|
|
||||||
## Domain allowed access.
|
|
||||||
## </param>
|
|
||||||
#
|
|
||||||
interface(`init_list_script_pids',`
|
|
||||||
gen_require(`
|
|
||||||
type initrc_var_run_t;
|
|
||||||
class dir r_dir_perms;
|
|
||||||
')
|
|
||||||
|
|
||||||
files_search_pids($1)
|
|
||||||
allow $1 initrc_var_run_t:dir r_dir_perms;
|
|
||||||
')
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
# init_read_script_pid(domain)
|
# init_read_script_pid(domain)
|
||||||
|
Loading…
Reference in New Issue
Block a user