linux/drivers/tty
Peter Hurley 5c8b3185c4 tty: audit: Remove false memory optimization
The tty audit buffer is allocated at first use and not freed until
the process exits. If tty audit is turned off after the audit buffer
has been allocated, no effort is made to release the buffer.
So re-checking if tty audit has just been turned off when tty audit
was just on is false optimization; the likelihood of triggering this
condition is exceedingly small.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-01-27 16:41:04 -08:00
..
hvc TTY/Serial driver patches for 4.4-rc1 2015-11-04 21:35:12 -08:00
ipwireless
serial tty: Remove chars_in_buffer() line discipline method 2016-01-27 15:01:44 -08:00
vt tty: Prepare for destroying line discipline on hangup 2016-01-27 15:01:44 -08:00
amiserial.c tty: Remove chars_in_buffer() line discipline method 2016-01-27 15:01:44 -08:00
bfin_jtag_comm.c
cyclades.c tty: Remove chars_in_buffer() line discipline method 2016-01-27 15:01:44 -08:00
ehv_bytechan.c
goldfish.c
isicom.c isicom: Deinline drop_dtr, save 112 bytes 2015-12-13 19:59:48 -08:00
Kconfig
Makefile
metag_da.c
mips_ejtag_fdc.c ttyFDC: Fix build problems due to use of module_{init,exit} 2015-10-17 21:29:21 -07:00
moxa.c tty: Remove unused SERIAL_DO_RESTART define 2015-12-13 19:59:48 -08:00
moxa.h
mxser.c
mxser.h
n_gsm.c tty: Remove chars_in_buffer() line discipline method 2016-01-27 15:01:44 -08:00
n_hdlc.c
n_r3964.c tty: r3964: Replace/remove bogus tty lock use 2015-10-17 21:11:29 -07:00
n_tracerouter.c
n_tracesink.c n_tracesink: stop including <asm-generic/bug> 2015-10-15 00:21:11 +02:00
n_tracesink.h
n_tty.c tty: audit: Ignore current association for audit push 2016-01-27 16:41:04 -08:00
nozomi.c
pty.c pty: Remove pty_unix98_shutdown() 2016-01-27 14:28:20 -08:00
rocket_int.h
rocket.c tty: Remove chars_in_buffer() line discipline method 2016-01-27 15:01:44 -08:00
rocket.h
synclink_gt.c tty: synclink_gt: Rename tty_driver_name 2015-12-13 19:59:48 -08:00
synclink.c tty: synclink, fix indentation 2015-10-17 21:14:06 -07:00
synclinkmp.c tty: Remove ASYNC_CLOSING checks in open()/hangup() methods 2015-10-17 21:11:29 -07:00
sysrq.c sysrq: Fix warning in sysrq generated crash. 2015-12-29 16:29:18 -08:00
tty_audit.c tty: audit: Remove false memory optimization 2016-01-27 16:41:04 -08:00
tty_buffer.c tty: Fix GPF in flush_to_ldisc() 2015-12-12 23:05:28 -08:00
tty_io.c tty: Make tty_files_lock per-tty 2016-01-27 15:13:28 -08:00
tty_ioctl.c tty: Remove __func__ from tty_debug() macro 2015-12-13 19:59:48 -08:00
tty_ldisc.c tty: Eliminate global symbol tty_ldisc_N_TTY 2016-01-27 15:13:28 -08:00
tty_ldsem.c tty: Deinline __ldsem_down_write_nested, save 128 bytes 2015-12-13 19:59:48 -08:00
tty_mutex.c tty: Remove __lockfunc annotation from tty lock functions 2016-01-27 14:28:20 -08:00
tty_port.c tty: Define tty_*() printk macros 2015-12-13 19:59:48 -08:00