summaryrefslogtreecommitdiff
path: root/code_coverage/seccomp_policy
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2020-02-26 15:18:56 +0000
committerNikita Ioffe <ioffe@google.com>2020-02-27 13:06:37 +0000
commit2389cc52f2aba580094d87d341ab0001766f3041 (patch)
treed2270d8cb40667693683a0f76a9f510edad0d662 /code_coverage/seccomp_policy
parentc5cf8941ec1872b6641158ffc5a59085edaeffb0 (diff)
If userspace reboot watchdog triggers, don't store reason in persistent property
If init is wedged, then the write will never succeed and reboot won't happen. Also, in case of normal reboot, move call to PersistRebootReason to the top of DoReboot() function, to make sure we persist it even if /data is not mounted. Test: builds Test: adb shell svc power reboot userspace Test: atest CtsUserspaceRebootHostSideTestCases Bug: 148767783 Change-Id: I4ae40e1f6fdc41cc0bcae57020fa3d3385dda1b4
Diffstat (limited to 'code_coverage/seccomp_policy')
0 files changed, 0 insertions, 0 deletions