linux/drivers/tty
Matthijs van Duin 4aec7c2839 pty: fix O_CLOEXEC for TIOCGPTPEER
commit 36ecc1481d upstream.

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

Fixes: 54ebbfb160 ("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-08-24 13:08:55 +02:00
..
hvc hvc_opal: don't set tb_ticks_per_usec in udbg_init_opal_common() 2018-08-03 07:50:25 +02:00
ipwireless License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
serdev serdev: fix memleak on module unload 2018-07-08 15:30:47 +02:00
serial serial: 8250_dw: Add ACPI support for uart on Broadcom SoC 2018-08-22 07:46:11 +02:00
vt vt: prevent leaking uninitialized data to userspace via /dev/vcs* 2018-07-08 15:30:47 +02:00
amiserial.c
bfin_jtag_comm.c
cyclades.c
ehv_bytechan.c tty: Convert to using %pOF instead of full_name 2017-07-30 07:35:28 -07:00
goldfish.c tty: goldfish: Enable 'earlycon' only if built-in 2018-03-24 11:01:23 +01:00
isicom.c tty: isicom: constify pci_device_id. 2017-07-30 07:35:27 -07:00
Kconfig tty: goldfish: Enable 'earlycon' only if built-in 2018-03-24 11:01:23 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
metag_da.c
mips_ejtag_fdc.c tty: mips_ejtag_fdc: constify mips_cdmm_device_id 2017-08-28 20:51:22 +02:00
moxa.c tty: moxa: constify pci_device_id. 2017-07-30 07:35:28 -07:00
moxa.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mxser.c mxser: fix timeout calculation for low rates 2017-09-18 18:19:20 +02:00
mxser.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
n_gsm.c tty: n_gsm: Fix DLCI handling for ADM mode if debug & 2 is not set 2018-05-01 12:58:13 -07:00
n_hdlc.c
n_null.c
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c n_tty: Access echo_* variables carefully. 2018-07-08 15:30:47 +02:00
nozomi.c
pty.c pty: fix O_CLOEXEC for TIOCGPTPEER 2018-08-24 13:08:55 +02:00
rocket_int.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rocket.c
rocket.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
synclink_gt.c tty: synclink_gt: constify pci_device_id. 2017-07-30 07:35:28 -07:00
synclink.c tty: synclink: constify pci_device_id. 2017-07-30 07:35:27 -07:00
synclinkmp.c tty: synclinkmp: constify pci_device_id. 2017-07-30 07:35:27 -07:00
sysrq.c sysrq : fix Show Regs call trace on ARM 2017-12-10 13:40:42 +01:00
tty_audit.c
tty_baudrate.c
tty_buffer.c tty: fix tty_ldisc_receive_buf() documentation 2018-01-02 20:31:17 +01:00
tty_io.c tty: Don't call panic() at tty_ldisc_init() 2018-05-01 12:58:13 -07:00
tty_ioctl.c
tty_jobctrl.c
tty_ldisc.c tty: Use __GFP_NOFAIL for tty_ldisc_get() 2018-05-01 12:58:14 -07:00
tty_ldsem.c
tty_mutex.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tty_port.c
vcc.c sparc64: vcc: make ktermios const 2017-08-29 15:10:44 -07:00