mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 08:53:29 +00:00
Add vfork syscall and related clone flags
This commit is contained in:
committed by
Jianfeng Jiang
parent
9a974a0483
commit
43e43ca133
@ -26,7 +26,7 @@ use crate::syscall::{
|
||||
fallocate::sys_fallocate,
|
||||
fcntl::sys_fcntl,
|
||||
flock::sys_flock,
|
||||
fork::sys_fork,
|
||||
fork::{sys_fork, sys_vfork},
|
||||
fsync::{sys_fdatasync, sys_fsync},
|
||||
futex::sys_futex,
|
||||
get_priority::sys_get_priority,
|
||||
@ -205,6 +205,7 @@ impl_syscall_nums_and_dispatch_fn! {
|
||||
SYS_GETSOCKOPT = 55 => sys_getsockopt(args[..5]);
|
||||
SYS_CLONE = 56 => sys_clone(args[..5], &user_ctx);
|
||||
SYS_FORK = 57 => sys_fork(args[..0], &user_ctx);
|
||||
SYS_VFORK = 58 => sys_vfork(args[..0], &user_ctx);
|
||||
SYS_EXECVE = 59 => sys_execve(args[..3], &mut user_ctx);
|
||||
SYS_EXIT = 60 => sys_exit(args[..1]);
|
||||
SYS_WAIT4 = 61 => sys_wait4(args[..4]);
|
||||
|
Reference in New Issue
Block a user