aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorGottfried Haider <[email protected]>2017-09-26 11:59:51 +0000
committerThierry Reding <[email protected]>2017-12-05 09:24:58 +0100
commit7e5d1fd75c3dde9fc10c4472b9368089d1b81d00 (patch)
treec1988f3ec49717886bcf46b5f80ea0dc940c7da9 /net/unix/sysctl_net_unix.c
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
pwm: Set class for exported channels in sysfs
Notifications for devices without bus or class set get dropped by dev_uevent_filter(). Adding the class to the exported child matches what the GPIO subsystem is doing. With this change exporting a channel triggers a udev event, which gives userspace a chance to fixup permissions and makes it possible for non-root users to make use of the PWM subsystem. Signed-off-by: Gottfried Haider <[email protected]> CC: Thierry Reding <[email protected]> CC: H Hartley Sweeten <[email protected]> CC: [email protected] CC: [email protected] CC: [email protected] Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions