1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

Kernel: Convert some more syscalls to Userspace<T>

These are really straightforward when all the helpers just work.
This commit is contained in:
Andreas Kling 2020-08-01 19:38:31 +02:00
parent 9bcf0b70cb
commit e526fa572a
4 changed files with 6 additions and 6 deletions

View file

@ -30,7 +30,7 @@
namespace Kernel {
int Process::sys$mkdir(const char* user_path, size_t path_length, mode_t mode)
int Process::sys$mkdir(Userspace<const char*> user_path, size_t path_length, mode_t mode)
{
REQUIRE_PROMISE(cpath);
auto path = get_syscall_path_argument(user_path, path_length);