All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] apt: remove non-existing permission set write_dir_perms
@ 2014-03-15 17:13 Nicolas Iooss
  2014-04-04 19:15 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Iooss @ 2014-03-15 17:13 UTC (permalink / raw)
  To: refpolicy

write_dir_perms doesn't exist in policy/support/obj_perm_sets.spt so this
patch removes the buggy dontaudit statement from apt_read_cache.
---
 apt.if | 1 -
 1 file changed, 1 deletion(-)

diff --git a/apt.if b/apt.if
index cde81d2..0a1bc49 100644
--- a/apt.if
+++ b/apt.if
@@ -171,7 +171,6 @@ interface(`apt_read_cache',`
 
 	files_search_var($1)
 	allow $1 apt_var_cache_t:dir list_dir_perms;
-	dontaudit $1 apt_var_cache_t:dir write_dir_perms;
 	allow $1 apt_var_cache_t:file read_file_perms;
 ')
 
-- 
1.9.0

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

end of thread, other threads:[~2014-04-04 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-15 17:13 [refpolicy] [PATCH] apt: remove non-existing permission set write_dir_perms Nicolas Iooss
2014-04-04 19:15 ` Christopher J. 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.