Dmitry V. Levin
727508b077
* xlat/personality_options.in: Split into ... * xlat/personality_types.in: ... personality types and ... * xlat/personality_flags.in: ... personality flags. * personality.c: Include "xlat/personality_types.h" and "xlat/personality_flags.h" instead of "xlat/personality_options.h". (SYS_FUNC(personality)): Print PER_MASK part of personality as a symbolic value, and the rest of personality as a set of flags. * tests/personality.c (main): Add more test cases. * tests/personality.test: Update.
14 lines
202 B
Bash
Executable File
14 lines
202 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check personality syscall decoding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
OUT="$LOG.out"
|
|
run_strace -a20 -epersonality $args > "$OUT"
|
|
match_grep "$LOG" "$OUT"
|
|
rm -f "$OUT"
|
|
|
|
exit 0
|