All of lore.kernel.org
 help / color / mirror / Atom feed
From: sven.vermeulen@siphos.be (Sven Vermeulen)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 09/11] Support GnuPG integration in Portage
Date: Tue, 23 Aug 2011 15:44:56 +0200	[thread overview]
Message-ID: <20110823134456.GJ857@siphos.be> (raw)
In-Reply-To: <20110823133643.GA857@siphos.be>

To support GnuPG integration in Portage (such as validating the signature of
snapshots), we need to add portage_search_conf_dirs rights (have GnuPG find its
keys in /etc/portage/gnupg) and portage_read_tmp_files (where the snapshot will
be stored and later extracted).

Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
 policy/modules/apps/gpg.te |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/policy/modules/apps/gpg.te b/policy/modules/apps/gpg.te
index 9050e8c..bde06f6 100644
--- a/policy/modules/apps/gpg.te
+++ b/policy/modules/apps/gpg.te
@@ -147,6 +147,11 @@ optional_policy(`
 ')
 
 optional_policy(`
+	portage_search_conf_dirs(gpg_t)
+	portage_read_tmp_files(gpg_t)
+')
+
+optional_policy(`
 	xserver_use_xdm_fds(gpg_t)
 	xserver_rw_xdm_pipes(gpg_t)
 ')
-- 
1.7.3.4

  parent reply	other threads:[~2011-08-23 13:44 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-23 13:36 [refpolicy] [PATCH v2 0/11] Portage-related updates Sven Vermeulen
2011-08-23 13:39 ` [refpolicy] [PATCH 01/11] Introduce portage_dontaudit_use_fds Sven Vermeulen
2011-08-25 11:46   ` Christopher J. PeBenito
2011-08-23 13:39 ` [refpolicy] [PATCH 02/11] Do not audit the use of portage' filedescriptors from load_policy_t Sven Vermeulen
2011-08-25 11:47   ` Christopher J. PeBenito
2011-08-23 13:40 ` [refpolicy] [PATCH 03/11] Introduce rc_exec_t as secundary entry file for initrc_t Sven Vermeulen
2011-08-25 11:40   ` Christopher J. PeBenito
2011-08-25 20:11     ` Sven Vermeulen
2011-08-30 12:20       ` Christopher J. PeBenito
2011-08-30 13:30         ` Christopher J. PeBenito
2011-08-23 13:41 ` [refpolicy] [PATCH 04/11] Allow gcc-config to execute /sbin/rc without transitioning Sven Vermeulen
2011-08-23 13:41 ` [refpolicy] [PATCH 05/11] Gentoo's integrated run_init support re-executes /sbin/rc Sven Vermeulen
2011-08-23 13:43 ` [refpolicy] [PATCH 06/11] Allow the sysadm domain to execute /sbin/rc without transitioning Sven Vermeulen
2011-08-23 13:43 ` [refpolicy] [PATCH 07/11] Introduce portage_fetch_t as an application domain Sven Vermeulen
2011-08-23 13:44 ` [refpolicy] [PATCH 08/11] Introduce search_conf_dirs and read_tmp_files interfaces for Portage Sven Vermeulen
2011-08-23 13:44 ` Sven Vermeulen [this message]
2011-08-23 13:46 ` [refpolicy] [PATCH 10/11] Allow cron to execute portage commands Sven Vermeulen
2011-08-25 11:36   ` Christopher J. PeBenito
2011-08-23 13:46 ` [refpolicy] [PATCH 11/11] Allow portage to call GnuPG Sven Vermeulen
2011-08-25 11:37   ` Christopher J. 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=20110823134456.GJ857@siphos.be \
    --to=sven.vermeulen@siphos.be \
    --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.