summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-16 15:41:48 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-16 15:41:48 +0100
commit084287ca45511921c2382bcb2628e488b3dd1ad5 (patch)
treefedf5eb378f0b68e4d5285821c96c45c2807d95a /Kernel/Process.h
parentc99f8af66da3464447e3f310cddb21f63d59292a (diff)
downloadserenity-084287ca45511921c2382bcb2628e488b3dd1ad5.zip
Reimplement tcsetattr/tcgetattr as ioctls.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h3
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; }