move new linux syscall wrapper functions to proper source dir
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include "syscall.h"
|
||||
#ifdef SYS_arch_prctl
|
||||
#include "libc.h"
|
||||
int __arch_prctl(int code, unsigned long addr)
|
||||
{
|
||||
return syscall(SYS_arch_prctl, code, addr);
|
||||
}
|
||||
weak_alias(__arch_prctl, arch_prctl);
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "syscall.h"
|
||||
#ifdef SYS_personality
|
||||
int personality(unsigned long persona)
|
||||
{
|
||||
return syscall(SYS_personality, persona);
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user