1 |
commit: 850672bdf4d432537c4a064319d1c1da05f67af6 |
2 |
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 |
AuthorDate: Tue Nov 17 03:46:25 2020 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 22:56:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=850672bd |
7 |
|
8 |
init: Added fcontext for openrc-shutdown. |
9 |
|
10 |
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com> |
11 |
Signed-off-by: Jason Zaman <jason <AT> perfinion.com> |
12 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
13 |
|
14 |
policy/modules/system/init.fc | 1 + |
15 |
1 file changed, 1 insertion(+) |
16 |
|
17 |
diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc |
18 |
index acf89af4..74fb8211 100644 |
19 |
--- a/policy/modules/system/init.fc |
20 |
+++ b/policy/modules/system/init.fc |
21 |
@@ -47,6 +47,7 @@ ifdef(`distro_gentoo', ` |
22 |
/usr/lib/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) |
23 |
/usr/sbin/rc -- gen_context(system_u:object_r:rc_exec_t,s0) |
24 |
/usr/sbin/openrc-init -- gen_context(system_u:object_r:init_exec_t,s0) |
25 |
+/usr/sbin/openrc-shutdown -- gen_context(system_u:object_r:init_exec_t,s0) |
26 |
') |
27 |
|
28 |
ifdef(`distro_redhat',` |