summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-buildid-list.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-12-17 18:07:19 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-01-21 02:03:31 +0300
commit703625118069f9f8960d356676662d3db5a9d116 (patch)
treefe46ee6784dee41dbb9b642a1f551a1adfa44710 /tools/perf/builtin-buildid-list.c
parent18c576f950167ff3ec1e56dcbbec7b87288b3237 (diff)
downloadlinux-703625118069f9f8960d356676662d3db5a9d116.tar.xz
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 <ebiederm@xmission.com> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Tavis Ormandy <taviso@google.com> Cc: Jeff Dike <jdike@addtoit.com> Cc: Julien Tinnes <jln@google.com> Cc: Matt Mackall <mpm@selenic.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/builtin-buildid-list.c')
0 files changed, 0 insertions, 0 deletions