[PATCH] external/sepolicy: mediaserver open application data files
According to Stephen's comments, I add the open permission over app_data_file to mediaserver.
--
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.
PATCH 1/1 external/sepolicy: mediaserver open application data files
--- mediaserver.te | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
mediaserver.te +1 -1
@@ -11,7 +11,7 @@ binder_call(mediaserver, binderservicedomain) binder_call(mediaserver, appdomain) binder_service(mediaserver) allow mediaserver app_data_file:dir search; -allow mediaserver app_data_file:file { read getattr }; +allow mediaserver app_data_file:file r_file_perms; r_dir_file(mediaserver, sdcard) allow mediaserver sdcard:file write; allow mediaserver camera_device:chr_file rw_file_perms;
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.
Stephen Smalley
AppliedRe: [PATCH] external/sepolicy: mediaserver open application data files
Quoted 3 lines · Haiqing Jiang
--- mediaserver.te | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, applied.
Quoted 14 lines
mediaserver.te +1
-1@@ -11,7 +11,7 @@ binder_call(mediaserver, binderservicedomain) binder_call(mediaserver, appdomain) binder_service(mediaserver) allow mediaserver app_data_file:dir search; -allow mediaserver app_data_file:file { read getattr }; +allow mediaserver app_data_file:file r_file_perms; r_dir_file(mediaserver, sdcard) allow mediaserver sdcard:file write; allow mediaserver camera_device:chr_file rw_file_perms;
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.