]> git.baikalelectronics.ru Git - kernel.git/commit
tty: audit: Poison tty_audit_buf while process exits
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 06:55:39 +0000 (22:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jan 2016 00:41:04 +0000 (16:41 -0800)
commit9efa78ef0d4d555a82d50205baf6c5531cd3b988
treea6b42357e26de7e9cf655f0a907be4c2d382bdff
parentd626406753a02a8e04e3aa5a9192b962bbd00555
tty: audit: Poison tty_audit_buf while process exits

Warn if tty_audit_buf use is attempted after tty_audit_exit() has
already freed it.

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