move new linux syscall wrapper functions to proper source dir
[musl] / src / linux / personality.c
diff --git a/src/linux/personality.c b/src/linux/personality.c
new file mode 100644 (file)
index 0000000..06851f5
--- /dev/null
@@ -0,0 +1,7 @@
+#include "syscall.h"
+#ifdef SYS_personality
+int personality(unsigned long persona)
+{
+       return syscall(SYS_personality, persona);
+}
+#endif