gettid syscall, fix issues with vmm and mmap syscall

This commit is contained in:
Matheus
2022-08-18 22:12:51 -03:00
parent da99da2b36
commit 4de0ff2556
9 changed files with 50 additions and 10 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ int elf_load(thread_t* thread, vnode_t* node, char** argv, char** env){
// also load the executable memory image if we're using an interpreter
if(interp){
for(size_t currentph = 0; currentph < header.ph_count; ++currentph){
for(size_t currentph = 0; currentph < progheader.ph_count; ++currentph){
// read ph