Opened by Jan Kratochvil (jan.kratochvil@redhat.com) on 2007-04-06 13:46 EST [reply] Private Description of problem: Found a regression against kernel.org in RH kernels utrace based implementation of ptrace(2). Version-Release number of selected component (if applicable): kernel-2.6.20-1.3045.fc7.x86_64 (on FC6 system) How reproducible: Always. Steps to Reproduce: 1. gcc -o stopkills stopkills.c -Wall -ggdb3 2. ./stopkills Actual results: ./stopkills: PTRACE_DETACH: No such process Expected results: (nothing; exit code 0) Additional info: ptrace (PTRACE_CONT, child_pid, NULL, (void *) SIGSTOP); ptrace (PTRACE_DETACH, child_pid, NULL, NULL); PTRACE_DETACH fails by ESRCH on the utrace kernels. Red Hat bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=235521
It is already fixed by Roland McGrath for some time: https://bugzilla.redhat.com/show_bug.cgi?id=235521#c4