Ensure {0,0} auxv makes it into memory
This commit is contained in:
parent
273b4ce9fa
commit
dedc201bc1
@ -123,6 +123,7 @@ exec(
|
||||
};
|
||||
int auxvc = 0;
|
||||
for (auxvc = 0; auxv[auxvc].id != 0; ++auxvc);
|
||||
auxvc++;
|
||||
|
||||
uintptr_t heap = current_process->image.entry + current_process->image.size;
|
||||
alloc_frame(get_page(heap, 1, current_directory), 0, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user