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



The following reply was made to PR kern/52342; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: u-bc8k%aetey.se@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, gnats-bugs%NetBSD.org@localhost
Subject: re: kern/52342: linux ABI exit(non-zero) returns zero status to the parent process
Date: Mon, 26 Jun 2017 23:46:32 +1000

 > 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