]> granicus.if.org Git - strace/commit
Check for current_klongsize instead of current_personality where appropriate
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 19 Dec 2016 18:30:22 +0000 (18:30 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 19 Dec 2016 19:58:16 +0000 (19:58 +0000)
commitb3d82da686aee7ceb11b81abe149b5315f3bc3f3
tree00fc3b917d658edbf8c39e71f399a23d7f2f00fa
parenta2485b86e736bf6db93e7096ffbb73da8e72c801
Check for current_klongsize instead of current_personality where appropriate

current_klongsize checks are more universal, therefore they are usually
shorter and easier to comprehend.

* desc.c (umove_kulong_array_or_printaddr): Check for current_klongsize
instead of current_personality and current_wordsize.
* io.c (print_lld_from_low_high_val): Likewise.
* lseek.c (SYS_FUNC(lseek)): Likewise.
* resource.c (decode_rlimit): Likewise.
* syscall.c (is_negated_errno): Likewise.
* util.c (getllval, getarg_klu): Likewise.
desc.c
io.c
lseek.c
resource.c
syscall.c
util.c