android_kernel_xiaomi_sm8350/drivers/usb/core
David Howells cd80ca8a03 CRED: Wrap task credential accesses in the USB driver
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.

Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().

Change some task->e?[ug]id to task_e?[ug]id().  In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: linux-usb@vger.kernel.org
Signed-off-by: James Morris <jmorris@namei.org>
2008-11-14 10:38:43 +11:00
..
buffer.c
config.c
devices.c usb: hub: add check for unsupported bus topology 2008-07-21 15:16:26 -07:00
devio.c CRED: Wrap task credential accesses in the USB driver 2008-11-14 10:38:43 +11:00
driver.c USB: don't rebind drivers after failed resume or reset 2008-10-22 10:05:29 -07:00
endpoint.c USB: remove err() macro from usb core code 2008-10-17 14:41:11 -07:00
file.c USB: remove err() macro from usb core code 2008-10-17 14:41:11 -07:00
generic.c
hcd-pci.c
hcd.c USB: fix crash when URBs are unlinked after the device is gone 2008-10-29 14:54:40 -07:00
hcd.h USB: fix crash when URBs are unlinked after the device is gone 2008-10-29 14:54:40 -07:00
hub.c USB: prevent autosuspend during hub initialization 2008-10-29 14:54:41 -07:00
hub.h
inode.c CRED: Wrap task credential accesses in the USB driver 2008-11-14 10:38:43 +11:00
Kconfig usb core: fix USB_OTG_BLACKLIST_HUB typo 2008-10-17 14:40:54 -07:00
Makefile
message.c USB: remove warn() macro from usb drivers 2008-10-17 14:41:09 -07:00
notify.c
otg_whitelist.h
quirks.c
sysfs.c USB: Export if an interface driver supports autosuspend. 2008-10-17 14:41:03 -07:00
urb.c USB: fix crash when URBs are unlinked after the device is gone 2008-10-29 14:54:40 -07:00
usb.c USB: Add new PM callback methods for USB 2008-08-21 10:26:37 -07:00
usb.h USB: Add new PM callback methods for USB 2008-08-21 10:26:37 -07:00