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 4/4] Allow users to manage their xdg_* locations
Date: Mon, 3 Oct 2011 21:48:24 +0200	[thread overview]
Message-ID: <20111003194824.GE7129@siphos.be> (raw)
In-Reply-To: <20111003194606.GA7129@siphos.be>


The xdg locations as defined under the xdg module are all within a
users' HOMEDIR.

We allow the user to administer his xdg_* files.

Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
 policy/modules/system/userdomain.if |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if
index c6d3cc8..f7f7d44 100644
--- a/policy/modules/system/userdomain.if
+++ b/policy/modules/system/userdomain.if
@@ -267,6 +267,10 @@ interface(`userdom_manage_home_role',`
 		fs_dontaudit_manage_cifs_dirs($2)
 		fs_dontaudit_manage_cifs_files($2)
 	')
+
+	optional_policy(`
+		xdg_admin($2)
+	')
 ')
 
 #######################################
-- 
1.7.3.4

      parent reply	other threads:[~2011-10-03 19:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-03 19:46 [refpolicy] [PATCH 0/4] Introduce XDG type definition Sven Vermeulen
2011-10-03 19:46 ` [refpolicy] [PATCH 1/4] Introduce xdg types Sven Vermeulen
2011-10-03 19:47 ` [refpolicy] [PATCH 2/4] Allow the dbusd_t domains to read xdg data Sven Vermeulen
2011-10-03 19:47 ` [refpolicy] [PATCH 3/4] Allow mozilla " Sven Vermeulen
2011-10-03 19:48 ` Sven Vermeulen [this message]

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=20111003194824.GE7129@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.