1 |
commit: 0ec70896db5e578c6c0d40a2e04de39b53ff1a7a |
2 |
Author: Chris PeBenito <pebenito <AT> ieee <DOT> org> |
3 |
AuthorDate: Sun Apr 16 23:01:40 2017 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 30 09:12:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0ec70896 |
7 |
|
8 |
systemd init from Russell Coker |
9 |
|
10 |
This patch lets mandb_t search init_var_run_t dirs which it needs when running |
11 |
with systems. Also allows it to fs_getattr_xattr_fs() because it seemed |
12 |
pointless to put that in a separate patch. |
13 |
|
14 |
Allow init_t to do several things that it requires when init is systemd. |
15 |
|
16 |
Allow various operations on var_log_t to access var_log_t symlinks too. |
17 |
|
18 |
Let auditd setattr it's directory. |
19 |
|
20 |
policy/modules/contrib/mandb.te | 6 +++++- |
21 |
1 file changed, 5 insertions(+), 1 deletion(-) |
22 |
|
23 |
diff --git a/policy/modules/contrib/mandb.te b/policy/modules/contrib/mandb.te |
24 |
index 62684374..70fb5072 100644 |
25 |
--- a/policy/modules/contrib/mandb.te |
26 |
+++ b/policy/modules/contrib/mandb.te |
27 |
@@ -1,4 +1,4 @@ |
28 |
-policy_module(mandb, 1.3.1) |
29 |
+policy_module(mandb, 1.3.2) |
30 |
|
31 |
######################################## |
32 |
# |
33 |
@@ -51,6 +51,10 @@ miscfiles_read_localization(mandb_t) |
34 |
|
35 |
userdom_use_inherited_user_terminals(mandb_t) |
36 |
|
37 |
+ifdef(`init_systemd',` |
38 |
+ init_search_run(mandb_t) |
39 |
+') |
40 |
+ |
41 |
optional_policy(` |
42 |
cron_system_entry(mandb_t, mandb_exec_t) |
43 |
') |