Retain all bits of the exit(2) status value
From: Jan Engelhardt
Date: Thu Jul 09 2015 - 07:03:14 EST
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/