From 5b03c42d9a288c9f7e44e4829e5d70388c9f73a5 Mon Sep 17 00:00:00 2001 From: zhushengle Date: Sat, 27 Feb 2021 17:51:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4SysFork=E4=B8=AD=E7=9A=84CLON?= =?UTF-8?q?E=5FSIGHAND=20flag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- syscall/process_syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syscall/process_syscall.c b/syscall/process_syscall.c index 7bb1ec90..f1ba5067 100644 --- a/syscall/process_syscall.c +++ b/syscall/process_syscall.c @@ -318,7 +318,7 @@ int SysWait(int pid, USER int *status, int options, void *rusage) int SysFork(void) { - return OsClone(CLONE_SIGHAND, 0, 0); + return OsClone(0, 0, 0); } unsigned int SysGetPPID(void) -- GitLab