diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-10 16:31:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-10 16:31:30 -0700 |
commit | d7dd8a72ab8d305fbe1c4bb571e0633eba3a8d23 (patch) | |
tree | b1df87ccb102bbe4c2402a677d62bc6a0b85282e /drivers/usb/core/usb.h | |
parent | 46113830a18847cff8da73005e57bc49c2f95a56 (diff) |
Use the new "kill_proc_info_as_uid()" for USB disconnect too
All the same issues - we can't just save the pointer to the thread, we
must save the pid/uid/euid combination.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/core/usb.h')
-rw-r--r-- | drivers/usb/core/usb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h index 83d48c8133a..e6504f3370a 100644 --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h @@ -52,7 +52,8 @@ struct dev_state { struct list_head async_completed; wait_queue_head_t wait; /* wake up if a request completed */ unsigned int discsignr; - struct task_struct *disctask; + pid_t disc_pid; + uid_t disc_uid, disc_euid; void __user *disccontext; unsigned long ifclaimed; }; |