commit | 36ecc1481dc8d8c52d43ba18c6b642c1d2fde789 | [log] [tgz] |
---|---|---|
author | Matthijs van Duin <matthijsvanduin@gmail.com> | Thu Jul 19 10:43:46 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jul 21 09:08:47 2018 +0200 |
tree | 0c8994062a1ee54fbcbaaadb7bb8f1128ff434c1 | |
parent | 3bae8cea04c6db58e5e694e708bd33dac924bf30 [diff] |
pty: fix O_CLOEXEC for TIOCGPTPEER It was being ignored because the flags were not passed to fd allocation. Fixes: 54ebbfb16034 ("tty: add TIOCGPTPEER ioctl") Signed-off-by: Matthijs van Duin <matthijsvanduin@gmail.com> Acked-by: Aleksa Sarai <asarai@suse.de> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>