fix: sudo can't determine default type for sysadm_r
This commit is contained in:
parent
17f06cf1fe
commit
d4cc5cf3d2
|
@ -129,7 +129,7 @@ template(`sudo_role_template',`
|
|||
|
||||
miscfiles_read_localization($1_sudo_t)
|
||||
|
||||
seutil_search_default_contexts($1_sudo_t)
|
||||
seutil_read_default_contexts($1_sudo_t)
|
||||
seutil_libselinux_linked($1_sudo_t)
|
||||
|
||||
userdom_spec_domtrans_all_users($1_sudo_t)
|
||||
|
|
|
@ -735,8 +735,7 @@ interface(`seutil_read_default_contexts',`
|
|||
')
|
||||
|
||||
files_search_etc($1)
|
||||
allow $1 selinux_config_t:dir search_dir_perms;
|
||||
allow $1 default_context_t:dir list_dir_perms;
|
||||
list_dirs_pattern($1, selinux_config_t, default_context_t)
|
||||
read_files_pattern($1, default_context_t, default_context_t)
|
||||
')
|
||||
|
||||
|
|
Loading…
Reference in New Issue