]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] usb: fixup usb so it uses struct pid
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 2 Oct 2006 09:17:28 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:15 +0000 (07:57 -0700)
commit2425c08b37244005ff221efe4957d8aaff18609c
tree488a298587acb651bd6964c0f9d53c9f48327362
parent43fa1adb9334bf4585cd53144eb5911488f85bc7
[PATCH] usb: fixup usb so it uses struct pid

The problem with remembering a user space process by its pid is that it is
possible that the process will exit, pid wrap around will occur.
Converting to a struct pid avoid that problem, and paves the way for
implementing a pid namespace.

Also since usb is the only user of kill_proc_info_as_uid rename
kill_proc_info_as_uid to kill_pid_info_as_uid and have the new version take
a struct pid.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/core/devio.c
drivers/usb/core/inode.c
drivers/usb/core/usb.h
include/linux/sched.h
kernel/signal.c