All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 1/2] base: label generic SSL certificates as standard files
@ 2017-11-05  2:28 Guido Trentalancia
  2017-11-05  0:39 ` Russell Coker
  2017-11-05  2:55 ` [refpolicy] [PATCH 1/2 v2] " Guido Trentalancia
  0 siblings, 2 replies; 11+ messages in thread
From: Guido Trentalancia @ 2017-11-05  2:28 UTC (permalink / raw)
  To: refpolicy

Reserve the cert_t file label for SSL private keys only and
label the generic SSL certificates as standard files (e.g.
etc_t for files in /etc/pki/ or usr_t for files in /usr/
subdirectories).

This part (1/2) refers to the base policy changes.

Signed-off-by: Guido Trentalancia <guido@trentalancia.com>
---
 policy/modules/system/miscfiles.fc |    1 -
 1 file changed, 1 deletion(-)

diff -pru a/policy/modules/system/miscfiles.fc b/policy/modules/system/miscfiles.fc
--- a/policy/modules/system/miscfiles.fc	2017-11-04 20:14:02.301932938 +0100
+++ b/policy/modules/system/miscfiles.fc	2017-11-05 03:00:59.361768672 +0100
@@ -11,7 +11,6 @@ ifdef(`distro_gentoo',`
 /etc/avahi/etc/localtime --	gen_context(system_u:object_r:locale_t,s0)
 /etc/httpd/alias/[^/]*\.db(\.[^/]*)* -- gen_context(system_u:object_r:cert_t,s0)
 /etc/localtime		--	gen_context(system_u:object_r:locale_t,s0)
-/etc/pki(/.*)?			gen_context(system_u:object_r:cert_t,s0)
 /etc/ssl(/.*)?			gen_context(system_u:object_r:cert_t,s0)
 /etc/timezone		--	gen_context(system_u:object_r:locale_t,s0)
 

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-11-09 22:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-05  2:28 [refpolicy] [PATCH 1/2] base: label generic SSL certificates as standard files Guido Trentalancia
2017-11-05  0:39 ` Russell Coker
2017-11-05  3:02   ` Guido Trentalancia
2017-11-05  2:55 ` [refpolicy] [PATCH 1/2 v2] " Guido Trentalancia
2017-11-05  3:06   ` [refpolicy] [PATCH 1/2 v3] " Guido Trentalancia
2017-11-05  4:43     ` [refpolicy] [PATCH 1/2 v4] " Guido Trentalancia
2017-11-05 22:32       ` [refpolicy] [PATCH 1/2 v5] base: create a type for SSL private keys (was: "label generic SSL certificates as standard files") Guido Trentalancia
2017-11-08  1:48         ` [refpolicy] [PATCH 1/2 v5] base: create a type for SSL private keys Chris PeBenito
2017-11-08 14:55           ` Guido Trentalancia
2017-11-08 17:30           ` [refpolicy] [PATCH 1/2 v6] " Guido Trentalancia
2017-11-09 22:26             ` Chris PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.