diff options
author | Greg Kroah-Hartman <[email protected]> | 2009-12-17 07:07:19 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-01-20 15:03:31 -0800 |
commit | 703625118069f9f8960d356676662d3db5a9d116 (patch) | |
tree | fe46ee6784dee41dbb9b642a1f551a1adfa44710 /tools/perf/util/trace-event-scripting.c | |
parent | 18c576f950167ff3ec1e56dcbbec7b87288b3237 (diff) |
tty: fix race in tty_fasync
We need to keep the lock held over the call to __f_setown() to
prevent a PID race.
Thanks to Al Viro for pointing out the problem, and to Travis for
making us look here in the first place.
Cc: Eric W. Biederman <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Tavis Ormandy <[email protected]>
Cc: Jeff Dike <[email protected]>
Cc: Julien Tinnes <[email protected]>
Cc: Matt Mackall <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions