1 |
commit: 4a0d8b5637db7d64811d9cfe1d6746d2baf63150 |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 28 23:30:04 2020 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 23:30:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=4a0d8b56 |
7 |
|
8 |
init: remove gentoo-specific rules that have been upstreamed |
9 |
|
10 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
11 |
|
12 |
policy/modules/system/init.fc | 20 -------------------- |
13 |
1 file changed, 20 deletions(-) |
14 |
|
15 |
diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc |
16 |
index c8451701..567bc960 100644 |
17 |
--- a/policy/modules/system/init.fc |
18 |
+++ b/policy/modules/system/init.fc |
19 |
@@ -95,23 +95,3 @@ ifdef(`distro_suse', ` |
20 |
/run/setleds-on -- gen_context(system_u:object_r:initrc_runtime_t,s0) |
21 |
/run/sysconfig(/.*)? gen_context(system_u:object_r:initrc_runtime_t,s0) |
22 |
') |
23 |
- |
24 |
-ifdef(`distro_gentoo',` |
25 |
-# |
26 |
-# /lib |
27 |
-# |
28 |
-/usr/lib/rc/console(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) |
29 |
-/usr/lib/rc/cache(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) |
30 |
- |
31 |
-# |
32 |
-# /sbin |
33 |
-# |
34 |
-/usr/sbin/openrc -- gen_context(system_u:object_r:rc_exec_t,s0) |
35 |
- |
36 |
-# |
37 |
-# /var |
38 |
-# |
39 |
-/var/lib/ip6?tables(/.*)? gen_context(system_u:object_r:initrc_tmp_t,s0) |
40 |
- |
41 |
-/run/openrc(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) |
42 |
-') |