From: Jan Engelhardt <jengelh@inai.de>
To: torvalds@linux-foundation.org
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Retain all bits of the exit(2) status value
Date: Thu, 9 Jul 2015 13:02:58 +0200 (CEST) [thread overview]
Message-ID: <alpine.LSU.2.20.1507091257010.9602@nerf40.vanv.qr> (raw)
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?
reply other threads:[~2015-07-09 11:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LSU.2.20.1507091257010.9602@nerf40.vanv.qr \
--to=jengelh@inai.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®