aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Coker <russell@coker.com.au>2017-10-30 21:38:17 -0400
committerJason Zaman <jason@perfinion.com>2017-10-31 13:16:01 +0800
commite138f2b3eecab7cc264b914dff2aaa58c9bba703 (patch)
tree62f9b7821041203b0c0741836df8f7c8f20c5533
parentalsa, mon, virt: Module version bump. (diff)
downloadhardened-refpolicy-e138f2b3.tar.gz
hardened-refpolicy-e138f2b3.tar.bz2
hardened-refpolicy-e138f2b3.zip
refpolicy and certs
The following patch allows mon_t to set limits for it's children and removes cert_t labelling from CA public keys (that aren't secret) so that processes which only need to verify keys (EG https clients) don't need cert_t access.
-rw-r--r--policy/modules/system/miscfiles.fc3
1 files changed, 0 insertions, 3 deletions
diff --git a/policy/modules/system/miscfiles.fc b/policy/modules/system/miscfiles.fc
index 1ccaaec7..a46d97cc 100644
--- a/policy/modules/system/miscfiles.fc
+++ b/policy/modules/system/miscfiles.fc
@@ -46,12 +46,9 @@ ifdef(`distro_redhat',`
/usr/lib/perl5/man(/.*)? gen_context(system_u:object_r:man_t,s0)
-/usr/local/share/ca-certificates(/.*)? gen_context(system_u:object_r:cert_t,s0)
-
/usr/local/share/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
/usr/share/docbook2X/xslt/man(/.*)? gen_context(system_u:object_r:usr_t,s0)
-/usr/share/ca-certificates(/.*)? gen_context(system_u:object_r:cert_t,s0)
/usr/share/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
/usr/share/X11/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
/usr/share/ghostscript/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)