]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf009aa93188f1c6a7063067dd428cf710f83fe14
treec4efa5eff81c01029ab884c0d43af16bb91b44b4
parent32ac335b7f3ff0ca18e458e70d1b314f168f11c1
Yama: remove locking from delete path

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