public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix return code and improve feature check for synthetic uevents
@ 2018-12-05 11:27 Peter Rajnoha
  2018-12-05 11:27 ` [PATCH 1/2] kobject: return error code if writing /sys/.../uevent fails Peter Rajnoha
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Peter Rajnoha @ 2018-12-05 11:27 UTC (permalink / raw)
  To: gregkh, rafael, jeyu, linux-kernel; +Cc: msekleta, Peter Rajnoha

Two small patches to aid handling of synthetic uevents back in userspace:

  - Return error code back to userspace on /sys/.../uevent file write
    failure so userspace knows and it can act accordingly.

  - Add new 'kernel/uevent_features' sysfs file to make it possible for
    userspace to check that the extended synthetic uevent arguments are
    supported without relying on kernel version check only.

Peter Rajnoha (2):
  kobject: return error code if writing /sys/.../uevent fails
  kobject: add kernel/uevent_features sysfs file

 drivers/base/bus.c  | 12 ++++++++----
 drivers/base/core.c |  8 +++++++-
 kernel/ksysfs.c     |  8 ++++++++
 kernel/module.c     |  6 ++++--
 4 files changed, 27 insertions(+), 7 deletions(-)

-- 
2.19.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-04-29 17:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-05 11:27 [PATCH 0/2] Fix return code and improve feature check for synthetic uevents Peter Rajnoha
2018-12-05 11:27 ` [PATCH 1/2] kobject: return error code if writing /sys/.../uevent fails Peter Rajnoha
2021-04-29 13:40   ` Phillip Susi
2021-04-29 17:27     ` Greg KH
2018-12-05 11:27 ` [PATCH 2/2] kobject: add kernel/uevent_features sysfs file Peter Rajnoha
2018-12-06 15:07   ` Greg KH
2018-12-05 16:30 ` [PATCH 0/2] Fix return code and improve feature check for synthetic uevents Greg KH
2018-12-06  8:40   ` Peter Rajnoha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox