]> granicus.if.org Git - strace/commit
bjm: use getarg_ull for retrieving first two parameters of init_module syscall
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 16 Oct 2016 23:15:37 +0000 (02:15 +0300)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 28 Oct 2016 23:54:01 +0000 (02:54 +0300)
commitdad07434a85f2132c412c95cde4011157857df91
tree1ac7e0dd3702bc677a522c0b682da5f840bf75d2
parentb61f3251c02201a96813a80c769415951e8b3c76
bjm: use getarg_ull for retrieving first two parameters of init_module syscall

As init_module has no compat wrapper, its first parameter is a pointer
and the second is length, they both have the same size as kernel_ulong_t
type.

* bjm.c (SYS_FUNC(init_module)): Obtain first two parameters using
getarg_ull, print address argument using printaddr_ull, print length
argument using "%llu" conversion specifier.
bjm.c