From: aranea@aixah.de (Luis Ressel) Date: Sat, 31 Mar 2018 00:07:54 +0200 Subject: [refpolicy] [PATCH] system/init: Add a filetrans for /run/initctl Message-ID: <20180330220754.4881-1-aranea@aixah.de> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com sysvinit 2.89 moved /dev/initctl to /run/initctl. Reported-by: revel --- policy/modules/system/init.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te index 4fd9745b..64c61377 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te @@ -145,6 +145,7 @@ allow init_t init_var_run_t:file manage_lnk_file_perms; allow init_t initctl_t:fifo_file manage_fifo_file_perms; dev_filetrans(init_t, initctl_t, fifo_file) +files_pid_filetrans(init_t, initctl_t, fifo_file, "initctl") # Modify utmp. allow init_t initrc_var_run_t:file { rw_file_perms setattr }; -- 2.16.3