linux/security/tomoyo
Tetsuo Handa 2928238142 TOMOYO: Use mutex_lock_interruptible.
Some of TOMOYO's functions may sleep after mutex_lock(). If OOM-killer selected
a process which is waiting at mutex_lock(), the to-be-killed process can't be
killed. Thus, replace mutex_lock() with mutex_lock_interruptible() so that the
to-be-killed process can immediately return from TOMOYO's functions.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
2010-05-06 13:19:18 +10:00
..
Kconfig Kconfig and Makefile 2009-02-12 15:19:00 +11:00
Makefile TOMOYO: Add garbage collector. 2010-02-15 09:00:24 +11:00
common.c TOMOYO: Use mutex_lock_interruptible. 2010-05-06 13:19:18 +10:00
common.h TOMOYO: Use mutex_lock_interruptible. 2010-05-06 13:19:18 +10:00
domain.c TOMOYO: Use mutex_lock_interruptible. 2010-05-06 13:19:18 +10:00
file.c TOMOYO: Use mutex_lock_interruptible. 2010-05-06 13:19:18 +10:00
gc.c TOMOYO: Use mutex_lock_interruptible. 2010-05-06 13:19:18 +10:00
realpath.c TOMOYO: Use mutex_lock_interruptible. 2010-05-06 13:19:18 +10:00
tomoyo.c Merge branch 'next' into for-linus 2010-03-01 09:36:31 +11:00