summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-12-07 16:17:16 -0500
committerRich Felker <dalias@aerifal.cx>2012-12-07 16:17:16 -0500
commit55aef73f4789a97dc99f30e72776e55924255e1b (patch)
treedc20c965027bcc0d1471496784b2237897234d33 /src/misc
parent03b0f13e908eb61c1218db5e4478f0162fa98f5a (diff)
downloadmusl-55aef73f4789a97dc99f30e72776e55924255e1b.tar.gz
musl-55aef73f4789a97dc99f30e72776e55924255e1b.tar.bz2
musl-55aef73f4789a97dc99f30e72776e55924255e1b.tar.xz
musl-55aef73f4789a97dc99f30e72776e55924255e1b.zip
move new linux syscall wrapper functions to proper source dir
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/arch_prctl.c9
-rw-r--r--src/misc/personality.c7
2 files changed, 0 insertions, 16 deletions
diff --git a/src/misc/arch_prctl.c b/src/misc/arch_prctl.c
deleted file mode 100644
index a6ab2644..00000000
--- a/src/misc/arch_prctl.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#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
diff --git a/src/misc/personality.c b/src/misc/personality.c
deleted file mode 100644
index 06851f58..00000000
--- a/src/misc/personality.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include "syscall.h"
-#ifdef SYS_personality
-int personality(unsigned long persona)
-{
- return syscall(SYS_personality, persona);
-}
-#endif