commit | a361858da327263e04dc521ca39091d3119ccff8 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Thu Oct 16 14:59:50 2014 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 05 16:26:14 2014 -0800 |
tree | 5efa814f84a21ab82f81f00ed3016e05ac0098d9 | |
parent | e218eb32f508c828dc87d0d724c70e2cf9b7866e [diff] |
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>