summaryrefslogtreecommitdiff
path: root/Kernel/Devices/RandomDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/RandomDevice.h')
-rw-r--r--Kernel/Devices/RandomDevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Devices/RandomDevice.h b/Kernel/Devices/RandomDevice.h
index c419934107..fbf5bbaf7b 100644
--- a/Kernel/Devices/RandomDevice.h
+++ b/Kernel/Devices/RandomDevice.h
@@ -36,6 +36,9 @@ public:
RandomDevice();
virtual ~RandomDevice() override;
+ // ^Device
+ virtual mode_t required_mode() const override { return 0666; }
+
private:
// ^CharacterDevice
virtual KResultOr<size_t> read(FileDescription&, size_t, UserOrKernelBuffer&, size_t) override;