mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 23:52:07 +00:00
Kernel+LibELF: Allow Non ET_DYN executables to have an interpreter
This commit is contained in:
parent
d64d0451e5
commit
0cb636078a
2 changed files with 0 additions and 8 deletions
|
@ -469,9 +469,6 @@ KResultOr<NonnullRefPtr<FileDescription>> Process::find_elf_interpreter_for_exec
|
|||
}
|
||||
|
||||
if (!interpreter_path.is_empty()) {
|
||||
// Programs with an interpreter better be relocatable executables or we don't know what to do...
|
||||
if (elf_header->e_type != ET_DYN)
|
||||
return KResult(-ENOEXEC);
|
||||
|
||||
#ifdef EXEC_DEBUG
|
||||
dbg() << "exec(" << path << "): Using program interpreter " << interpreter_path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue