mirror of
https://github.com/drasko/codezero.git
synced 2026-01-19 22:33:15 +01:00
Fixed various faults with execve().
Added a new ordered task_insert_vma() function
This commit is contained in:
@@ -21,12 +21,14 @@ int forktest(void)
|
||||
myid = getpid();
|
||||
pid = myid;
|
||||
if (global != 0) {
|
||||
printf("Global not zero.\n");
|
||||
printf("-- FAILED --\n");
|
||||
goto out;
|
||||
}
|
||||
global = myid;
|
||||
|
||||
if (global != myid) {
|
||||
printf("Global has not changed to myid.\n");
|
||||
printf("-- FAILED --\n");
|
||||
goto out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user