diff options
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index d3aac8d661..f1995de0aa 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -175,7 +175,7 @@ public: int sys$mkdir(const char* pathname, size_t path_length, mode_t mode); clock_t sys$times(tms*); int sys$utime(const char* pathname, size_t path_length, const struct utimbuf*); - int sys$link(const char* old_path, const char* new_path); + int sys$link(const Syscall::SC_link_params*); int sys$unlink(const char* pathname, size_t path_length); int sys$symlink(const char* target, const char* linkpath); int sys$rmdir(const char* pathname, size_t path_length); @@ -263,6 +263,8 @@ public: template<typename DataType, typename SizeType> bool validate(const Syscall::MutableBufferArgument<DataType, SizeType>&); + String validate_and_copy_string_from_user(const Syscall::StringArgument&) const; + Custody& current_directory(); Custody* executable() { return m_executable.ptr(); } |