]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - lib/kobject_uevent.c
driver core: allow non-root users to listen to uevents
[karo-tx-linux.git] / lib / kobject_uevent.c
index dafeecf5b143d6f93adbf8886147751dda142857..920a3ca6e2590ddc3d64950a729441758d0a5ce5 100644 (file)
@@ -328,7 +328,7 @@ static int __init kobject_uevent_init(void)
                       "kobject_uevent: unable to create netlink socket!\n");
                return -ENODEV;
        }
-
+       netlink_set_nonroot(NETLINK_KOBJECT_UEVENT, NL_NONROOT_RECV);
        return 0;
 }