mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +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
|
@ -119,7 +119,7 @@ InodeMetadata SysFSInode::metadata() const
|
|||
metadata.mode = S_IFREG | S_IRUSR | S_IRGRP | S_IROTH;
|
||||
metadata.uid = 0;
|
||||
metadata.gid = 0;
|
||||
metadata.size = m_associated_component->size();
|
||||
metadata.size = 0;
|
||||
metadata.mtime = mepoch;
|
||||
return metadata;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue