Rev 6082 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5270 | serge | 1 | #ifndef _LINUX_PERSONALITY_H |
2 | #define _LINUX_PERSONALITY_H |
||
3 | |||
4 | #include |
||
5 | |||
6 | /* |
||
7 | * Return the base personality without flags. |
||
8 | */ |
||
9 | #define personality(pers) (pers & PER_MASK) |
||
10 | |||
11 | /* |
||
12 | * Change personality of the currently running process. |
||
13 | */ |
||
6082 | serge | 14 | #define set_personality(pers) (current->personality = (pers)) |
5270 | serge | 15 | |
16 | #endif /* _LINUX_PERSONALITY_H */ |