Merge "Add setuid/setgid capabilities to simpleperf_app_runner."

This commit is contained in:
Yabin Cui 2019-01-24 18:39:13 +00:00 committed by Gerrit Code Review
commit c87d1ed611
2 changed files with 4 additions and 0 deletions

View file

@ -197,6 +197,9 @@ static const struct fs_path_config android_files[] = {
{ 00750, AID_ROOT, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) |
CAP_MASK_LONG(CAP_SETGID),
"system/bin/run-as" },
{ 00750, AID_ROOT, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) |
CAP_MASK_LONG(CAP_SETGID),
"system/bin/simpleperf_app_runner" },
// Support FIFO scheduling mode in SurfaceFlinger.
{ 00755, AID_SYSTEM, AID_GRAPHICS, CAP_MASK_LONG(CAP_SYS_NICE),

View file

@ -19,6 +19,7 @@ phony {
"reboot",
"sh",
"simpleperf",
"simpleperf_app_runner",
"tcpdump",
"toolbox",
"toybox",