tty: Fix abusers of current->sighand->tty
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:40:53 +0000 (10:40 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:42 +0000 (09:51 -0700)
commitdbda4c0b97b18fd59b3964548361b4f92357f730
treeca7e2827541aec01762f2a9c0e3155aaf49bf0ca
parent934e6ebf96e8c1a0f299e64129fdaebc1132a427
tty: Fix abusers of current->sighand->tty

Various people outside the tty layer still stick their noses in behind the
scenes. We need to make sure they also obey the locking and referencing rules.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/acct.c
kernel/auditsc.c