BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / 6063f6693644654ed3fe8ed5c6ca6be311696132 / task / exec.c

// Related

Nucleus

Barry Fixed scheduler double-schedule bug 6063f66 (3 years, 2 months ago)
diff --git a/task/exec.c b/task/exec.c
index 8f7da4e..d4b4c3d 100644
--- a/task/exec.c
+++ b/task/exec.c
@@ -132,7 +132,7 @@ execve(const char *file, char *argv[], char *envp[])
 	 * POINT OF NO RETURN
 	 */
 
-	current->inSyscall = 0;
+	exit_syscall_context();
 
 	/* Store everything (pointers adjusted) in temporary buffer */
 	uintptr_t esp = 0xE0000000 - ssz;