mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00
Kernel: Use Userspace<T> for the unlink syscall
This commit is contained in:
parent
ecfe20efd2
commit
317800324c
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
int Process::sys$unlink(const char* user_path, size_t path_length)
|
||||
int Process::sys$unlink(Userspace<const char*> user_path, size_t path_length)
|
||||
{
|
||||
REQUIRE_PROMISE(cpath);
|
||||
if (!validate_read(user_path, path_length))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue