summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy/0026-fc-add-fcontext-for-init-scripts-and-systemd-service.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0026-fc-add-fcontext-for-init-scripts-and-systemd-service.patch')
-rw-r--r--recipes-security/refpolicy/refpolicy/0026-fc-add-fcontext-for-init-scripts-and-systemd-service.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0026-fc-add-fcontext-for-init-scripts-and-systemd-service.patch b/recipes-security/refpolicy/refpolicy/0026-fc-add-fcontext-for-init-scripts-and-systemd-service.patch
index c47984d..5699e10 100644
--- a/recipes-security/refpolicy/refpolicy/0026-fc-add-fcontext-for-init-scripts-and-systemd-service.patch
+++ b/recipes-security/refpolicy/refpolicy/0026-fc-add-fcontext-for-init-scripts-and-systemd-service.patch
@@ -1,4 +1,4 @@
1From 1096b2eb1172506006691e90769e51a086b8374f Mon Sep 17 00:00:00 2001 1From 4784a7fe74fd3842c1ade228e148cd6f5d6fd22e Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 30 Jun 2020 10:45:57 +0800 3Date: Tue, 30 Jun 2020 10:45:57 +0800
4Subject: [PATCH] fc: add fcontext for init scripts and systemd service files 4Subject: [PATCH] fc: add fcontext for init scripts and systemd service files
@@ -34,11 +34,11 @@ index 382c067f9..0ecc5acc4 100644
34 /usr/bin/rngd -- gen_context(system_u:object_r:rngd_exec_t,s0) 34 /usr/bin/rngd -- gen_context(system_u:object_r:rngd_exec_t,s0)
35 35
36diff --git a/policy/modules/services/rpc.fc b/policy/modules/services/rpc.fc 36diff --git a/policy/modules/services/rpc.fc b/policy/modules/services/rpc.fc
37index 75c2f0617..fa881ba2e 100644 37index 18c204908..95f06d8de 100644
38--- a/policy/modules/services/rpc.fc 38--- a/policy/modules/services/rpc.fc
39+++ b/policy/modules/services/rpc.fc 39+++ b/policy/modules/services/rpc.fc
40@@ -1,7 +1,9 @@ 40@@ -2,7 +2,9 @@
41 /etc/exports -- gen_context(system_u:object_r:exports_t,s0) 41 /etc/exports\.d(/.*)? -- gen_context(system_u:object_r:exports_t,s0)
42 42
43 /etc/rc\.d/init\.d/nfs -- gen_context(system_u:object_r:nfsd_initrc_exec_t,s0) 43 /etc/rc\.d/init\.d/nfs -- gen_context(system_u:object_r:nfsd_initrc_exec_t,s0)
44+/etc/rc\.d/init\.d/nfsserver -- gen_context(system_u:object_r:nfsd_initrc_exec_t,s0) 44+/etc/rc\.d/init\.d/nfsserver -- gen_context(system_u:object_r:nfsd_initrc_exec_t,s0)