Chromium OS userland watchdog daemon

Clone this repo:
  1. 5f43026 daisydog: use minimalistic-mountns minijail profile by Mike Frysinger · 7 months ago factory-grunt-11164.B factory-nami-10715.B factory-nocturne-10984.B factory-nocturne-11066.B factory-rammus-11289.B firmware-grunt-11031.B firmware-nami-10775.B firmware-nocturne-10984.B firmware-octopus-11297.B firmware-rammus-11275.B firmware-servo-11011.B master release-R68-10718.B release-R69-10895.B release-R70-11021.B release-R71-11151.B release-R72-11316.B stabilize-10718.111.B stabilize-10718.69.B stabilize-10718.71.B stabilize-10718.88.B stabilize-10866.B stabilize-10895.56.B stabilize-10895.B stabilize-10985.B stabilize-11005.B stabilize-11020.B stabilize-11021.84.B stabilize-11101.B stabilize-11151.59.B stabilize-11217.B stabilize-11306.B stabilize-atlas-11022.B stabilize-atlas-11177.B stabilize-atlas.10736.B stabilize-atlas.10819.B stabilize-jetstream-11056.B stabilize-nocturne-10986.B stabilize-nocturne.10736.B stabilize-nocturne.10819.B stabilize-nocturne.10828.B
  2. 96d9e30 Use NoNewPrivs for daisydog. by Jorge Lucangeli Obes · 1 year, 6 months ago factory-coral-10122.B factory-fizz-10167.B factory-poppy-10504.B factory-scarlet-10211.B factory-soraka-10323.39.B firmware-coral-10068.B firmware-fizz-10139.117.B firmware-fizz-10139.94.B firmware-fizz-10139.B firmware-poppy-10431.B firmware-scarlet-10388.B firmware-scribe-10045.B release-R61-9765.B release-R62-9901.B release-R63-10032.B release-R64-10176.B release-R65-10323.B release-R66-10452.B release-R67-10575.B stabilize-10032.56.B stabilize-10032.68.B stabilize-10032.71.B stabilize-10032.72.B stabilize-10032.75.B stabilize-10032.86.B stabilize-10176.13.B stabilize-10176.47.B stabilize-10176.54.B stabilize-10176.58.B stabilize-10176.65.B stabilize-10323.29.B stabilize-10323.30.B stabilize-10323.31.B stabilize-10323.58.B stabilize-10323.62.B stabilize-10323.67.B stabilize-10443.B stabilize-10452.81.B stabilize-10452.85.B stabilize-10452.90.B stabilize-10452.96.B stabilize-10569.B stabilize-10575.54.B stabilize-10575.58.B stabilize-10682.B stabilize-9756.B stabilize-9765.39.B stabilize-9765.65.B stabilize-9765.7.B stabilize-9765.76.B stabilize-9901.35.B stabilize-9901.53.B stabilize-9901.54.B stabilize-9901.77.B stabilize-9998.B stabilize-meowth-10444.B stabilize-meowth-10574.B stabilize-nocturne.10646.B
  3. f21d857 README: convert to markdown for gitiles by Mike Frysinger · 1 year, 9 months ago factory-eve-9667.B firmware-eve-9584.B firmware-eve-campfire-9584.131.B firmware-rowan-9516.B firmware-twinkie-9628.B release-R59-9460.B release-R60-9592.B stabilize-9428.B stabilize-9430.B stabilize-9460.23.B stabilize-9460.4.B stabilize-9460.40.B stabilize-9460.60.B stabilize-9460.66.B stabilize-9460.73.B stabilize-9517.B stabilize-9554.B stabilize-9592.15.B stabilize-9592.55.B stabilize-9592.67.B stabilize-9592.82.B stabilize-9693.B
  4. 60338a8 init: log a metric when service startup fails by Mike Frysinger · 2 years ago firmware-cr50-9308.24.B firmware-cr50-9308.B firmware-cr50-9324.B firmware-cr50-guc-factory-9308.26.B firmware-cr50-mp-release-9308.87.B firmware-cr50-release-9308.25.B release-R57-9202.B release-R58-9334.B stabilize-9093.B stabilize-9157.B stabilize-9199.B stabilize-9202.18.B stabilize-9202.28.B stabilize-9202.56.B stabilize-9202.64.B stabilize-9202.B stabilize-9313.B stabilize-9334.58.B stabilize-M57-9202.35.0.B stabilize-M58-9334.41.0.B stabilize-fsi-9202.10.B stabilize-fsi-9202.5.0.B
  5. 8a756a4 init: halt service if initial check fails by Mike Frysinger · 2 years ago

GPL Code is copied with explicit permission from Daniel Widyanto:
http://embeddedfreak.wordpress.com/2010/08/23/howto-use-linux-watchdog/

The project name is based on Samsung's “daisy” reference board design and I liked this quote from the daisy dog FAQ:

Daisy Dogs are not persnickety little ankle biters

When this daisydog doesn't run, the machine should reset. :)

An alternative code to start with would have been:
https://dev.openwrt.org/ticket/2270

The watchdog project is alot more complicated than what the Chromium OS project needs.