From: Alan Cox Date: Wed, 30 Apr 2008 07:53:30 +0000 (-0700) Subject: redo locking of tty->pgrp X-Git-Tag: v2.6.26-rc1~240 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47f86834bbd4193139d61d659bebf9ab9d691e37;p=pandora-kernel.git redo locking of tty->pgrp Historically tty->pgrp and friends were pid_t and the code "knew" they were safe. The change to pid structs opened up a few races and the removal of the BKL in places made them quite hittable. We put tty->pgrp under the ctrl_lock for the tty. Signed-off-by: Alan Cox Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed