Dmitry V. Levin | d28b6a0 | 2014-12-03 21:06:11 +0000 | [diff] [blame] | 1 | #include "defs.h" |
2 | |||||
3 | #include <linux/personality.h> | ||||
4 | |||||
5 | #include "xlat/personality_options.h" | ||||
6 | |||||
7 | int | ||||
8 | sys_personality(struct tcb *tcp) | ||||
9 | { | ||||
10 | if (entering(tcp)) | ||||
11 | printxval(personality_options, tcp->u_arg[0], "PER_???"); | ||||
12 | return 0; | ||||
13 | } |