summaryrefslogtreecommitdiff
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2019-11-07 15:37:38 +0000
committerNikita Ioffe <ioffe@google.com>2019-11-14 23:10:54 +0000
commit82a431eb2fadf7a99b1649e028aba8a5d85931db (patch)
tree2a2a5b3d2c8d1d5af4972972972f4f6cfcd9ea9e /init/builtins.cpp
parent2ebe95ff2a69cb57ddd1be7da0de8a96835a9d0d (diff)
Add a very basic userspace reboot watchdog
Watchdog is just a forked process that is going to fall back to the full reboot in case device wasn't able to boot in given amount of time. Currently this amount is hard-coded to 1 minute, but in the future it will be controlled by a read-only property. Also added sync calls before and after tearing down services. Test: adb reboot userspace Bug: 135984674 Change-Id: Ie6053c9446a6761deae6dc104036bb35b09ef0e2
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions