Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/
Date: Sun, 30 Apr 2017 14:20:35
Message-Id: 1493561864.c86ff0fad5076084e9f98a16b47152ed52645bfa.perfinion@gentoo
1 commit: c86ff0fad5076084e9f98a16b47152ed52645bfa
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 14:17:44 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=c86ff0fa
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 ')