LKML Archive mirror
 help / color / mirror / Atom feed
* Retain all bits of the exit(2) status value
@ 2015-07-09 11:02 Jan Engelhardt
  0 siblings, 0 replies; only message in thread
From: Jan Engelhardt @ 2015-07-09 11:02 UTC (permalink / raw
  To: torvalds; +Cc: Linux Kernel Mailing List


I was made aware of a suggested change to POSIX's exit function.
Current issue 7:
 http://pubs.opengroup.org/onlinepubs/9699919799/functions/exit.html
Proposed change:
 http://austingroupbugs.net/view.php?id=594#c1317
In summary:
 from "the least significant 8 bits (that is, status & 0377)"
 to "the full value shall be available from waitid()"

Now, Linux currently does a & 0xff in kernel/exit.c in the exit and 
exit_group syscalls. I would expect that the proposed change requires a 
new system call, and if so, what should its name be?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-09 11:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09 11:02 Retain all bits of the exit(2) status value Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).