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:
parent
62a4099581
commit
180207062c
2 changed files with 12 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue