Yama: remove locking from delete path
authorKees Cook <keescook@chromium.org>
Mon, 19 Nov 2012 23:21:26 +0000 (15:21 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 20 Nov 2012 18:32:08 +0000 (10:32 -0800)
Instead of locking the list during a delete, mark entries as invalid
and trigger a workqueue to clean them up. This lets us easily handle
task_free from interrupt context.

Signed-off-by: Kees Cook <keescook@chromium.org>
security/yama/yama_lsm.c

Simple merge