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: Tue, 31 Oct 2017 05:40:21
Message-Id: 1509426922.52e9add16fe67920ed2456ca26f555f63f4e16e8.perfinion@gentoo
1 commit: 52e9add16fe67920ed2456ca26f555f63f4e16e8
2 Author: Russell Coker <russell <AT> coker <DOT> com <DOT> au>
3 AuthorDate: Tue Oct 31 01:36:16 2017 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 31 05:15:22 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=52e9add1
7
8 refpolicy and certs
9
10 The following patch allows mon_t to set limits for it's children and removes
11 cert_t labelling from CA public keys (that aren't secret) so that processes
12 which only need to verify keys (EG https clients) don't need cert_t access.
13
14 policy/modules/contrib/mon.te | 2 ++
15 1 file changed, 2 insertions(+)
16
17 diff --git a/policy/modules/contrib/mon.te b/policy/modules/contrib/mon.te
18 index ab03877b..b00c0762 100644
19 --- a/policy/modules/contrib/mon.te
20 +++ b/policy/modules/contrib/mon.te
21 @@ -45,6 +45,8 @@ files_tmp_file(mon_tmp_t)
22
23 allow mon_t self:fifo_file rw_fifo_file_perms;
24 allow mon_t self:tcp_socket create_stream_socket_perms;
25 +# for mailxmpp.alert to set ulimit
26 +allow mon_t self:process setrlimit;
27
28 domtrans_pattern(mon_t, mon_local_test_exec_t, mon_local_test_t)