Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prctl: use getarg_ull for option value retrieval
The prctl syscall does not use compat on x32/n32, so argument types are in fact kernel_ulong_t. * prctl.c (print_prctl_args): Use getarg_ull, print as "%#llx" instead of "%#lx". (SYS_FUNC(prctl)): Use getarg_ull to store call arguments in arg2, arg3, arg4, arg5 variables of type unsigned long long. Use them in printing routines. (SYS_FUNC(arch_prctl)): Use getarg_ull to store call argument in addr variable of type unsigned long long. Print it as "%#llx" instead of "%#lx".
- Loading branch information
Showing
1 changed file
with
52 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters