mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Kernel: Unbreak /proc/PID/root symlink
The generator callback for this file was mistakenly returning false on success, which caused the kernel to fail sys$readlink() with ENOENT.
This commit is contained in:
parent
1d621ab172
commit
57a2394cb4
Notes:
sideshowbarker
2024-07-18 23:08:05 +09:00
Author: https://github.com/awesomekling
Commit: 57a2394cb4
1 changed files with 1 additions and 1 deletions
|
@ -661,7 +661,7 @@ static bool procfs$pid_root(InodeIdentifier identifier, KBufferBuilder& builder)
|
|||
if (!process)
|
||||
return false;
|
||||
builder.append_bytes(process->root_directory_relative_to_global_root().absolute_path().to_byte_buffer());
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool procfs$self(InodeIdentifier, KBufferBuilder& builder)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue