#else

2 posts · Last used Jun 26

Replying to
@azonenberg@ioc.exchange @hazelnoot@enby.life#ifdef __ARCH_WANT_SYS_FORK SYSCALL_DEFINE0(fork) { #ifdef CONFIG_MMU struct kernel_clone_args args = { .exit_signal = SIGCHLD, }; return kernel_clone(&args); #else /* can not support in nommu mode */ return -EINVAL; #endif } #endif fork internally just calls clone with some default arguments
0
3
0
0
You've seen all posts