summaryrefslogtreecommitdiffstats
path: root/include/math-emu
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2016-01-09 22:55:34 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-27 16:41:04 -0800
commit5c8b3185c41cd7f7c1e39c6e300daac8ef547e7e (patch)
tree99a3eeda0a8244d8c1457da5c6cf1ccd60823501 /include/math-emu
parent2e28d38ae1d9ced6ac2deb4001aca3f267304cdb (diff)
downloadlinux-5c8b3185c41cd7f7c1e39c6e300daac8ef547e7e.tar.bz2
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>
Diffstat (limited to 'include/math-emu')
0 files changed, 0 insertions, 0 deletions