extern void print_symbolic_mode_t(unsigned int);
extern void print_numeric_umode_t(unsigned short);
extern void print_numeric_long_umask(unsigned long);
-extern void dumpiov_in_msghdr(struct tcb *, long, unsigned long);
-extern void dumpiov_in_mmsghdr(struct tcb *, long);
-extern void dumpiov_upto(struct tcb *, int, long, unsigned long);
-extern void dumpstr(struct tcb *, long, int);
+
+extern void
+dumpiov_in_msghdr(struct tcb *, kernel_ureg_t addr, unsigned long data_size);
+
+extern void
+dumpiov_in_mmsghdr(struct tcb *, kernel_ureg_t addr);
+
+extern void
+dumpiov_upto(struct tcb *, int len, kernel_ureg_t addr, unsigned long data_size);
+
+extern void
+dumpstr(struct tcb *, kernel_ureg_t addr, int len);
extern void
printstr_ex(struct tcb *, kernel_ureg_t addr, long len,
}
void
-dumpiov_in_mmsghdr(struct tcb *tcp, long addr)
+dumpiov_in_mmsghdr(struct tcb *const tcp, kernel_ureg_t addr)
{
unsigned int len = tcp->u_rval;
unsigned int i, fetched;
}
static bool
-fetch_msghdr_namelen(struct tcb *tcp, const long addr, int *const p_msg_namelen)
+fetch_msghdr_namelen(struct tcb *const tcp, const kernel_ureg_t addr,
+ int *const p_msg_namelen)
{
struct msghdr msg;
}
static void
-decode_msghdr(struct tcb *tcp, const int *const p_user_msg_namelen,
- const long addr, const unsigned long data_size)
+decode_msghdr(struct tcb *const tcp, const int *const p_user_msg_namelen,
+ const kernel_ureg_t addr, const unsigned long data_size)
{
struct msghdr msg;
}
void
-dumpiov_in_msghdr(struct tcb *tcp, long addr, unsigned long data_size)
+dumpiov_in_msghdr(struct tcb *const tcp, const kernel_ureg_t addr,
+ const unsigned long data_size)
{
struct msghdr msg;
}
void
-dumpiov_upto(struct tcb *tcp, int len, long addr, unsigned long data_size)
+dumpiov_upto(struct tcb *const tcp, const int len, const kernel_ureg_t addr,
+ unsigned long data_size)
{
#if SUPPORTED_PERSONALITIES > 1
union {
}
void
-dumpstr(struct tcb *tcp, long addr, int len)
+dumpstr(struct tcb *const tcp, const kernel_ureg_t addr, const int len)
{
static int strsize = -1;
static unsigned char *str;