]> granicus.if.org Git - strace/commit
fadvise: use getarg_ull for obtaining len argument of fadvise64 syscall
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 21 Sep 2016 21:21:35 +0000 (00:21 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 28 Sep 2016 03:00:10 +0000 (03:00 +0000)
commit2c871eb566a08cbb4aee07e48864aeb308528b4b
treeb4e1459ad19d3d7a579d3c179c96a6d400669ba6
parentb93991d381e345b926c0ed29612177b16d4cc28c
fadvise: use getarg_ull for obtaining len argument of fadvise64 syscall

Since its type is size_t, it is 64-bit wide on x32 and special care
should be taken in order to obtain it.

* fadvise.c (SYS_FUNC(fadvise64)): Use getarg_ull for obtaining value
of "len" syscall argument.
fadvise.c