All of lore.kernel.org
 help / color / mirror / Atom feed
From: russell@coker.com.au (Russell Coker)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 2/2] contrib: let the mozilla and java domain read generic SSL certificates
Date: Sun, 05 Nov 2017 11:43:54 +1100	[thread overview]
Message-ID: <29063738.lCU0cDMKUS@xev> (raw)
In-Reply-To: <1509848952.10522.10.camel@trentalancia.com>

On Sunday, 5 November 2017 3:29:12 AM AEDT Guido Trentalancia via refpolicy 
wrote:
> Let mozilla read generic SSL certificates so that the browser
> can verify them when loading HTTPS web pages.
> 
> Let the java domain read the above mentioned files in the
> standard locations.
> 
> +files_read_etc_files(mozilla_t)

auth_use_nsswitch(mozilla_t)

The above should already cover that.

> +files_read_etc_files(mozilla_plugin_t)

auth_use_nsswitch(mozilla_plugin_t)

The above should cover it.

> diff -pru a/policy/modules/contrib/java.te b/policy/modules/contrib/java.te
> --- a/policy/modules/contrib/java.te	2017-09-29 19:01:55.158455647 +0200
> +++ b/policy/modules/contrib/java.te	2017-11-05 03:12:56.591765740 +0100
> @@ -95,6 +95,7 @@ dev_read_rand(java_domain)
>  dev_dontaudit_append_rand(java_domain)
> 
>  files_read_usr_files(java_domain)
> +files_read_etc_files(java_domain)
>  files_read_etc_runtime_files(java_domain)

auth_use_nsswitch(java_t)

Seems to be covered too.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

  reply	other threads:[~2017-11-05  0:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-05  2:29 [refpolicy] [PATCH 2/2] contrib: let the mozilla and java domain read generic SSL certificates Guido Trentalancia
2017-11-05  0:43 ` Russell Coker [this message]
2017-11-05  2:52   ` Guido Trentalancia
2017-11-05  4:20 ` [refpolicy] [PATCH 2/2 v2] contrib: let the mozilla and other domains " Guido Trentalancia
2017-11-05 19:00   ` [refpolicy] [PATCH 2/2 v3] " Guido Trentalancia
2017-11-05 22:32     ` [refpolicy] [PATCH 2/2 v4] contrib: use the new SSL private keys type (was: "let the mozilla and other domains read generic SSL certificates") Guido Trentalancia
2017-11-06  4:53       ` Russell Coker
2017-11-06 17:43         ` Guido Trentalancia
2017-11-08 17:30       ` [refpolicy] [PATCH 2/2 v5] " Guido Trentalancia
2017-11-09 22:26         ` [refpolicy] [PATCH 2/2 v5] contrib: use the new SSL private keys type Chris PeBenito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29063738.lCU0cDMKUS@xev \
    --to=russell@coker.com.au \
    --cc=refpolicy@oss.tresys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.