Skip to content
Snippets Groups Projects
Commit d6af2cbd authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

Allow debuggerd to access native tests am: 926dc331

am: 82a8f40c

Change-Id: Ib4381b68788d5b8bd768d5a39cb4f914e51a1856
parents 715b3112 82a8f40c
No related branches found
No related tags found
No related merge requests found
......@@ -300,6 +300,7 @@
/data/media(/.*)? u:object_r:media_rw_data_file:s0
/data/mediadrm(/.*)? u:object_r:media_data_file:s0
/data/nativetest(/.*)? u:object_r:nativetest_data_file:s0
/data/nativetest64(/.*)? u:object_r:nativetest_data_file:s0
/data/property(/.*)? u:object_r:property_data_file:s0
/data/preloads(/.*)? u:object_r:preloads_data_file:s0
......
......@@ -55,6 +55,12 @@ allow debuggerd {
# Connect to system_server via /data/system/ndebugsocket.
unix_socket_connect(debuggerd, system_ndebug, system_server)
# Get stack traces for VTS executables
userdebug_or_eng(`
allow debuggerd nativetest_data_file:dir search;
allow debuggerd nativetest_data_file:file r_file_perms;
')
userdebug_or_eng(`
allow debuggerd input_device:dir r_dir_perms;
allow debuggerd input_device:chr_file rw_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment