commit | ab263f47c9781a644de8b28013434b645082922e | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed Dec 09 14:19:41 2009 +0000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Oct 30 08:45:42 2010 -0400 |
tree | bae72a448f5d5f37fb5c762a4c336fe731523dfd | |
parent | 207032051a5ed38df332729ba42e98e9a1e60434 [diff] |
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>