summaryrefslogtreecommitdiff
path: root/Kernel/TTY/TTY.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/TTY/TTY.h')
-rw-r--r--Kernel/TTY/TTY.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/TTY/TTY.h b/Kernel/TTY/TTY.h
index 8ba84a0dc6..a60526078c 100644
--- a/Kernel/TTY/TTY.h
+++ b/Kernel/TTY/TTY.h
@@ -67,6 +67,9 @@ public:
void set_default_termios();
void hang_up();
+ // ^Device
+ virtual mode_t required_mode() const override { return 0620; }
+
protected:
virtual ssize_t on_tty_write(const UserOrKernelBuffer&, ssize_t) = 0;
void set_size(unsigned short columns, unsigned short rows);