Dmitry V. Levin
d28b6a0264
* personality.c: New file. * Makefile.am (strace_SOURCES): Add it. * system.c: Move sys_personality and related code to personality.c.
14 lines
222 B
C
14 lines
222 B
C
#include "defs.h"
|
|
|
|
#include <linux/personality.h>
|
|
|
|
#include "xlat/personality_options.h"
|
|
|
|
int
|
|
sys_personality(struct tcb *tcp)
|
|
{
|
|
if (entering(tcp))
|
|
printxval(personality_options, tcp->u_arg[0], "PER_???");
|
|
return 0;
|
|
}
|