mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
Kernel: Don't forget to copy & destroy root_directory_for_procfs
Also, rename it to root_directory_relative_to_global_root.
This commit is contained in:
parent
8ca6e63119
commit
33c0dc08a7
Notes:
sideshowbarker
2024-07-19 10:06:52 +09:00
Author: https://github.com/bugaevc
Commit: 33c0dc08a7
Pull-request: https://github.com/SerenityOS/serenity/pull/1063
3 changed files with 10 additions and 8 deletions
|
@ -577,7 +577,7 @@ Optional<KBuffer> procfs$pid_root(InodeIdentifier identifier)
|
|||
auto handle = ProcessInspectionHandle::from_pid(to_pid(identifier));
|
||||
if (!handle)
|
||||
return {};
|
||||
return handle->process().root_directory_for_procfs().absolute_path().to_byte_buffer();
|
||||
return handle->process().root_directory_relative_to_global_root().absolute_path().to_byte_buffer();
|
||||
}
|
||||
|
||||
Optional<KBuffer> procfs$self(InodeIdentifier)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue