1
Fork 0
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:
Liav A 2022-11-12 20:04:20 +02:00 committed by Andrew Kaster
parent 1ca0ac5207
commit 95d8aa2982
13 changed files with 26 additions and 0 deletions

View file

@ -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; }
};
}