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/system/
Date: Tue, 31 Oct 2017 05:40:19
Message-Id: 1509426961.e138f2b3eecab7cc264b914dff2aaa58c9bba703.perfinion@gentoo
1 commit: e138f2b3eecab7cc264b914dff2aaa58c9bba703
2 Author: Russell Coker <russell <AT> coker <DOT> com <DOT> au>
3 AuthorDate: Tue Oct 31 01:38:17 2017 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 31 05:16:01 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=e138f2b3
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/system/miscfiles.fc | 3 ---
15 1 file changed, 3 deletions(-)
16
17 diff --git a/policy/modules/system/miscfiles.fc b/policy/modules/system/miscfiles.fc
18 index 1ccaaec7..a46d97cc 100644
19 --- a/policy/modules/system/miscfiles.fc
20 +++ b/policy/modules/system/miscfiles.fc
21 @@ -46,12 +46,9 @@ ifdef(`distro_redhat',`
22
23 /usr/lib/perl5/man(/.*)? gen_context(system_u:object_r:man_t,s0)
24
25 -/usr/local/share/ca-certificates(/.*)? gen_context(system_u:object_r:cert_t,s0)
26 -
27 /usr/local/share/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
28
29 /usr/share/docbook2X/xslt/man(/.*)? gen_context(system_u:object_r:usr_t,s0)
30 -/usr/share/ca-certificates(/.*)? gen_context(system_u:object_r:cert_t,s0)
31 /usr/share/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
32 /usr/share/X11/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
33 /usr/share/ghostscript/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)