projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8ed374
)
signals: annotate lock context change on ptrace_stop()
author
Namhyung Kim
<
[email protected]
>
Wed, 27 Oct 2010 22:34:07 +0000
(15:34 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 28 Oct 2010 01:03:12 +0000
(18:03 -0700)
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]
>
kernel/signal.c
patch
|
blob
|
history
diff --git
a/kernel/signal.c
b/kernel/signal.c
index e921409b85a9e4aeef3599cdce1484ac475d021e..4e3cff10fdceda165e8e9f22c0e9b861dba918d8 100644
(file)
--- a/
kernel/signal.c
+++ b/
kernel/signal.c
@@
-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)) {
/*