USB: snoop processes opening usbfs device files
commit2da41d5f6c036e7a6e496a7e601a685f8b87acb0
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 6 Oct 2008 15:24:26 +0000 (6 11:24 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:41:03 +0000 (17 14:41 -0700)
treef3bbc143b16e63fa3950f3379851504add6e4d97
parentbb78a825fa91621e52b9a5409fd9ef07895275bf
USB: snoop processes opening usbfs device files

This patch (as1148) adds a new "snoop" message to usbfs when a device
file is opened, identifying the process responsible.  This comes in
extremely handy when trying to determine which program is doing some
unwanted USB access.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/devio.c