lkml.org 
[lkml]   [2018]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Fix return code and improve feature check for synthetic uevents
Date
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

\
 
 \ /
  Last update: 2018-12-05 12:29    [W:0.133 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site