From: rofl0r Date: Thu, 6 Dec 2012 20:01:06 +0000 (+0100) Subject: add personality syscall X-Git-Tag: v0.9.9~79 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6fb88a955a112223d3304bdaedc067771024725b;p=oweals%2Fmusl.git add personality syscall --- diff --git a/include/sys/personality.h b/include/sys/personality.h new file mode 100644 index 00000000..852c0248 --- /dev/null +++ b/include/sys/personality.h @@ -0,0 +1,6 @@ +#ifndef _PERSONALITY_H +#define _PERSONALITY_H + +int personality(unsigned long); + +#endif 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