From: Greg Kroah-Hartman Date: Thu, 17 Dec 2009 15:07:19 +0000 (-0800) Subject: tty: fix race in tty_fasync X-Git-Tag: v2.6.33-rc5~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=703625118069f9f8960d356676662d3db5a9d116;p=pandora-kernel.git 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 Cc: Al Viro Cc: Alan Cox Cc: Linus Torvalds Cc: Tavis Ormandy Cc: Jeff Dike Cc: Julien Tinnes Cc: Matt Mackall Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed