Skip to contentSkip to conversation

installd unlink platform_app_data_file

PATCH New Haiqing Jiang 1 participant 1 message Jul 27, 2012 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 installd unlink platform_app_data_file

---
 installd.te |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
installd.te +1 -3
index ce9122b..2a87eb7 100644
@@ -10,7 +10,7 @@ allow installd system_data_file:lnk_file create;
 allow installd dalvikcache_data_file:file create_file_perms;
 allow installd data_file_type:dir create_dir_perms;
 allow installd data_file_type:dir { relabelfrom relabelto };
-allow installd data_file_type:file { getattr unlink };
+allow installd data_file_type:{ file lnk_file } { getattr unlink };
 allow installd apk_data_file:file r_file_perms;
 allow installd apk_tmp_file:file r_file_perms;
 allow installd system_file:file x_file_perms;
@@ -20,5 +20,3 @@ dontaudit installd self:capability sys_admin;
 selinux_check_context(installd)
 # Read /seapp_contexts, presently on the rootfs.
 allow installd rootfs:file r_file_perms;
-# Unlink app_data_file
-allow installd app_data_file:lnk_file unlink;
Signature · 7 lines
1.7.0.4


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.