Since there is no compat handler for x32/n32, kernel returns kernel's
long as a result of the call.
Interesting, does any callee out there actually care to have enough room
allocated for kernel long?
* prctl.c (SYS_FUNC(prctl)): Use printnum_kptr instead of printnum_ptr
to print the value stored at address pointed by addr2 argument
of PR_GET_TID_ADDRESS operation.
if (entering(tcp))
tprints(", ");
else
- printnum_ptr(tcp, arg2);
+ printnum_kptr(tcp, arg2);
break;
case PR_GET_TSC: