Skip to content
Snippets Groups Projects
Commit f6ca1605 authored by Haiqing Jiang's avatar Haiqing Jiang Committed by Stephen Smalley
Browse files

installd unlink platform_app_data_file

parent 7585fc64
No related branches found
No related tags found
No related merge requests found
......@@ -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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment