diff options
author | Marvin Borner | 2021-05-15 22:36:21 +0200 |
---|---|---|
committer | Marvin Borner | 2021-05-15 22:36:21 +0200 |
commit | df5a8c5b32733ae5e2d872b1c7baa4311a9d2308 (patch) | |
tree | 460b35ad421bc74e75e942a35379621ba168c9ea /kernel/features/load.c | |
parent | f97343c268b0fc19bf93d509a019f3d13c7af5a4 (diff) |
Strange fixes
I have no ideas halp
Diffstat (limited to 'kernel/features/load.c')
-rw-r--r-- | kernel/features/load.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/features/load.c b/kernel/features/load.c index d6e387e..645c4d2 100644 --- a/kernel/features/load.c +++ b/kernel/features/load.c @@ -66,7 +66,6 @@ res elf_load(const char *name, struct proc *proc) if (vfs_read(path, &program, header.phoff + header.phentsize * i, sizeof(program)) != sizeof(program)) { memory_bypass_disable(); - clac(); return -ENOEXEC; } memory_bypass_disable(); @@ -107,7 +106,6 @@ res elf_load(const char *name, struct proc *proc) if (vfs_read(path, §ion_strings, header.shoff + header.shentsize * header.shstrndx, sizeof(section_strings)) != sizeof(section_strings)) { memory_bypass_disable(); - clac(); return -ENOEXEC; } memory_bypass_disable(); @@ -122,7 +120,6 @@ res elf_load(const char *name, struct proc *proc) if (vfs_read(path, §ion, header.shoff + header.shentsize * i, sizeof(section)) != sizeof(section)) { memory_bypass_disable(); - clac(); return -ENOEXEC; } memory_bypass_disable(); @@ -135,7 +132,6 @@ res elf_load(const char *name, struct proc *proc) /* char name[64] = { 0 }; // Max length? */ /* if (vfs_read(path, &name, offset, sizeof(name)) != sizeof(name)) { */ /* memory_bypass_disable(); */ - /* clac(); */ /* return -ENOEXEC; */ /* } */ /* memory_bypass_disable(); */ |