|
|
|
|
|
by jandrewrogers
820 days ago
|
|
It is not obvious to me that this breaks POSIX compatibility. The kernel may choose to signal a process with SIGSEGV on a memory protection violation but I can't find anything that suggests this is required. Last I checked, macOS formally maintains POSIX certification. Linux is not POSIX compliant, so I wouldn't use Linux as the measure of what is correct behavior under POSIX. |
|
https://pubs.opengroup.org/onlinepubs/9699919799/functions/V...