mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Kernel/ProcFS: Get unveil stats instead of FDs stats for unveil data
It was accidentally using `procfs_get_fds_stats` instead of `procfs_get_unveil_stats`.
This commit is contained in:
parent
0d21a1307e
commit
e06660d33c
Notes:
sideshowbarker
2024-07-18 07:00:16 +09:00
Author: https://github.com/Lubrsi
Commit: e06660d33c
Pull-request: https://github.com/SerenityOS/serenity/pull/9400
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ KResult ProcFSProcessPropertyInode::try_to_acquire_data(Process& process, KBuffe
|
|||
VERIFY(m_parent_sub_directory_type == SegmentedProcFSIndex::ProcessSubDirectory::Reserved);
|
||||
switch (m_possible_data.property_type) {
|
||||
case SegmentedProcFSIndex::MainProcessProperty::Unveil:
|
||||
return process.procfs_get_fds_stats(builder);
|
||||
return process.procfs_get_unveil_stats(builder);
|
||||
case SegmentedProcFSIndex::MainProcessProperty::Pledge:
|
||||
return process.procfs_get_pledge_stats(builder);
|
||||
case SegmentedProcFSIndex::MainProcessProperty::FileDescriptions:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue