It looks like the ptrace() syscall is the problem:
DESCRIPTION
The ptrace() system call provides tracing and debugging
facilities. It allows one process (the tracing process) to
control another (the traced process). The tracing process must
first attach to the traced
Apparently, the truss trace tool has a bug. At least I was told that
the tracer program should not change the return value of the getppid()
call inside the traced process. Here is an example program:
%cat test.c
#include stdio.h
int main() {
while(1) {
sleep(5);
printf(ppid =
In the last episode (Dec 22), Laszlo Nagy said:
Apparently, the truss trace tool has a bug. At least I was told
that the tracer program should not change the return value of the
getppid() call inside the traced process. Here is an example program:
It looks like the ptrace() syscall is the