extern void decode_netlink(struct tcb *, unsigned long, unsigned long);
extern void tprint_open_modes(unsigned int);
extern const char *sprint_open_modes(unsigned int);
-extern void print_seccomp_filter(struct tcb *, unsigned long);
-extern void print_seccomp_fprog(struct tcb *, unsigned long, unsigned short);
+
+extern void
+print_seccomp_filter(struct tcb *, kernel_ureg_t addr);
+
+extern void
+print_seccomp_fprog(struct tcb *, kernel_ureg_t addr, unsigned short len);
struct strace_stat;
extern void print_struct_stat(struct tcb *tcp, const struct strace_stat *const st);
}
void
-print_seccomp_fprog(struct tcb *tcp, unsigned long addr, unsigned short len)
+print_seccomp_fprog(struct tcb *const tcp, const kernel_ureg_t addr,
+ const unsigned short len)
{
if (abbrev(tcp)) {
printaddr(addr);
#include "seccomp_fprog.h"
void
-print_seccomp_filter(struct tcb *tcp, unsigned long addr)
+print_seccomp_filter(struct tcb *const tcp, const kernel_ureg_t addr)
{
struct seccomp_fprog fprog;
}
static void
-decode_seccomp_set_mode_strict(unsigned int flags, unsigned long addr)
+decode_seccomp_set_mode_strict(const unsigned int flags,
+ const kernel_ureg_t addr)
{
tprintf("%u, ", flags);
printaddr(addr);