]> granicus.if.org Git - strace/commit
Enhance personality syscall decoding
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 26 Dec 2015 01:40:50 +0000 (01:40 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 26 Dec 2015 02:10:46 +0000 (02:10 +0000)
commit727508b0776278e9239f50d65ea3bb849e4e7803
tree61602374ec57de2a45bcaa3d46aaa76249681e1a
parenta147bf8500c5b8e0436bae6fd18562b277dd3945
Enhance personality syscall decoding

* 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.
personality.c
tests/personality.c
tests/personality.test
xlat/personality_flags.in [new file with mode: 0644]
xlat/personality_types.in [moved from xlat/personality_options.in with 60% similarity]