diff options
author | rofl0r <retnyg@gmx.net> | 2012-12-06 21:01:06 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-12-06 21:01:06 +0100 |
commit | 6fb88a955a112223d3304bdaedc067771024725b (patch) | |
tree | 32c15ea3a11bbd8306cfc8a8ba579468d36c4bb9 /src/misc/personality.c | |
parent | a1990e1e833624b26b0ca55aa7fce56bb594f814 (diff) | |
download | musl-6fb88a955a112223d3304bdaedc067771024725b.tar.gz musl-6fb88a955a112223d3304bdaedc067771024725b.tar.xz musl-6fb88a955a112223d3304bdaedc067771024725b.zip |
add personality syscall
Diffstat (limited to 'src/misc/personality.c')
-rw-r--r-- | src/misc/personality.c | 7 |
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 |