All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] Add allow_gssd_write_tmp boolean
@ 2014-07-23 20:31 Jason Zaman
  2014-07-24  8:35 ` Miroslav Grepl
  2014-07-25 12:19 ` Christopher J. PeBenito
  0 siblings, 2 replies; 6+ messages in thread
From: Jason Zaman @ 2014-07-23 20:31 UTC (permalink / raw)
  To: refpolicy

gssd needs to be able to add entries to the kerberos credential
cache. This adds a boolean to allow that.
---
 rpc.te | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/rpc.te b/rpc.te
index 1a6dcc0..f2e44d5 100644
--- a/rpc.te
+++ b/rpc.te
@@ -15,6 +15,14 @@ gen_tunable(allow_gssd_read_tmp, false)
 
 ## <desc>
 ##	<p>
+##	Determine whether gssd can write
+##	generic user temporary content.
+##	</p>
+## </desc>
+gen_tunable(allow_gssd_write_tmp, false)
+
+## <desc>
+##	<p>
 ##	Determine whether nfs can modify
 ##	public files used for public file
 ##	transfer services. Directories/Files must
@@ -309,6 +317,11 @@ tunable_policy(`allow_gssd_read_tmp',`
 	userdom_read_user_tmp_symlinks(gssd_t)
 ')
 
+tunable_policy(`allow_gssd_write_tmp',`
+	userdom_list_user_tmp(gssd_t)
+	userdom_write_user_tmp_files(gssd_t)
+')
+
 optional_policy(`
 	automount_signal(gssd_t)
 ')
-- 
1.8.5.5

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

end of thread, other threads:[~2014-07-25 18:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-23 20:31 [refpolicy] [PATCH] Add allow_gssd_write_tmp boolean Jason Zaman
2014-07-24  8:35 ` Miroslav Grepl
2014-07-24  9:00   ` Jason Zaman
2014-07-25 12:19 ` Christopher J. PeBenito
2014-07-25 12:37   ` Jason Zaman
2014-07-25 18:38     ` Daniel J Walsh

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.