mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 17:58:12 +00:00
Kernel: Allow read access sparingly to some /sys/kernel directory nodes
Those nodes are not exposing any sensitive information so there's no harm in exposing them.
This commit is contained in:
parent
1ca0ac5207
commit
95d8aa2982
13 changed files with 26 additions and 0 deletions
|
@ -23,6 +23,8 @@ public:
|
|||
private:
|
||||
explicit SysFSMemoryStatus(SysFSDirectory const& parent_directory);
|
||||
virtual ErrorOr<void> try_generate(KBufferBuilder& builder) override;
|
||||
|
||||
virtual bool is_readable_by_jailed_processes() const override { return true; }
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue