lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.20.1507091257010.9602@nerf40.vanv.qr>
Date:	Thu, 9 Jul 2015 13:02:58 +0200 (CEST)
From:	Jan Engelhardt <jengelh@...i.de>
To:	torvalds@...ux-foundation.org
cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Retain all bits of the exit(2) status value


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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ