summaryrefslogtreecommitdiff
path: root/kernel/groups.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2009-12-16 00:47:21 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-16 15:20:08 (GMT)
commitd51965037325e51f6cd68583413243c3573e47b0 (patch)
treeb12a96e5adc82f3b72a22f054c9a51dc05d4a302 /kernel/groups.c
parent7f38551fc3ff0e17a38d6f3f0f8831380a88f3cc (diff)
downloadlinux-fsl-qoriq-d51965037325e51f6cd68583413243c3573e47b0.tar.xz
ptrace: x86: change syscall_trace_leave() to rely on tracehook when stepping
Suggested by Roland. Unlike powepc, x86 always calls tracehook_report_syscall_exit(step) with step = 0, and sends the trap by hand. This results in unnecessary SIGTRAP when PTRACE_SINGLESTEP follows the syscall-exit stop. Change syscall_trace_leave() to pass the correct "step" argument to tracehook and remove the send_sigtrap() logic. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Roland McGrath <roland@redhat.com> Cc: <linux-arch@vger.kernel.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/groups.c')
0 files changed, 0 insertions, 0 deletions