]> git.baikalelectronics.ru Git - kernel.git/commit
tty: audit: Always push audit buffer before TIOCSTI
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 06:55:38 +0000 (22:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jan 2016 00:41:04 +0000 (16:41 -0800)
commitefc181b715d8cbff636818e5010beaf07fb51c51
tree267913d9a9ab495b7ee95084e2a1aba6bd746235
parent549daeb55e91b7f4423a9255cf78ff8202ebb664
tty: audit: Always push audit buffer before TIOCSTI

The data read from another tty may be relevant to the action of
the TIOCSTI ioctl; log the audit buffer immediately.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_audit.c