blob: 2030374e769eda7adc6265054c35002d2d6869a9 [file] [log] [blame]
#include "defs.h"
#include <linux/personality.h>
#include "xlat/personality_options.h"
SYS_FUNC(personality)
{
if (entering(tcp)) {
printflags(personality_options, tcp->u_arg[0], "PER_???");
return 0;
}
tcp->auxstr = sprintflags("", personality_options, tcp->u_rval);
return RVAL_HEX | RVAL_STR;
}