Regen for readv syscall

This commit is contained in:
Dmitry Chagin 2023-08-20 10:36:32 +03:00
parent 5585afe642
commit 4e5f2eb0b6
2 changed files with 3 additions and 3 deletions

View file

@ -459,7 +459,7 @@ struct linux_msync_args {
};
struct linux_readv_args {
char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
char iovp_l_[PADL_(struct l_iovec32 *)]; struct l_iovec32 * iovp; char iovp_r_[PADR_(struct l_iovec32 *)];
char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
char iovcnt_l_[PADL_(l_ulong)]; l_ulong iovcnt; char iovcnt_r_[PADR_(l_ulong)];
};
struct linux_writev_args {

View file

@ -970,7 +970,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
case 145: {
struct linux_readv_args *p = params;
iarg[a++] = p->fd; /* l_ulong */
uarg[a++] = (intptr_t)p->iovp; /* struct l_iovec32 * */
uarg[a++] = (intptr_t)p->iovp; /* struct iovec32 * */
iarg[a++] = p->iovcnt; /* l_ulong */
*n_args = 3;
break;
@ -4737,7 +4737,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
p = "l_ulong";
break;
case 1:
p = "userland struct l_iovec32 *";
p = "userland struct iovec32 *";
break;
case 2:
p = "l_ulong";