diff options
author | Oleg Nesterov <[email protected]> | 2012-03-23 15:02:40 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-03-23 16:58:40 -0700 |
commit | b1845ff53f1a9eadba005ae53dfe60ab00dfe83b (patch) | |
tree | 1c38877029c0ffe0844cbbe7b0e022e8f79b6235 /net/lapb/lapb_timer.c | |
parent | 15cab952139404d0e593cb1aaab0a3547ac0f95b (diff) |
ptrace: don't send SIGTRAP on exec if SEIZED
ptrace_event(PTRACE_EVENT_EXEC) sends SIGTRAP if PT_TRACE_EXEC is not
set. This is because this SIGTRAP predates PTRACE_O_TRACEEXEC option,
we do not need/want this with PT_SEIZED which can set the options during
attach.
Suggested-by: Pedro Alves <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Chris Evans <[email protected]>
Cc: Indan Zupancic <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Pedro Alves <[email protected]>
Cc: Jan Kratochvil <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions