1 #ifndef _LINUX_PERSONALITY_H
2 #define _LINUX_PERSONALITY_H
4 #include <uapi/linux/personality.h>
7 * Return the base personality without flags.
9 #define personality(pers) (pers & PER_MASK)
12 * Change personality of the currently running process.
14 #define set_personality(pers) (current->personality = (pers))
16 #endif /* _LINUX_PERSONALITY_H */