]> git.baikalelectronics.ru Git - kernel.git/commit
tty: audit: Take siglock directly
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 06:55:29 +0000 (22:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jan 2016 00:41:04 +0000 (16:41 -0800)
commite31714ea9b555e49d2917f50c44f2d1769a5e6e1
treed99d57f3008d56c391bd85691850d2087d270ec8
parente772dd25ac05cd8e3a1013479de4b186941279b0
tty: audit: Take siglock directly

lock_task_sighand() is for situations where the struct task_struct*
may disappear while trying to deref the sighand; this never applies
to 'current'.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_audit.c