Commit graph

7 commits

Author SHA1 Message Date
Dennis Song
6c82faf70b Explicitly set user root for the gs_watchdogd service. am: f25cb6895f
Original change: https://android-review.googlesource.com/c/device/google/gs-common/+/3250951

Change-Id: I58b8abe45d82b6ea620d6e623c4716785a992c76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-30 09:29:18 +00:00
Dennis Song
f25cb6895f Explicitly set user root for the gs_watchdogd service.
Otherwise host_init_verifier would fail.

Bug: 362447627
Test: Treehugger
Merged-In: I36a3a67dc357f608b33a131a4e5f6fd6defb91e5
Change-Id: I36a3a67dc357f608b33a131a4e5f6fd6defb91e5
2024-08-30 08:27:36 +00:00
Woody Lin
de061720c3 gs_watchdogd: Support multiple watchdog char devices
Handles systems with multiple watchdog hardware blocks. Identifies
each watchdog via the glob pattern
`/sys/devices/platform/*.watchdog_cl*/watchdog/watchdog*` to sysfs
path, and initializes and services each of them.

Bug: 295364297
Change-Id: I785c84e492a2286a5155a5b4692dae2a95df0cc4
2024-04-15 05:17:06 +00:00
Martin Liu
c04e69ae62 gs_watchdogd: add shutdown critical option
Watchdogd should be alive to complete shutdown
safely. This also aligns the behavior with previous
watchdogd.

Bug: 267080705
Test: boot
Change-Id: Iad85a0d730d032ae57530e0aa6965e2123488b2f
Signed-off-by: Martin Liu <liumartin@google.com>
2023-02-16 13:09:39 +08:00
Adam Shih
0f84ba2bb5 Put gs_watchdog settings to one place
Bug: 248428203
Test: gs_watchdog is still in system_ext
Change-Id: Iaa0e1871a4459af02a004f7b3b2861b53709c608
2022-09-28 10:30:51 +08:00
Woody Lin
bf92479fde gs_watchdogd: Start despite stage
Bug: 238701471
Change-Id: I09da0de6b084346b33474ff728045f98cb9591c1
2022-07-27 06:04:38 +00:00
Woody Lin
70a0dbc66d gs_watchdogd: Add platform watchdog daemon
Bug: 238701471
Change-Id: Ib49ad5f31fdcda7d2d115b2de1bc429e4788100c
2022-07-19 15:13:00 +08:00