1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

Kernel: Use Userspace<T> in sys$utime()

And again, another helper overload.
This commit is contained in:
Andreas Kling 2020-07-31 16:38:47 +02:00
parent 62a4099581
commit 180207062c
2 changed files with 12 additions and 2 deletions

View file

@ -30,7 +30,7 @@
namespace Kernel {
int Process::sys$utime(const char* user_path, size_t path_length, const utimbuf* user_buf)
int Process::sys$utime(Userspace<const char*> user_path, size_t path_length, Userspace<const struct utimbuf*> user_buf)
{
REQUIRE_PROMISE(fattr);
if (user_buf && !validate_read_typed(user_buf))