summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2016-01-10 09:55:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-28 03:41:04 +0300
commit2e28d38ae1d9ced6ac2deb4001aca3f267304cdb (patch)
treec5d29fa6d7f7198d9500a7b78066c13b5cd77705 /include/linux/sched.h
parent4d240b6442824df3b5e401459789bab5ee7777ae (diff)
downloadlinux-2e28d38ae1d9ced6ac2deb4001aca3f267304cdb.tar.xz
tty: audit: Handle tty audit enable atomically
The audit_tty and audit_tty_log_passwd fields are actually bool values, so merge into single memory location to access atomically. NB: audit log operations may still occur after tty audit is disabled which is consistent with the existing functionality Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index a10494a94cc3..a389222e9703 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -775,7 +775,6 @@ struct signal_struct {
#endif
#ifdef CONFIG_AUDIT
unsigned audit_tty;
- unsigned audit_tty_log_passwd;
struct tty_audit_buf *tty_audit_buf;
#endif