]> git.baikalelectronics.ru Git - kernel.git/commit
Driver core: warn when userspace writes to the uevent file in a non-supported way
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 5 Apr 2007 23:40:38 +0000 (01:40 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 17:57:31 +0000 (10:57 -0700)
commit81fafe5dc676cdc139ef0bc2d834db36014b530d
tree11b0a9e75f2e7f80cf4a2617d74a0d6caaa023d5
parentb286b0af9d52cc95a90f8c2246dfea35cbc9ef3c
Driver core: warn when userspace writes to the uevent file in a non-supported way

In the future we will allow the uevent type to be written to the uevent
file to trigger the different types of uevents.  But for now, as we only
support the ADD event, warn if userspace tries to write anything else to
this file.

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