summaryrefslogtreecommitdiff
path: root/src/thread/x32/clone.s
AgeCommit message (Collapse)AuthorLines
2026-09-07x32: clone: fix read of stack slot containing ctidAlex Rønne Petersen-1/+1
It's a 32-bit pointer and passed on the stack; the upper 32 bits of the stack slot are garbage. This works out fine if we're lucky and those bits happen to be zeroed, but if they're not, we ask the kernel to write to some random 64-bit location, which it will just silently fail to do (the process is in x32 mode; nothing can be mapped up there), and consequently, we never learn the new thread's tid.
2018-09-12make arch __clone backends hiddenRich Felker-0/+1
these are not a public interface and are not intended to be callable from anywhere but the public clone function or other places in libc.
2014-02-23x32 port (diff against vanilla x86_64)rofl0r-4/+2
2014-02-23import vanilla x86_64 code as x32rofl0r-0/+27