summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJuerg Haefliger <juerg.haefliger@canonical.com>2021-05-11 08:18:12 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2021-06-21 08:49:03 +0200
commit3bb21781d13516baf14dc051dbe2b3145c704cda (patch)
tree60a0b0c558688435c85d38bd5f6ae04e9fb34c0c /Makefile
parentwatchdog: Fix possible use-after-free by calling del_timer_sync() (diff)
downloadlinux-3bb21781d13516baf14dc051dbe2b3145c704cda.tar.xz
linux-3bb21781d13516baf14dc051dbe2b3145c704cda.zip
watchdog: Use sysfs_emit() and sysfs_emit_at() in "show" functions
Convert sprintf() in sysfs "show" functions to sysfs_emit() and sysfs_emit_at() in order to check for buffer overruns in sysfs outputs. Signed-off-by: Juerg Haefliger <juergh@canonical.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20210511061812.480172-1-juergh@canonical.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions