Skip to contentSkip to conversation

apt: remove non-existing permission set write_dir_perms

PATCH New Nicolas Iooss 2 participants 2 messages Mar 15, 2014 – Apr 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apt: remove non-existing permission set write_dir_perms

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(-)
apt.if +0 -1
index cde81d2..0a1bc49 100644
@@ -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;
 ')
 
Signature · 1 line
1.9.0
#1 lore raw

PATCH 1/1 apt: remove non-existing permission set write_dir_perms

Quoted 11 lines · Nicolas Iooss

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(-)
apt.if +0 -0
index cde81d2..0a1bc49 100644

apt.if interface(`apt_read_cache',` · line 175

Quoted 6 lines
apt.if +0 -1
@@ -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;
 ')

Merged.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com