News for hackers. Stuff that matters.
Re:C library system-call wrappers, or the lack thereof by cesarb on Wednesday November 14, 2018 @06:03AM (#18449012)
> Kernel doesn't care how your laid out your userspace stack.

Except when it does: https://github.com/golang/go/issues/20427

Re:C library system-call wrappers, or the lack thereof by zaarn on Wednesday November 14, 2018 @07:38AM (#18449388)
IIRC this was because of a rather amusing behaviour of a Gentoo toolchain with some hardening patches, in this case doing a bit of fun on the stack to make sure it's safe.

A lot of the hardening patches come with disclaimers that some software might break, and as shown by this bug, for good reason.

I'd rather blame the compiler patches for this silly behaviour (and maybe the kernel for not documenting and limiting how much stack VDSO can use)

Re:C library system-call wrappers, or the lack thereof by ben0x539 on Monday November 26, 2018 @05:38PM (#18537503)
It's not really obvious to me that the original issue, mentioning os.Exec calls and Ubuntu versions, has the same cause as the crashes from the commenter mentioning patched Gentoo toolchains.