installd unlink platform_app_data_file
PATCH 1/1 installd unlink platform_app_data_file
--- installd.te | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
installd.te +2 -1
@@ -20,5 +20,6 @@ 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 +# Unlink app_data_file and platform_app_data_file allow installd app_data_file:lnk_file unlink; +allow installd platform_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.
Quoted 9 lines · Haiqing Jiang
--- installd.te | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)installd.te +0
-0
installd.te dontaudit installd self:capability sys_admin; · line 25
Quoted 7 lines
installd.te +2
-1@@ -20,5 +20,6 @@ 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 +# Unlink app_data_file and platform_app_data_file allow installd app_data_file:lnk_file unlink; +allow installd platform_app_data_file:lnk_file unlink;
Just add lnk_file to the earlier rule for data_file_type and drop these two rules altogether.
Signature · 8 lines
Stephen Smalley National Security Agency -- 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.
Could you update the patch to branches? Thanks.
Quoted 26 lines · Stephen Smalley
Quoted 9 lines · Haiqing Jiang
--- installd.te | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)installd.te +0
-0installd.te dontaudit installd self:capability sys_admin; · line 25
Quoted 7 lines
installd.te +2
-1@@ -20,5 +20,6 @@ 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 +# Unlink app_data_file and platform_app_data_file allow installd app_data_file:lnk_file unlink; +allow installd platform_app_data_file:lnk_file unlink;Just add
lnk_fileto the earlier rule fordata_file_typeand drop these two rules altogether.--
Stephen Smalley
National Security Agency
Signature · 4 lines
----------------------------------- Haiqing Jiang, PH.D student Computer Science Department, North Carolina State University