News for hackers. Stuff that matters.
Re:Gathering Linux Syscall Numbers in a C Table by pm215 on Thursday January 22, 2026 @07:06AM (#46718189)
Yes; this is why QEMU's user-space-emulation clone syscall handling restricts the caller to only those combinations of clone flags which match either "looks like fork()" or "looks like creating a new pthread", because QEMU itself is linked with the host libc and weird clone flag combinations will put the new process/thread into a state the libc isn't expecting.

There are no comments on this comment yet.