diff options
-rw-r--r-- | cmds/atrace/atrace.rc | 1 | ||||
-rw-r--r-- | cmds/dumpstate/dumpstate.rc | 3 | ||||
-rw-r--r-- | cmds/installd/installd.rc | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/cmds/atrace/atrace.rc b/cmds/atrace/atrace.rc index 6469e95a8d..c3cf2c2a60 100644 --- a/cmds/atrace/atrace.rc +++ b/cmds/atrace/atrace.rc @@ -533,6 +533,7 @@ on property:persist.debug.atrace.boottrace=1 # Run atrace with the categories written in a file service boottrace /system/bin/atrace --async_start -f /data/misc/boottrace/categories + user root disabled oneshot diff --git a/cmds/dumpstate/dumpstate.rc b/cmds/dumpstate/dumpstate.rc index a80da4ec55..d0030dd820 100644 --- a/cmds/dumpstate/dumpstate.rc +++ b/cmds/dumpstate/dumpstate.rc @@ -8,6 +8,7 @@ service dumpstate /system/bin/dumpstate -s socket dumpstate stream 0660 shell log disabled oneshot + user root # dumpstatez generates a zipped bugreport but also uses a socket to print the file location once # it is finished. @@ -16,9 +17,11 @@ service dumpstatez /system/bin/dumpstate -S class main disabled oneshot + user root # bugreportd starts dumpstate binder service and makes it wait for a listener to connect. service bugreportd /system/bin/dumpstate -w class main disabled oneshot + user root diff --git a/cmds/installd/installd.rc b/cmds/installd/installd.rc index 5b08c776ac..525f0c8761 100644 --- a/cmds/installd/installd.rc +++ b/cmds/installd/installd.rc @@ -1,6 +1,7 @@ service installd /system/bin/installd class main + user root capabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER FSETID KILL SETGID SETUID SYS_ADMIN on early-boot |