sudo: add fcontext for /run/sudo/ts/USERNAME

This lets restorecon -F set the context properly
This commit is contained in:
Jason Zaman via refpolicy 2017-09-16 01:16:14 +08:00 committed by Chris PeBenito
parent 18778fcb49
commit e2db03bb8f
1 changed files with 1 additions and 0 deletions

View File

@ -49,5 +49,6 @@ ifdef(`distro_suse', `
/run/pam_ssh(/.*)? gen_context(system_u:object_r:var_auth_t,s0)
/run/sepermit(/.*)? gen_context(system_u:object_r:pam_var_run_t,s0)
/run/sudo(/.*)? gen_context(system_u:object_r:pam_var_run_t,s0)
/run/sudo/ts/%{USERNAME} gen_context(system_u:object_r:pam_var_run_t,s0)
/var/(db|adm)/sudo(/.*)? gen_context(system_u:object_r:pam_var_run_t,s0)
/var/lib/sudo(/.*)? gen_context(system_u:object_r:pam_var_run_t,s0)