diff options
author | Serge Hallyn <[email protected]> | 2011-09-26 10:18:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-09-26 16:12:26 -0700 |
commit | aec01c5895051849ed842dc5b8794017a7751f28 (patch) | |
tree | 0dcf873f047c48a7f3513349c13998b048e4e0fd /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 5c12e7856d75f68c1ca8372d6cc76cdbc71763c0 (diff) |
USB: pid_ns: ensure pid is not freed during kill_pid_info_as_uid
Alan Stern points out that after spin_unlock(&ps->lock) there is no
guarantee that ps->pid won't be freed. Since kill_pid_info_as_uid() is
called after the spin_unlock(), the pid passed to it must be pinned.
Reported-by: Alan Stern <[email protected]>
Signed-off-by: Serge Hallyn <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions