move new linux syscall wrapper functions to proper source dir

This commit is contained in:
Rich Felker
2012-12-07 16:17:16 -05:00
parent 03b0f13e90
commit 55aef73f47
2 changed files with 0 additions and 0 deletions
+9
View File
@@ -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
+7
View File
@@ -0,0 +1,7 @@
#include "syscall.h"
#ifdef SYS_personality
int personality(unsigned long persona)
{
return syscall(SYS_personality, persona);
}
#endif