[PATCH 0/5] Improvements to the hardware watchdog code of procd

Michael Jones mike at meshplusplus.com
Tue Sep 29 12:21:54 EDT 2020


This set of patches makes various minor improvements to the hardware
watchdog code of procd.

The first patch adds a new feature to allow the watchdog to be manually
tickled via ubus.

The other patches are minor optimizations and improvements.

Michael Jones (5):
  initd: Add ubus argument to trigger watchdog tickle.
  initd: Re-use the watchdog_set_cloexec() function from watchdog_open()
  initd: Ensure that watchdog frequency changes apply right away
  initd: Don't search the environment list if the watchdog fd is initialized
  initd: Convert the watchdog_fd return value from char* to int

 initd/preinit.c | 11 ++++++++---
 system.c        |  7 ++++++-
 sysupgrade.c    |  8 +++++---
 watchdog.c      | 19 ++++++-------------
 watchdog.h      |  6 +++---
 5 files changed, 28 insertions(+), 23 deletions(-)

-- 
2.26.2




More information about the openwrt-devel mailing list