Re: [PATCH 0/2] Fix return code and improve feature check for synthetic uevents

2018-12-06 Thread Peter Rajnoha
Dňa 5. 12. 2018 o 17:30 Greg KH napísal(a): > On Wed, Dec 05, 2018 at 12:27:43PM +0100, Peter Rajnoha wrote: >> 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

Re: [PATCH 0/2] Fix return code and improve feature check for synthetic uevents

2018-12-05 Thread Greg KH
On Wed, Dec 05, 2018 at 12:27:43PM +0100, Peter Rajnoha wrote: > 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

[PATCH 0/2] Fix return code and improve feature check for synthetic uevents

2018-12-05 Thread 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