Re: [PATCH 5/8] init: Added fcontext for openrc-shutdown.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/16/20 10:46 PM, Jason Zaman wrote:
From: Jonathan Davies <jpds@xxxxxxxxxxxxxx>

Signed-off-by: Jonathan Davies <jpds@xxxxxxxxxxxxxx>
Signed-off-by: Jason Zaman <perfinion@xxxxxxxxxx>
Signed-off-by: Jason Zaman <jason@xxxxxxxxxxxxx>
---
  policy/modules/system/init.fc | 1 +
  1 file changed, 1 insertion(+)

diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc
index df0d5a920..f1e6a61d0 100644
--- a/policy/modules/system/init.fc
+++ b/policy/modules/system/init.fc
@@ -47,6 +47,7 @@ ifdef(`distro_gentoo', `
  /usr/lib/rc/init\.d(/.*)?		gen_context(system_u:object_r:initrc_state_t,s0)
  /usr/sbin/rc		--	gen_context(system_u:object_r:rc_exec_t,s0)
  /usr/sbin/openrc-init		--	gen_context(system_u:object_r:init_exec_t,s0)
+/usr/sbin/openrc-shutdown	--	gen_context(system_u:object_r:init_exec_t,s0)
  ')
ifdef(`distro_redhat',`

Merged.

--
Chris PeBenito



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux