driver core: allow non-root users to listen to uevents
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 3 Apr 2009 17:04:15 +0000 (19:04 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Apr 2009 23:17:09 +0000 (16:17 -0700)
commitd094cbe998eb566d47552aa9d3c26c9123a7b858
tree23a7885b127939f3c5b2ba98c08db8dd8a3b1185
parent5247aecfe62266ffdedf2fc9e4243638554455b6
driver core: allow non-root users to listen to uevents

Users can read sysfs files, there is no reason they should not be
allowed to listen to uevents.  This lets xorg and other userspace
programs properly get these messages without having to be root.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject_uevent.c