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 <alan@redhat.com> Cc: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Loading
-
mentioned in commit ce8e1973
-
mentioned in commit dadb44ac
-
mentioned in commit 0bd79c32
-
mentioned in commit a75d0770
-
mentioned in commit ed3ba7c8
-
mentioned in commit dabe6d05
-
mentioned in commit c4cdb615
-
mentioned in commit ab65e47b
-
mentioned in commit 5ddc689c
-
mentioned in commit 48062df9
-
mentioned in commit 4a6687b0
-
mentioned in commit c5dee337
Please sign in to comment