mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
signals: annotate lock context change on ptrace_stop()
ptrace_stop() releases and regrabs current->sighand->siglock but was missing proper annotation. Add it. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Roland McGrath <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Oleg Nesterov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
b8ed374e20
commit
b840115083
1 changed files with 2 additions and 0 deletions
|
|
@ -1618,6 +1618,8 @@ static int sigkill_pending(struct task_struct *tsk)
|
|||
* is gone, we keep current->exit_code unless clear_code.
|
||||
*/
|
||||
static void ptrace_stop(int exit_code, int clear_code, siginfo_t *info)
|
||||
__releases(¤t->sighand->siglock)
|
||||
__acquires(¤t->sighand->siglock)
|
||||
{
|
||||
if (arch_ptrace_stop_needed(exit_code, info)) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue