mirror of https://git.musl-libc.org/git/musl
2 changed files with 13 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||
#ifndef _PERSONALITY_H |
|||
#define _PERSONALITY_H |
|||
|
|||
int personality(unsigned long); |
|||
|
|||
#endif |
|||
@ -0,0 +1,7 @@ |
|||
#include "syscall.h" |
|||
#ifdef SYS_personality |
|||
int personality(unsigned long persona) |
|||
{ |
|||
return syscall(SYS_personality, persona); |
|||
} |
|||
#endif |
|||
Loading…
Reference in new issue