Skip to content
Commit 36ecc148 authored by Matthijs van Duin's avatar Matthijs van Duin Committed by Greg Kroah-Hartman
Browse files

pty: fix O_CLOEXEC for TIOCGPTPEER



It was being ignored because the flags were not passed to fd allocation.

Fixes: 54ebbfb1 ("tty: add TIOCGPTPEER ioctl")
Signed-off-by: default avatarMatthijs van Duin <matthijsvanduin@gmail.com>
Acked-by: default avatarAleksa Sarai <asarai@suse.de>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3bae8cea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment