Files
linux-apfs/include/linux/personality.h
T

17 lines
354 B
C
Raw Normal View History

2005-04-16 15:20:36 -07:00
#ifndef _LINUX_PERSONALITY_H
#define _LINUX_PERSONALITY_H
2012-10-13 10:46:48 +01:00
#include <uapi/linux/personality.h>
2005-04-16 15:20:36 -07:00
/*
* Return the base personality without flags.
*/
#define personality(pers) (pers & PER_MASK)
/*
* Change personality of the currently running process.
*/
2015-04-11 21:45:22 +02:00
#define set_personality(pers) (current->personality = (pers))
2005-04-16 15:20:36 -07:00
#endif /* _LINUX_PERSONALITY_H */