diff options
author | Juerg Haefliger <juerg.haefliger@canonical.com> | 2021-05-11 08:18:12 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2021-06-21 08:49:03 +0200 |
commit | 3bb21781d13516baf14dc051dbe2b3145c704cda (patch) | |
tree | 60a0b0c558688435c85d38bd5f6ae04e9fb34c0c /Makefile | |
parent | watchdog: Fix possible use-after-free by calling del_timer_sync() (diff) | |
download | linux-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