[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181205112745.12276-1-prajnoha@redhat.com>
Date: Wed, 5 Dec 2018 12:27:43 +0100
From: Peter Rajnoha <prajnoha@...hat.com>
To: gregkh@...uxfoundation.org, rafael@...nel.org, jeyu@...nel.org,
linux-kernel@...r.kernel.org
Cc: msekleta@...hat.com, Peter Rajnoha <prajnoha@...hat.com>
Subject: [PATCH 0/2] Fix return code and improve feature check for synthetic uevents
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
Powered by blists - more mailing lists