diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-12-09 14:19:41 +0000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-30 08:45:42 -0400 |
commit | ab263f47c9781a644de8b28013434b645082922e (patch) | |
tree | bae72a448f5d5f37fb5c762a4c336fe731523dfd /fs | |
parent | audit: Do not send uninitialized data for AUDIT_TTY_GET (diff) | |
download | linux-dev-ab263f47c9781a644de8b28013434b645082922e.tar.xz linux-dev-ab263f47c9781a644de8b28013434b645082922e.zip |
audit: Use rcu for task lookup protection
Protect the task lookups in audit_receive_msg() with rcu_read_lock()
instead of tasklist_lock and use lock/unlock_sighand to protect
against the exit race.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions