insmod: not available on aarch64 yet
This commit is contained in:
parent
78196ef5b6
commit
c3311fe272
@ -98,7 +98,10 @@ long sys_sysfunc(long fn, char ** args) {
|
||||
case TOARU_SYS_FUNC_INSMOD:
|
||||
/* Linux has init_module as a system call? */
|
||||
if (this_core->current_process->user != 0) return -EACCES;
|
||||
#if defined(__aarch64__)
|
||||
/* TODO: Most modules are not right for this and we are missing relocations */
|
||||
return -EINVAL;
|
||||
#endif
|
||||
PTR_VALIDATE(args);
|
||||
if (!args) return -EFAULT;
|
||||
PTR_VALIDATE(args[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user