mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
Kernel: Make all ProcFS and SysFS files zero-sized
There is no value in exposing particular sizes for these files.
This commit is contained in:
parent
b959c1bfa9
commit
8ebf08b6c8
5 changed files with 2 additions and 6 deletions
|
@ -163,7 +163,7 @@ InodeMetadata ProcFSGlobalInode::metadata() const
|
|||
metadata.mode = S_IFREG | m_associated_component->required_mode();
|
||||
metadata.uid = m_associated_component->owner_user();
|
||||
metadata.gid = m_associated_component->owner_group();
|
||||
metadata.size = m_associated_component->size();
|
||||
metadata.size = 0;
|
||||
metadata.mtime = m_associated_component->modified_time();
|
||||
return metadata;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue