https://github.com/torvalds/linux
Revision ab263f47c9781a644de8b28013434b645082922e authored by Thomas Gleixner on 09 December 2009, 14:19:41 UTC, committed by Al Viro on 30 October 2010, 12:45:42 UTC
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>
1 parent 2070320
History
Tip revision: ab263f47c9781a644de8b28013434b645082922e authored by Thomas Gleixner on 09 December 2009, 14:19:41 UTC
audit: Use rcu for task lookup protection
Tip revision: ab263f4
File Mode Size
apparmor
integrity
keys
selinux
smack
tomoyo
Kconfig -rw-r--r-- 6.4 KB
Makefile -rw-r--r-- 938 bytes
capability.c -rw-r--r-- 23.2 KB
commoncap.c -rw-r--r-- 26.4 KB
device_cgroup.c -rw-r--r-- 11.8 KB
inode.c -rw-r--r-- 8.7 KB
lsm_audit.c -rw-r--r-- 8.7 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 32.0 KB

back to top