mirror of git://git.musl-libc.org/musl
add personality syscall
This commit is contained in:
parent
a1990e1e83
commit
6fb88a955a
|
@ -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