[PATCH 0/2] clone: Support passing tls argument via C rather than pt_regs magic

2015-04-21 Thread Josh Triplett
clone has some of the quirkiest syscall handling in the kernel, with a pile of special cases, historical curiosities, and architecture-specific calling conventions. In particular, clone with CLONE_SETTLS accepts a parameter "tls" that the C entry point completely ignores and some assembly entry

[PATCH 0/2] clone: Support passing tls argument via C rather than pt_regs magic

2015-04-21 Thread Josh Triplett
clone has some of the quirkiest syscall handling in the kernel, with a pile of special cases, historical curiosities, and architecture-specific calling conventions. In particular, clone with CLONE_SETTLS accepts a parameter tls that the C entry point completely ignores and some assembly entry