commit | 11e1d4aa4da1d0572b00f040ae91da85d3474f4a | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sat Jan 09 21:13:52 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 27 14:28:20 2016 -0800 |
tree | a6d0d89a51135068138156a67f8be85201ead940 | |
parent | c2bb524b2e1a6eddae65139601bee24cb60856a0 [diff] |
tty: Consolidate noctty checks in tty_open() Evaluate the conditions which prevent this tty being the controlling terminal in one place, just before setting the controlling terminal. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>