1 |
commit: dad9b3b3a4e4f0671358b440444d34fc292c9cc1 |
2 |
Author: Jason Zaman <jason <AT> perfinion <DOT> com> |
3 |
AuthorDate: Mon Oct 30 07:45:40 2017 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 30 09:37:17 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=dad9b3b3 |
7 |
|
8 |
modutils: make kmod_tmpfiles a file_type even without systemd |
9 |
|
10 |
OpenRC uses it too and without this it cant get associated with tmpfs |
11 |
|
12 |
policy/modules/system/modutils.te | 1 + |
13 |
1 file changed, 1 insertion(+) |
14 |
|
15 |
diff --git a/policy/modules/system/modutils.te b/policy/modules/system/modutils.te |
16 |
index c8aef93a..98229989 100644 |
17 |
--- a/policy/modules/system/modutils.te |
18 |
+++ b/policy/modules/system/modutils.te |
19 |
@@ -25,6 +25,7 @@ files_type(modules_dep_t) |
20 |
|
21 |
type kmod_tmpfiles_conf_t; |
22 |
typealias kmod_tmpfiles_conf_t alias { kmod_var_run_t systemd_kmod_conf_t }; |
23 |
+files_config_file(kmod_tmpfiles_conf_t) |
24 |
ifdef(`init_systemd',` |
25 |
systemd_tmpfiles_conf_file(kmod_tmpfiles_conf_t) |
26 |
systemd_tmpfiles_conf_filetrans(kmod_t, kmod_tmpfiles_conf_t, file) |