mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
Kernel: Use Userspace<T> for the module_unload syscall
This commit is contained in:
parent
c4927ceb08
commit
20e2a5c111
2 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@ int Process::sys$module_load(Userspace<const char*> user_path, size_t path_lengt
|
|||
return 0;
|
||||
}
|
||||
|
||||
int Process::sys$module_unload(const char* user_name, size_t name_length)
|
||||
int Process::sys$module_unload(Userspace<const char*> user_name, size_t name_length)
|
||||
{
|
||||
if (!is_superuser())
|
||||
return -EPERM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue