Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/
Date: Sat, 25 Feb 2017 15:00:11
Message-Id: 1488034253.bdd606c36e4b163f5dee262d0c450a74efcd208c.perfinion@gentoo
1 commit: bdd606c36e4b163f5dee262d0c450a74efcd208c
2 Author: Chris PeBenito <pebenito <AT> ieee <DOT> org>
3 AuthorDate: Fri Feb 24 01:03:08 2017 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 14:50:53 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=bdd606c3
7
8 Systemd fixes from Russell Coker.
9
10 policy/modules/contrib/cron.if | 19 +++++++++++++++++++
11 policy/modules/contrib/cron.te | 2 +-
12 2 files changed, 20 insertions(+), 1 deletion(-)
13
14 diff --git a/policy/modules/contrib/cron.if b/policy/modules/contrib/cron.if
15 index c6dec2c3..6737f53c 100644
16 --- a/policy/modules/contrib/cron.if
17 +++ b/policy/modules/contrib/cron.if
18 @@ -686,6 +686,25 @@ interface(`cron_use_system_job_fds',`
19
20 ########################################
21 ## <summary>
22 +## Create, read, write, and delete the system spool.
23 +## </summary>
24 +## <param name="domain">
25 +## <summary>
26 +## Domain allowed access.
27 +## </summary>
28 +## </param>
29 +#
30 +interface(`cron_manage_system_spool',`
31 + gen_require(`
32 + type cron_system_spool_t;
33 + ')
34 +
35 + files_search_spool($1)
36 + manage_files_pattern($1, cron_system_spool_t, cron_system_spool_t)
37 +')
38 +
39 +########################################
40 +## <summary>
41 ## Read system cron job lib files.
42 ## </summary>
43 ## <param name="domain">
44
45 diff --git a/policy/modules/contrib/cron.te b/policy/modules/contrib/cron.te
46 index 905deb16..3513e1f2 100644
47 --- a/policy/modules/contrib/cron.te
48 +++ b/policy/modules/contrib/cron.te
49 @@ -1,4 +1,4 @@
50 -policy_module(cron, 2.11.0)
51 +policy_module(cron, 2.11.1)
52
53 gen_require(`
54 class passwd rootok;