1 |
commit: ef51b2e319e62e59306a8b44ed96d98e0de0dec4 |
2 |
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 |
AuthorDate: Tue Nov 17 03:46:24 2020 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 22:56:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=ef51b2e3 |
7 |
|
8 |
init: Added fcontext for openrc-init. |
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 eeeb32be..acf89af4 100644 |
19 |
--- a/policy/modules/system/init.fc |
20 |
+++ b/policy/modules/system/init.fc |
21 |
@@ -46,6 +46,7 @@ ifdef(`distro_gentoo',` |
22 |
ifdef(`distro_gentoo', ` |
23 |
/usr/lib/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) |
24 |
/usr/sbin/rc -- gen_context(system_u:object_r:rc_exec_t,s0) |
25 |
+/usr/sbin/openrc-init -- gen_context(system_u:object_r:init_exec_t,s0) |
26 |
') |
27 |
|
28 |
ifdef(`distro_redhat',` |