Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge "Enable selinux read_policy for adb pull." into lmp-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dcashman authored and Android (Google) Code Review committed Sep 9, 2014
2 parents b0a9951 + 309cc66 commit 0406189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions adbd.te
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ allow adbd appdomain:unix_stream_socket connectto;
# ndk-gdb invokes adb pull of app_process, linker, and libc.so.
allow adbd zygote_exec:file r_file_perms;
allow adbd system_file:file r_file_perms;

allow adbd kernel:security read_policy;
2 changes: 0 additions & 2 deletions app.te
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ allow appdomain runas_exec:file getattr;
# Check SELinux policy and contexts.
selinux_check_access(appdomain)
selinux_check_context(appdomain)
# Enable reading of current selinux policy file
allow appdomain kernel:security read_policy;
# Validate that each process is running in the correct security context.
allow appdomain domain:process getattr;

Expand Down

0 comments on commit 0406189

Please sign in to comment.