about summary refs log tree commit diff
path: root/src/misc/personality.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/personality.c')
-rw-r--r--src/misc/personality.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/misc/personality.c b/src/misc/personality.c
new file mode 100644
index 00000000..6e13a77d
--- /dev/null
+++ b/src/misc/personality.c
@@ -0,0 +1,7 @@
+#include "syscall.h"
+#ifdef SYS_personality
+int personality(unsigned long persona)
+{
+	return syscall(SYS_personality, persona);	
+}
+#endif