mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-27 01:50:24 +00:00
Kernel: Silence debug spam when running dynamically linked programs
This commit is contained in:
parent
c7d0c2ee7a
commit
e5eda151b4
Notes:
sideshowbarker
2024-07-19 00:43:39 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e5eda151b4c
1 changed files with 2 additions and 0 deletions
|
@ -451,7 +451,9 @@ KResultOr<NonnullRefPtr<FileDescription>> Process::find_elf_interpreter_for_exec
|
|||
if (elf_header->e_type != ET_DYN)
|
||||
return KResult(-ENOEXEC);
|
||||
|
||||
#ifdef EXEC_DEBUG
|
||||
dbg() << "exec(" << path << "): Using program interpreter " << interpreter_path;
|
||||
#endif
|
||||
auto interp_result = VFS::the().open(interpreter_path, O_EXEC, 0, current_directory());
|
||||
if (interp_result.is_error()) {
|
||||
dbg() << "exec(" << path << "): Unable to open program interpreter " << interpreter_path;
|
||||
|
|
Loading…
Reference in a new issue