4 ms·
Practically, this is the struct you have to fill in if you don't use clone or fork. https://github.com/torvalds/linux/blob/719fce7539cd3e186598e2aed36325fe8921
by monocasa 5y ago
Practically, this is the struct you have to fill in if you don't use clone or fork.
https://github.com/torvalds/linux/blob/719fce7539cd3e186598e2aed36325fe892150cf/include/linux/sched.h#L728 https://github.com/torvalds/linux/blob/719fce7539cd3e186598e...
IMO clone looks a lot better than screwing with that giant struct and all of the kernel bugs that would exist from validating every goofy way those options could be setup wrong by user space.