Skip to content
Snippets Groups Projects
Commit e993b62c authored by Dongwon Kang's avatar Dongwon Kang
Browse files

Allow sdcardfs:file read access on mediaextractor

Test: pass Multimedia File Compatibility test
Test: time to start playing mid file with GPM: ~10s => ~1.2s
Bug: 76422052, Bug: 67480585, Bug: 30751071
Change-Id: I4e9824b21dab1dafdcca5824367a7fe39a37e2f7
parent c170107a
No related branches found
No related tags found
No related merge requests found
......@@ -22,10 +22,8 @@ allow mediaextractor proc_meminfo:file r_file_perms;
crash_dump_fallback(mediaextractor)
# Suppress denials from sdcardfs (b/67454004)
dontaudit mediaextractor sdcardfs:file read;
# allow mediaextractor read permissions for file sources
allow mediaextractor sdcardfs:file { getattr read };
allow mediaextractor media_rw_data_file:file { getattr read };
allow mediaextractor app_data_file:file { getattr read };
......
......@@ -22,10 +22,8 @@ allow mediaextractor proc_meminfo:file r_file_perms;
crash_dump_fallback(mediaextractor)
# Suppress denials from sdcardfs (b/67454004)
dontaudit mediaextractor sdcardfs:file read;
# allow mediaextractor read permissions for file sources
allow mediaextractor sdcardfs:file { getattr read };
allow mediaextractor media_rw_data_file:file { getattr read };
allow mediaextractor app_data_file:file { getattr read };
......
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