Skip to content
Snippets Groups Projects
Commit a5066135 authored by Stephen Smalley's avatar Stephen Smalley
Browse files

Fix denials triggered by adb shell screencap.


Change-Id: Ief925f1f49a6579d5a7a1035f3732834238fa590
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent 5f290264
No related branches found
No related tags found
No related merge requests found
......@@ -71,5 +71,5 @@ allow dumpstate self:capability sys_ptrace;
# Allow the bugreport service to create a file in
# /data/data/com.android.shell/files/bugreports/bugreport
allow dumpstate shell_data_file:dir rw_dir_perms;
allow dumpstate shell_data_file:dir create_dir_perms;
allow dumpstate shell_data_file:file create_file_perms;
......@@ -42,4 +42,5 @@ allow surfaceflinger bootanim:fd use;
# Allow a dumpstate triggered screenshot
binder_call(surfaceflinger, dumpstate)
binder_call(surfaceflinger, shell)
allow surfaceflinger shell_data_file:file write;
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