diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-16 15:41:48 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-16 15:41:48 +0100 |
commit | 084287ca45511921c2382bcb2628e488b3dd1ad5 (patch) | |
tree | fedf5eb378f0b68e4d5285821c96c45c2807d95a /Kernel/Process.h | |
parent | c99f8af66da3464447e3f310cddb21f63d59292a (diff) | |
download | serenity-084287ca45511921c2382bcb2628e488b3dd1ad5.zip |
Reimplement tcsetattr/tcgetattr as ioctls.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index f15afd1ae9..19cdf6a65f 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -199,6 +199,9 @@ public: bool validate_user_read(LinearAddress) const; bool validate_user_write(LinearAddress) const; + bool validate_read(void*, size_t) const; + bool validate_write(void*, size_t) const; + CoreInode* cwd_inode() { return m_cwd ? m_cwd->core_inode() : nullptr; } CoreInode* executable_inode() { return m_executable ? m_executable->core_inode() : nullptr; } |