NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/52342: linux ABI exit(non-zero) returns zero status to the parent process



> My guess is that your test binaries do not use exit() but rather
> exit_group(). The use of old-style syscalls apparently is rare
> nowadays but as long as exit() is supported it would be nice if it
> behaves.

indeed - ktrace shows exit_group() for the false(1) binary.

hmm, even a static binary using _exit(2) shows exit_group()
system call.  how does one get exit system call to be used?


.mrg.


Home | Main Index | Thread Index | Old Index