Matthijs van Duin 36ecc1481d 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>
2018-07-21 09:08:47 +02:00
..
2018-06-12 16:19:22 -07:00
2018-07-07 17:41:38 +02:00
2018-06-12 16:19:22 -07:00
2017-11-28 15:32:33 +01:00
2017-11-28 15:32:33 +01:00
2017-11-08 13:08:12 +01:00
2018-04-30 05:14:55 -07:00
2017-11-08 13:08:12 +01:00
2018-07-21 09:08:47 +02:00
2017-11-08 13:08:12 +01:00
2018-06-28 21:07:54 +09:00