From 36a42e49f6ee584426715e59803220f5fe5868e9 Mon Sep 17 00:00:00 2001 From: Scott Shambarger Date: Mon, 16 Dec 2024 09:56:12 -0800 Subject: [PATCH] selinux/nmutils.fc - add special handling for dhclient pid --- selinux/nmutils.fc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selinux/nmutils.fc b/selinux/nmutils.fc index e529998..a10438c 100644 --- a/selinux/nmutils.fc +++ b/selinux/nmutils.fc @@ -1,4 +1,5 @@ -/run/nmutils(/.*)? gen_context(system_u:object_r:initrc_var_run_t,s0) +/run/nmutils/dhclient.* -- gen_context(system_u:object_r:dhcpc_var_run_t,s0) +/run/nmutils/.* -- gen_context(system_u:object_r:initrc_var_run_t,s0) /etc/NetworkManager/dispatcher\.d/[0-9][0-9]-ifd-.* -- gen_context(system_u:object_r:nmutils_exec_t,s0) /etc/NetworkManager/dispatcher\.d/08-ipv6-prefix -- gen_context(system_u:object_r:nmutils_exec_t,s0) /etc/NetworkManager/dispatcher\.d/09-ddns -- gen_context(system_u:object_r:nmutils_exec_t,s0)