mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:55:08 +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
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