1
0
rofl0r 12 жил өмнө
parent
commit
6fb88a955a

+ 6 - 0
include/sys/personality.h

@@ -0,0 +1,6 @@
+#ifndef _PERSONALITY_H
+#define _PERSONALITY_H
+
+int personality(unsigned long);
+
+#endif

+ 7 - 0
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