From b184f71bed6c46496d4529da56fb46ae5348113c Mon Sep 17 00:00:00 2001 From: bauen1 Date: Wed, 27 May 2020 14:22:03 +0200 Subject: [PATCH] init: fix init_manage_pid_symlinks to grant more than just create permissions This was introduced in 4e842fe20930930bc686aaac649d47d2aa028ec9 by me. Signed-off-by: bauen1 --- policy/modules/system/init.if | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if index 4c9484019..648c95a3f 100644 --- a/policy/modules/system/init.if +++ b/policy/modules/system/init.if @@ -1395,7 +1395,7 @@ interface(`init_manage_pid_symlinks', ` type init_runtime_t; ') - allow $1 init_runtime_t:lnk_file create_lnk_file_perms; + manage_lnk_files_pattern($1, init_runtime_t, init_runtime_t) ') ######################################