commit | f9d81f61c84aca693bc353dfef4b8c36c2e5e1b5 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Sun Sep 25 19:46:22 2011 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sun Sep 25 11:02:00 2011 -0700 |
tree | adf2453955649221a9a178d7d19d5b1e71f3fe67 | |
parent | b172e38e435a158cc84169d5b9127a8dd8d21e76 [diff] |
ptrace: PTRACE_LISTEN forgets to unlock ->siglock If PTRACE_LISTEN fails after lock_task_sighand() it doesn't drop ->siglock. Reported-by: Matt Fleming <matt.fleming@intel.com> Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>