lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 19 Dec 2022 21:30:39 +0000
From:   Thomas Weißschuh <linux@...ssschuh.net>
To:     Wim Van Sebroeck <wim@...ux-watchdog.org>,
        Guenter Roeck <linux@...ck-us.net>
Cc:     linux-kernel@...r.kernel.org, linux-watchdog@...r.kernel.org,
        Thomas Weißschuh <linux@...ssschuh.net>,
        Wim Van Sebroeck <wim@...ana.be>
Subject: [PATCH v2 0/2] watchdog: report all watchdog_ident information via sysfs

This synchronizes the information reported by ioctl and sysfs.
The mismatch is confusing because "wdctl" from util-linux uses the ioctl
when used with root privileges and sysfs without.

Userspace implementation: https://github.com/util-linux/util-linux/pull/1927

To: Wim Van Sebroeck <wim@...ux-watchdog.org>
To: Guenter Roeck <linux@...ck-us.net>
Cc: linux-kernel@...r.kernel.org
Cc: linux-watchdog@...r.kernel.org
Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
---

Changes in v2:
- Report options in addition to firmware_version
- Add documentation
- Rename firmware_version to fw_version to avoid conflicts
- Link to v1: https://lore.kernel.org/r/20221214-nsfs-ioctl-compat-v1-0-b169796000b2@weissschuh.net

---
Thomas Weißschuh (2):
      watchdog: report fw_version in sysfs
      watchdog: report options in sysfs

 Documentation/ABI/testing/sysfs-class-watchdog | 13 +++++++++++++
 drivers/watchdog/watchdog_dev.c                | 20 ++++++++++++++++++++
 2 files changed, 33 insertions(+)
---
base-commit: 6feb57c2fd7c787aecf2846a535248899e7b70fa
change-id: 20221216-watchdog-sysfs-b2ce9f8f449b

Best regards,
-- 
Thomas Weißschuh <linux@...ssschuh.net>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ