1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 13:05:09 +00:00

Kernel: Use Userspace<T> for the module_load syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 15:36:41 -07:00 committed by Andreas Kling
parent b5a2a215f6
commit c4927ceb08
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ namespace Kernel {
extern HashMap<String, OwnPtr<Module>>* g_modules;
int Process::sys$module_load(const char* user_path, size_t path_length)
int Process::sys$module_load(Userspace<const char*> user_path, size_t path_length)
{
if (!is_superuser())
return -EPERM;