From ebfc55113be3be3a298a14e767712cc5e16a50c3 Mon Sep 17 00:00:00 2001
From: jinlun <jinlun@huawei.com>
Date: Thu, 28 Dec 2023 19:17:52 +0800
Subject: [PATCH] allow init_t create fifo file in net_conf dir

Signed-off-by: Huaxin Lu <luhuaxin1@huawei.com>
---
 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 4f2ce88..5fc8fed 100644
--- a/policy/modules/system/init.te
+++ b/policy/modules/system/init.te
@@ -879,6 +879,7 @@ optional_policy(`
 optional_policy(`
     sysnet_filetrans_cloud_net_conf(init_t)
     sysnet_manage_config_pipes(init_t)
+    manage_fifo_files_pattern(init_t, net_conf_t, net_conf_t)
 ')
 
 optional_policy(`
-- 
2.27.0

