[GIT PULL] TTY fixes for 5.10-rc7

From: Greg KH
Date: Sun Dec 06 2020 - 09:35:24 EST


The following changes since commit 418baf2c28f3473039f2f7377760bd8f6897ae18:

Linux 5.10-rc5 (2020-11-22 15:36:08 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.10-rc7

for you to fetch changes up to c8bcd9c5be24fb9e6132e97da5a35e55a83e36b9:

tty: Fix ->session locking (2020-12-04 17:39:58 +0100)

----------------------------------------------------------------
TTY fixes for 5.10-rc7

Here are two tty core fixes for 5.10-rc7.

They resolve some reported locking issues in the tty core. While they
have not been in a released linux-next yet, they have passed all of the
0-day bot testing as well as the submitter's testing.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Jann Horn (2):
tty: Fix ->pgrp locking in tiocspgrp()
tty: Fix ->session locking

drivers/tty/tty_io.c | 7 ++++++-
drivers/tty/tty_jobctrl.c | 44 +++++++++++++++++++++++++++++++-------------
include/linux/tty.h | 4 ++++
3 files changed, 41 insertions(+), 14 deletions(-)