BarryServer : Git

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

// Related

Nucleus

Barry Kernel threads + threads share address space 6217f0d (3 years, 1 month ago)
diff --git a/task/exec.c b/task/exec.c
index ff80d21..8134a3d 100644
--- a/task/exec.c
+++ b/task/exec.c
@@ -216,9 +216,6 @@ execve(const char *file, char *argv[], char *envp[])
 	close(fd);
 
 	/* Stack area */
-	if (current->stack)
-		put(current->stack);
-	current->stack = vm_create_stack();
 	memcpy((void *) esp, istack, ssz);
 	kfree(istack);