Rev 5270 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5270 | Rev 6082 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | /* |
42 | /* |
43 | * Return the base personality without flags. |
43 | * Return the base personality without flags. |
44 | */ |
44 | */ |
45 | #define personality(pers) (pers & PER_MASK) |
45 | #define personality(pers) (pers & PER_MASK) |
Line 46... | Line -... | ||
46 | - | ||
47 | 46 | ||
48 | /* |
47 | /* |
49 | * Change personality of the currently running process. |
48 | * Change personality of the currently running process. |
50 | */ |
- | |
51 | #define set_personality(pers) \ |
49 | */ |
Line 52... | Line 50... | ||
52 | ((current->personality == (pers)) ? 0 : __set_personality(pers)) |
50 | #define set_personality(pers) (current->personality = (pers)) |