* pathtrace.c (upathmatch): Change address argument type
from unsigned long to kernel_ureg_t.
(pathtrace_match): Change the type of all tracee address variables
from unsigned long to kernel_ureg_t.
* Return true if specified path (in user-space) matches.
*/
static int
-upathmatch(struct tcb *tcp, unsigned long upath)
+upathmatch(struct tcb *const tcp, const kernel_ureg_t upath)
{
char path[PATH_MAX + 1];
{
struct pollfd fds;
unsigned nfds;
- unsigned long start, cur, end;
+ kernel_ureg_t start, cur, end;
start = tcp->u_arg[0];
nfds = tcp->u_arg[1];