]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
tty: Update code comment in __proc_set_tty()
authorPeter Hurley <peter@hurleysoftware.com>
Thu, 16 Oct 2014 18:59:50 +0000 (14:59 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 00:26:14 +0000 (16:26 -0800)
commita361858da327263e04dc521ca39091d3119ccff8
tree5efa814f84a21ab82f81f00ed3016e05ac0098d9
parente218eb32f508c828dc87d0d724c70e2cf9b7866e
tty: Update code comment in __proc_set_tty()

The session and foreground process group pid references will be
non-NULL if tiocsctty() is stealing the controlling tty from another
session (ie., arg == 1 in tiocsctty()).

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c