Date: Thu, 13 May 2021 18:11:10 GMT From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2c9764f36b6f - main - regen syscall files after d51198d63b63 Message-ID: <202105131811.14DIBA1p045633@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=2c9764f36b6f20e9a6c71ce64a21988a394050b6 commit 2c9764f36b6f20e9a6c71ce64a21988a394050b6 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-05-13 17:58:04 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-05-13 18:09:58 +0000 regen syscall files after d51198d63b63 --- sys/amd64/linux/linux_systrace_args.c | 1052 +++++++------- sys/amd64/linux32/linux32_systrace_args.c | 1212 ++++++++-------- sys/arm/linux/linux_systrace_args.c | 946 ++++++------- sys/arm64/linux/linux_systrace_args.c | 888 ++++++------ sys/compat/cloudabi32/cloudabi32_systrace_args.c | 182 +-- sys/compat/cloudabi64/cloudabi64_systrace_args.c | 182 +-- sys/compat/freebsd32/freebsd32_sysent.c | 14 +- sys/compat/freebsd32/freebsd32_systrace_args.c | 1568 ++++++++++----------- sys/i386/linux/linux_systrace_args.c | 1232 ++++++++-------- sys/kern/init_sysent.c | 14 +- sys/kern/systrace_args.c | 1632 +++++++++++----------- 11 files changed, 4461 insertions(+), 4461 deletions(-) diff --git a/sys/amd64/linux/linux_systrace_args.c b/sys/amd64/linux/linux_systrace_args.c index 5aa83b94e7a3..daacb1af287c 100644 --- a/sys/amd64/linux/linux_systrace_args.c +++ b/sys/amd64/linux/linux_systrace_args.c @@ -9,14 +9,14 @@ static void systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) { - int64_t *iarg = (int64_t *) uarg; + int64_t *iarg = (int64_t *)uarg; switch (sysnum) { #define nosys linux_nosys /* read */ case 0: { struct read_args *p = params; iarg[0] = p->fd; /* int */ - uarg[1] = (intptr_t) p->buf; /* char * */ + uarg[1] = (intptr_t)p->buf; /* char * */ iarg[2] = p->nbyte; /* l_size_t */ *n_args = 3; break; @@ -25,7 +25,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 1: { struct write_args *p = params; iarg[0] = p->fd; /* int */ - uarg[1] = (intptr_t) p->buf; /* char * */ + uarg[1] = (intptr_t)p->buf; /* char * */ iarg[2] = p->nbyte; /* l_size_t */ *n_args = 3; break; @@ -33,7 +33,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_open */ case 2: { struct linux_open_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ iarg[1] = p->flags; /* l_int */ iarg[2] = p->mode; /* l_mode_t */ *n_args = 3; @@ -49,8 +49,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_newstat */ case 4: { struct linux_newstat_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ - uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ + uarg[0] = (intptr_t)p->path; /* char * */ + uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */ *n_args = 2; break; } @@ -58,22 +58,22 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 5: { struct linux_newfstat_args *p = params; iarg[0] = p->fd; /* l_uint */ - uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ + uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */ *n_args = 2; break; } /* linux_newlstat */ case 6: { struct linux_newlstat_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ - uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ + uarg[0] = (intptr_t)p->path; /* char * */ + uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */ *n_args = 2; break; } /* poll */ case 7: { struct poll_args *p = params; - uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ + uarg[0] = (intptr_t)p->fds; /* struct pollfd * */ uarg[1] = p->nfds; /* u_int */ iarg[2] = p->timeout; /* int */ *n_args = 3; @@ -112,7 +112,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* munmap */ case 11: { struct munmap_args *p = params; - uarg[0] = (intptr_t) p->addr; /* void * */ + uarg[0] = (intptr_t)p->addr; /* void * */ iarg[1] = p->len; /* l_size_t */ *n_args = 2; break; @@ -128,8 +128,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 13: { struct linux_rt_sigaction_args *p = params; iarg[0] = p->sig; /* l_int */ - uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */ - uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */ + uarg[1] = (intptr_t)p->act; /* l_sigaction_t * */ + uarg[2] = (intptr_t)p->oact; /* l_sigaction_t * */ iarg[3] = p->sigsetsize; /* l_size_t */ *n_args = 4; break; @@ -138,8 +138,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 14: { struct linux_rt_sigprocmask_args *p = params; iarg[0] = p->how; /* l_int */ - uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */ - uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */ + uarg[1] = (intptr_t)p->mask; /* l_sigset_t * */ + uarg[2] = (intptr_t)p->omask; /* l_sigset_t * */ iarg[3] = p->sigsetsize; /* l_size_t */ *n_args = 4; break; @@ -147,7 +147,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_rt_sigreturn */ case 15: { struct linux_rt_sigreturn_args *p = params; - uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ + uarg[0] = (intptr_t)p->ucp; /* struct l_ucontext * */ *n_args = 1; break; } @@ -164,7 +164,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 17: { struct linux_pread_args *p = params; iarg[0] = p->fd; /* l_uint */ - uarg[1] = (intptr_t) p->buf; /* char * */ + uarg[1] = (intptr_t)p->buf; /* char * */ iarg[2] = p->nbyte; /* l_size_t */ iarg[3] = p->offset; /* l_loff_t */ *n_args = 4; @@ -174,7 +174,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 18: { struct linux_pwrite_args *p = params; iarg[0] = p->fd; /* l_uint */ - uarg[1] = (intptr_t) p->buf; /* char * */ + uarg[1] = (intptr_t)p->buf; /* char * */ iarg[2] = p->nbyte; /* l_size_t */ iarg[3] = p->offset; /* l_loff_t */ *n_args = 4; @@ -184,7 +184,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 19: { struct readv_args *p = params; iarg[0] = p->fd; /* int */ - uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ + uarg[1] = (intptr_t)p->iovp; /* struct iovec * */ uarg[2] = p->iovcnt; /* u_int */ *n_args = 3; break; @@ -193,7 +193,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 20: { struct writev_args *p = params; iarg[0] = p->fd; /* int */ - uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ + uarg[1] = (intptr_t)p->iovp; /* struct iovec * */ uarg[2] = p->iovcnt; /* u_int */ *n_args = 3; break; @@ -201,7 +201,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_access */ case 21: { struct linux_access_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ iarg[1] = p->amode; /* l_int */ *n_args = 2; break; @@ -209,7 +209,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_pipe */ case 22: { struct linux_pipe_args *p = params; - uarg[0] = (intptr_t) p->pipefds; /* l_int * */ + uarg[0] = (intptr_t)p->pipefds; /* l_int * */ *n_args = 1; break; } @@ -217,10 +217,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 23: { struct linux_select_args *p = params; iarg[0] = p->nfds; /* l_int */ - uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */ - uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */ - uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ - uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */ + uarg[1] = (intptr_t)p->readfds; /* l_fd_set * */ + uarg[2] = (intptr_t)p->writefds; /* l_fd_set * */ + uarg[3] = (intptr_t)p->exceptfds; /* l_fd_set * */ + uarg[4] = (intptr_t)p->timeout; /* struct l_timeval * */ *n_args = 5; break; } @@ -254,7 +254,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) struct linux_mincore_args *p = params; iarg[0] = p->start; /* l_ulong */ iarg[1] = p->len; /* l_size_t */ - uarg[2] = (intptr_t) p->vec; /* u_char * */ + uarg[2] = (intptr_t)p->vec; /* u_char * */ *n_args = 3; break; } @@ -280,7 +280,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 30: { struct linux_shmat_args *p = params; iarg[0] = p->shmid; /* l_int */ - uarg[1] = (intptr_t) p->shmaddr; /* char * */ + uarg[1] = (intptr_t)p->shmaddr; /* char * */ iarg[2] = p->shmflg; /* l_int */ *n_args = 3; break; @@ -290,7 +290,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) struct linux_shmctl_args *p = params; iarg[0] = p->shmid; /* l_int */ iarg[1] = p->cmd; /* l_int */ - uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */ + uarg[2] = (intptr_t)p->buf; /* struct l_shmid_ds * */ *n_args = 3; break; } @@ -317,8 +317,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_nanosleep */ case 35: { struct linux_nanosleep_args *p = params; - uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */ - uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */ + uarg[0] = (intptr_t)p->rqtp; /* const struct l_timespec * */ + uarg[1] = (intptr_t)p->rmtp; /* struct l_timespec * */ *n_args = 2; break; } @@ -326,7 +326,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 36: { struct linux_getitimer_args *p = params; iarg[0] = p->which; /* l_int */ - uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ + uarg[1] = (intptr_t)p->itv; /* struct l_itimerval * */ *n_args = 2; break; } @@ -341,8 +341,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 38: { struct linux_setitimer_args *p = params; iarg[0] = p->which; /* l_int */ - uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ - uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */ + uarg[1] = (intptr_t)p->itv; /* struct l_itimerval * */ + uarg[2] = (intptr_t)p->oitv; /* struct l_itimerval * */ *n_args = 3; break; } @@ -356,7 +356,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) struct linux_sendfile_args *p = params; iarg[0] = p->out; /* l_int */ iarg[1] = p->in; /* l_int */ - uarg[2] = (intptr_t) p->offset; /* l_off_t * */ + uarg[2] = (intptr_t)p->offset; /* l_off_t * */ iarg[3] = p->count; /* l_size_t */ *n_args = 4; break; @@ -509,10 +509,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 56: { struct linux_clone_args *p = params; iarg[0] = p->flags; /* l_ulong */ - uarg[1] = (intptr_t) p->stack; /* void * */ - uarg[2] = (intptr_t) p->parent_tidptr; /* void * */ - uarg[3] = (intptr_t) p->child_tidptr; /* void * */ - uarg[4] = (intptr_t) p->tls; /* void * */ + uarg[1] = (intptr_t)p->stack; /* void * */ + uarg[2] = (intptr_t)p->parent_tidptr; /* void * */ + uarg[3] = (intptr_t)p->child_tidptr; /* void * */ + uarg[4] = (intptr_t)p->tls; /* void * */ *n_args = 5; break; } @@ -529,9 +529,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_execve */ case 59: { struct linux_execve_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ - uarg[1] = (intptr_t) p->argp; /* char ** */ - uarg[2] = (intptr_t) p->envp; /* char ** */ + uarg[0] = (intptr_t)p->path; /* char * */ + uarg[1] = (intptr_t)p->argp; /* char ** */ + uarg[2] = (intptr_t)p->envp; /* char ** */ *n_args = 3; break; } @@ -546,9 +546,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 61: { struct linux_wait4_args *p = params; iarg[0] = p->pid; /* l_pid_t */ - uarg[1] = (intptr_t) p->status; /* l_int * */ + uarg[1] = (intptr_t)p->status; /* l_int * */ iarg[2] = p->options; /* l_int */ - uarg[3] = (intptr_t) p->rusage; /* struct rusage * */ + uarg[3] = (intptr_t)p->rusage; /* struct rusage * */ *n_args = 4; break; } @@ -563,7 +563,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_newuname */ case 63: { struct linux_newuname_args *p = params; - uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */ + uarg[0] = (intptr_t)p->buf; /* struct l_new_utsname * */ *n_args = 1; break; } @@ -580,7 +580,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 65: { struct linux_semop_args *p = params; iarg[0] = p->semid; /* l_int */ - uarg[1] = (intptr_t) p->tsops; /* struct l_sembuf * */ + uarg[1] = (intptr_t)p->tsops; /* struct l_sembuf * */ iarg[2] = p->nsops; /* l_uint */ *n_args = 3; break; @@ -598,7 +598,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_shmdt */ case 67: { struct linux_shmdt_args *p = params; - uarg[0] = (intptr_t) p->shmaddr; /* char * */ + uarg[0] = (intptr_t)p->shmaddr; /* char * */ *n_args = 1; break; } @@ -614,7 +614,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 69: { struct linux_msgsnd_args *p = params; iarg[0] = p->msqid; /* l_int */ - uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */ + uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */ iarg[2] = p->msgsz; /* l_size_t */ iarg[3] = p->msgflg; /* l_int */ *n_args = 4; @@ -624,7 +624,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 70: { struct linux_msgrcv_args *p = params; iarg[0] = p->msqid; /* l_int */ - uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */ + uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */ iarg[2] = p->msgsz; /* l_size_t */ iarg[3] = p->msgtyp; /* l_long */ iarg[4] = p->msgflg; /* l_int */ @@ -636,7 +636,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) struct linux_msgctl_args *p = params; iarg[0] = p->msqid; /* l_int */ iarg[1] = p->cmd; /* l_int */ - uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */ + uarg[2] = (intptr_t)p->buf; /* struct l_msqid_ds * */ *n_args = 3; break; } @@ -674,7 +674,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_truncate */ case 76: { struct linux_truncate_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ iarg[1] = p->length; /* l_long */ *n_args = 2; break; @@ -691,7 +691,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 78: { struct linux_getdents_args *p = params; iarg[0] = p->fd; /* l_uint */ - uarg[1] = (intptr_t) p->dent; /* void * */ + uarg[1] = (intptr_t)p->dent; /* void * */ iarg[2] = p->count; /* l_uint */ *n_args = 3; break; @@ -699,7 +699,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_getcwd */ case 79: { struct linux_getcwd_args *p = params; - uarg[0] = (intptr_t) p->buf; /* char * */ + uarg[0] = (intptr_t)p->buf; /* char * */ iarg[1] = p->bufsize; /* l_ulong */ *n_args = 2; break; @@ -707,7 +707,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_chdir */ case 80: { struct linux_chdir_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ *n_args = 1; break; } @@ -721,15 +721,15 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_rename */ case 82: { struct linux_rename_args *p = params; - uarg[0] = (intptr_t) p->from; /* char * */ - uarg[1] = (intptr_t) p->to; /* char * */ + uarg[0] = (intptr_t)p->from; /* char * */ + uarg[1] = (intptr_t)p->to; /* char * */ *n_args = 2; break; } /* linux_mkdir */ case 83: { struct linux_mkdir_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ iarg[1] = p->mode; /* l_mode_t */ *n_args = 2; break; @@ -737,14 +737,14 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_rmdir */ case 84: { struct linux_rmdir_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ *n_args = 1; break; } /* linux_creat */ case 85: { struct linux_creat_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ iarg[1] = p->mode; /* l_mode_t */ *n_args = 2; break; @@ -752,31 +752,31 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_link */ case 86: { struct linux_link_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ - uarg[1] = (intptr_t) p->to; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ + uarg[1] = (intptr_t)p->to; /* char * */ *n_args = 2; break; } /* linux_unlink */ case 87: { struct linux_unlink_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ *n_args = 1; break; } /* linux_symlink */ case 88: { struct linux_symlink_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ - uarg[1] = (intptr_t) p->to; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ + uarg[1] = (intptr_t)p->to; /* char * */ *n_args = 2; break; } /* linux_readlink */ case 89: { struct linux_readlink_args *p = params; - uarg[0] = (intptr_t) p->name; /* char * */ - uarg[1] = (intptr_t) p->buf; /* char * */ + uarg[0] = (intptr_t)p->name; /* char * */ + uarg[1] = (intptr_t)p->buf; /* char * */ iarg[2] = p->count; /* l_int */ *n_args = 3; break; @@ -784,7 +784,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_chmod */ case 90: { struct linux_chmod_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ iarg[1] = p->mode; /* l_mode_t */ *n_args = 2; break; @@ -800,7 +800,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_chown */ case 92: { struct linux_chown_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ iarg[1] = p->uid; /* l_uid_t */ iarg[2] = p->gid; /* l_gid_t */ *n_args = 3; @@ -818,7 +818,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_lchown */ case 94: { struct linux_lchown_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ iarg[1] = p->uid; /* l_uid_t */ iarg[2] = p->gid; /* l_gid_t */ *n_args = 3; @@ -834,8 +834,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* gettimeofday */ case 96: { struct gettimeofday_args *p = params; - uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */ - uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ + uarg[0] = (intptr_t)p->tp; /* struct l_timeval * */ + uarg[1] = (intptr_t)p->tzp; /* struct timezone * */ *n_args = 2; break; } @@ -843,7 +843,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 97: { struct linux_getrlimit_args *p = params; iarg[0] = p->resource; /* l_uint */ - uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ + uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */ *n_args = 2; break; } @@ -851,21 +851,21 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 98: { struct getrusage_args *p = params; iarg[0] = p->who; /* int */ - uarg[1] = (intptr_t) p->rusage; /* struct rusage * */ + uarg[1] = (intptr_t)p->rusage; /* struct rusage * */ *n_args = 2; break; } /* linux_sysinfo */ case 99: { struct linux_sysinfo_args *p = params; - uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */ + uarg[0] = (intptr_t)p->info; /* struct l_sysinfo * */ *n_args = 1; break; } /* linux_times */ case 100: { struct linux_times_args *p = params; - uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */ + uarg[0] = (intptr_t)p->buf; /* struct l_times_argv * */ *n_args = 1; break; } @@ -888,7 +888,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 103: { struct linux_syslog_args *p = params; iarg[0] = p->type; /* l_int */ - uarg[1] = (intptr_t) p->buf; /* char * */ + uarg[1] = (intptr_t)p->buf; /* char * */ iarg[2] = p->len; /* l_int */ *n_args = 3; break; @@ -965,7 +965,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 115: { struct linux_getgroups_args *p = params; iarg[0] = p->gidsetsize; /* l_int */ - uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ + uarg[1] = (intptr_t)p->grouplist; /* l_gid_t * */ *n_args = 2; break; } @@ -973,7 +973,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 116: { struct linux_setgroups_args *p = params; iarg[0] = p->gidsetsize; /* l_int */ - uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ + uarg[1] = (intptr_t)p->grouplist; /* l_gid_t * */ *n_args = 2; break; } @@ -989,9 +989,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* getresuid */ case 118: { struct getresuid_args *p = params; - uarg[0] = (intptr_t) p->ruid; /* uid_t * */ - uarg[1] = (intptr_t) p->euid; /* uid_t * */ - uarg[2] = (intptr_t) p->suid; /* uid_t * */ + uarg[0] = (intptr_t)p->ruid; /* uid_t * */ + uarg[1] = (intptr_t)p->euid; /* uid_t * */ + uarg[2] = (intptr_t)p->suid; /* uid_t * */ *n_args = 3; break; } @@ -1007,9 +1007,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* getresgid */ case 120: { struct getresgid_args *p = params; - uarg[0] = (intptr_t) p->rgid; /* gid_t * */ - uarg[1] = (intptr_t) p->egid; /* gid_t * */ - uarg[2] = (intptr_t) p->sgid; /* gid_t * */ + uarg[0] = (intptr_t)p->rgid; /* gid_t * */ + uarg[1] = (intptr_t)p->egid; /* gid_t * */ + uarg[2] = (intptr_t)p->sgid; /* gid_t * */ *n_args = 3; break; } @@ -1044,23 +1044,23 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_capget */ case 125: { struct linux_capget_args *p = params; - uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ - uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ + uarg[0] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */ + uarg[1] = (intptr_t)p->datap; /* struct l_user_cap_data * */ *n_args = 2; break; } /* linux_capset */ case 126: { struct linux_capset_args *p = params; - uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ - uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ + uarg[0] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */ + uarg[1] = (intptr_t)p->datap; /* struct l_user_cap_data * */ *n_args = 2; break; } /* linux_rt_sigpending */ case 127: { struct linux_rt_sigpending_args *p = params; - uarg[0] = (intptr_t) p->set; /* l_sigset_t * */ + uarg[0] = (intptr_t)p->set; /* l_sigset_t * */ iarg[1] = p->sigsetsize; /* l_size_t */ *n_args = 2; break; @@ -1068,9 +1068,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_rt_sigtimedwait */ case 128: { struct linux_rt_sigtimedwait_args *p = params; - uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */ - uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */ - uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */ + uarg[0] = (intptr_t)p->mask; /* l_sigset_t * */ + uarg[1] = (intptr_t)p->ptr; /* l_siginfo_t * */ + uarg[2] = (intptr_t)p->timeout; /* struct l_timeval * */ iarg[3] = p->sigsetsize; /* l_size_t */ *n_args = 4; break; @@ -1080,14 +1080,14 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) struct linux_rt_sigqueueinfo_args *p = params; iarg[0] = p->pid; /* l_pid_t */ iarg[1] = p->sig; /* l_int */ - uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */ + uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */ *n_args = 3; break; } /* linux_rt_sigsuspend */ case 130: { struct linux_rt_sigsuspend_args *p = params; - uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */ + uarg[0] = (intptr_t)p->newset; /* l_sigset_t * */ iarg[1] = p->sigsetsize; /* l_size_t */ *n_args = 2; break; @@ -1095,23 +1095,23 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_sigaltstack */ case 131: { struct linux_sigaltstack_args *p = params; - uarg[0] = (intptr_t) p->uss; /* l_stack_t * */ - uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */ + uarg[0] = (intptr_t)p->uss; /* l_stack_t * */ + uarg[1] = (intptr_t)p->uoss; /* l_stack_t * */ *n_args = 2; break; } /* linux_utime */ case 132: { struct linux_utime_args *p = params; - uarg[0] = (intptr_t) p->fname; /* char * */ - uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */ + uarg[0] = (intptr_t)p->fname; /* char * */ + uarg[1] = (intptr_t)p->times; /* struct l_utimbuf * */ *n_args = 2; break; } /* linux_mknod */ case 133: { struct linux_mknod_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ iarg[1] = p->mode; /* l_mode_t */ iarg[2] = p->dev; /* l_uint */ *n_args = 3; @@ -1128,15 +1128,15 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 136: { struct linux_ustat_args *p = params; iarg[0] = p->dev; /* l_uint */ - uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */ + uarg[1] = (intptr_t)p->ubuf; /* struct l_ustat * */ *n_args = 2; break; } /* linux_statfs */ case 137: { struct linux_statfs_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ - uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */ + uarg[0] = (intptr_t)p->path; /* char * */ + uarg[1] = (intptr_t)p->buf; /* struct l_statfs_buf * */ *n_args = 2; break; } @@ -1144,7 +1144,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 138: { struct linux_fstatfs_args *p = params; iarg[0] = p->fd; /* l_uint */ - uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */ + uarg[1] = (intptr_t)p->buf; /* struct l_statfs_buf * */ *n_args = 2; break; } @@ -1178,7 +1178,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 142: { struct linux_sched_setparam_args *p = params; iarg[0] = p->pid; /* l_pid_t */ - uarg[1] = (intptr_t) p->param; /* struct sched_param * */ + uarg[1] = (intptr_t)p->param; /* struct sched_param * */ *n_args = 2; break; } @@ -1186,7 +1186,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 143: { struct linux_sched_getparam_args *p = params; iarg[0] = p->pid; /* l_pid_t */ - uarg[1] = (intptr_t) p->param; /* struct sched_param * */ + uarg[1] = (intptr_t)p->param; /* struct sched_param * */ *n_args = 2; break; } @@ -1195,7 +1195,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) struct linux_sched_setscheduler_args *p = params; iarg[0] = p->pid; /* l_pid_t */ iarg[1] = p->policy; /* l_int */ - uarg[2] = (intptr_t) p->param; /* struct sched_param * */ + uarg[2] = (intptr_t)p->param; /* struct sched_param * */ *n_args = 3; break; } @@ -1224,14 +1224,14 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 148: { struct linux_sched_rr_get_interval_args *p = params; iarg[0] = p->pid; /* l_pid_t */ - uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */ + uarg[1] = (intptr_t)p->interval; /* struct l_timespec * */ *n_args = 2; break; } /* mlock */ case 149: { struct mlock_args *p = params; - uarg[0] = (intptr_t) p->addr; /* const void * */ + uarg[0] = (intptr_t)p->addr; /* const void * */ uarg[1] = p->len; /* size_t */ *n_args = 2; break; @@ -1239,7 +1239,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* munlock */ case 150: { struct munlock_args *p = params; - uarg[0] = (intptr_t) p->addr; /* const void * */ + uarg[0] = (intptr_t)p->addr; /* const void * */ uarg[1] = p->len; /* size_t */ *n_args = 2; break; @@ -1274,7 +1274,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_sysctl */ case 156: { struct linux_sysctl_args *p = params; - uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */ + uarg[0] = (intptr_t)p->args; /* struct l___sysctl_args * */ *n_args = 1; break; } @@ -1306,14 +1306,14 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 160: { struct linux_setrlimit_args *p = params; iarg[0] = p->resource; /* l_uint */ - uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ + uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */ *n_args = 2; break; } /* chroot */ case 161: { struct chroot_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ *n_args = 1; break; } @@ -1325,33 +1325,33 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* acct */ case 163: { struct acct_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ *n_args = 1; break; } /* settimeofday */ case 164: { struct settimeofday_args *p = params; - uarg[0] = (intptr_t) p->tv; /* struct l_timeval * */ - uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ + uarg[0] = (intptr_t)p->tv; /* struct l_timeval * */ + uarg[1] = (intptr_t)p->tzp; /* struct timezone * */ *n_args = 2; break; } /* linux_mount */ case 165: { struct linux_mount_args *p = params; - uarg[0] = (intptr_t) p->specialfile; /* char * */ - uarg[1] = (intptr_t) p->dir; /* char * */ - uarg[2] = (intptr_t) p->filesystemtype; /* char * */ + uarg[0] = (intptr_t)p->specialfile; /* char * */ + uarg[1] = (intptr_t)p->dir; /* char * */ + uarg[2] = (intptr_t)p->filesystemtype; /* char * */ iarg[3] = p->rwflag; /* l_ulong */ - uarg[4] = (intptr_t) p->data; /* void * */ + uarg[4] = (intptr_t)p->data; /* void * */ *n_args = 5; break; } /* linux_umount */ case 166: { struct linux_umount_args *p = params; - uarg[0] = (intptr_t) p->path; /* char * */ + uarg[0] = (intptr_t)p->path; /* char * */ iarg[1] = p->flags; /* l_int */ *n_args = 2; break; @@ -1359,7 +1359,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* swapon */ case 167: { struct swapon_args *p = params; - uarg[0] = (intptr_t) p->name; /* char * */ + uarg[0] = (intptr_t)p->name; /* char * */ *n_args = 1; break; } @@ -1374,14 +1374,14 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) iarg[0] = p->magic1; /* l_int */ iarg[1] = p->magic2; /* l_int */ iarg[2] = p->cmd; /* l_uint */ - uarg[3] = (intptr_t) p->arg; /* void * */ + uarg[3] = (intptr_t)p->arg; /* void * */ *n_args = 4; break; } /* linux_sethostname */ case 170: { struct linux_sethostname_args *p = params; - uarg[0] = (intptr_t) p->hostname; /* char * */ + uarg[0] = (intptr_t)p->hostname; /* char * */ iarg[1] = p->len; /* l_int */ *n_args = 2; break; @@ -1389,7 +1389,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_setdomainname */ case 171: { struct linux_setdomainname_args *p = params; - uarg[0] = (intptr_t) p->name; /* char * */ + uarg[0] = (intptr_t)p->name; /* char * */ iarg[1] = p->len; /* l_int */ *n_args = 2; break; @@ -1434,9 +1434,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_setxattr */ case 188: { struct linux_setxattr_args *p = params; - uarg[0] = (intptr_t) p->path; /* const char * */ - uarg[1] = (intptr_t) p->name; /* const char * */ - uarg[2] = (intptr_t) p->value; /* const char * */ + uarg[0] = (intptr_t)p->path; /* const char * */ + uarg[1] = (intptr_t)p->name; /* const char * */ + uarg[2] = (intptr_t)p->value; /* const char * */ iarg[3] = p->size; /* l_size_t */ iarg[4] = p->flags; /* l_int */ *n_args = 5; @@ -1445,9 +1445,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_lsetxattr */ case 189: { struct linux_lsetxattr_args *p = params; - uarg[0] = (intptr_t) p->path; /* const char * */ - uarg[1] = (intptr_t) p->name; /* const char * */ - uarg[2] = (intptr_t) p->value; /* const char * */ + uarg[0] = (intptr_t)p->path; /* const char * */ + uarg[1] = (intptr_t)p->name; /* const char * */ + uarg[2] = (intptr_t)p->value; /* const char * */ iarg[3] = p->size; /* l_size_t */ iarg[4] = p->flags; /* l_int */ *n_args = 5; @@ -1457,8 +1457,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 190: { struct linux_fsetxattr_args *p = params; iarg[0] = p->fd; /* l_int */ - uarg[1] = (intptr_t) p->name; /* const char * */ - uarg[2] = (intptr_t) p->value; /* const char * */ + uarg[1] = (intptr_t)p->name; /* const char * */ + uarg[2] = (intptr_t)p->value; /* const char * */ iarg[3] = p->size; /* l_size_t */ iarg[4] = p->flags; /* l_int */ *n_args = 5; @@ -1467,9 +1467,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_getxattr */ case 191: { struct linux_getxattr_args *p = params; - uarg[0] = (intptr_t) p->path; /* const char * */ - uarg[1] = (intptr_t) p->name; /* const char * */ - uarg[2] = (intptr_t) p->value; /* char * */ + uarg[0] = (intptr_t)p->path; /* const char * */ + uarg[1] = (intptr_t)p->name; /* const char * */ + uarg[2] = (intptr_t)p->value; /* char * */ iarg[3] = p->size; /* l_size_t */ *n_args = 4; break; @@ -1477,9 +1477,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_lgetxattr */ case 192: { struct linux_lgetxattr_args *p = params; - uarg[0] = (intptr_t) p->path; /* const char * */ - uarg[1] = (intptr_t) p->name; /* const char * */ - uarg[2] = (intptr_t) p->value; /* char * */ + uarg[0] = (intptr_t)p->path; /* const char * */ + uarg[1] = (intptr_t)p->name; /* const char * */ + uarg[2] = (intptr_t)p->value; /* char * */ iarg[3] = p->size; /* l_size_t */ *n_args = 4; break; @@ -1488,8 +1488,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 193: { struct linux_fgetxattr_args *p = params; iarg[0] = p->fd; /* l_int */ - uarg[1] = (intptr_t) p->name; /* const char * */ - uarg[2] = (intptr_t) p->value; /* char * */ + uarg[1] = (intptr_t)p->name; /* const char * */ + uarg[2] = (intptr_t)p->value; /* char * */ iarg[3] = p->size; /* l_size_t */ *n_args = 4; break; @@ -1497,8 +1497,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_listxattr */ case 194: { struct linux_listxattr_args *p = params; - uarg[0] = (intptr_t) p->path; /* const char * */ - uarg[1] = (intptr_t) p->list; /* const char * */ + uarg[0] = (intptr_t)p->path; /* const char * */ + uarg[1] = (intptr_t)p->list; /* const char * */ iarg[2] = p->size; /* l_size_t */ *n_args = 3; break; @@ -1506,8 +1506,8 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_llistxattr */ case 195: { struct linux_llistxattr_args *p = params; - uarg[0] = (intptr_t) p->path; /* const char * */ - uarg[1] = (intptr_t) p->list; /* const char * */ + uarg[0] = (intptr_t)p->path; /* const char * */ + uarg[1] = (intptr_t)p->list; /* const char * */ iarg[2] = p->size; /* l_size_t */ *n_args = 3; break; @@ -1516,7 +1516,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) case 196: { struct linux_flistxattr_args *p = params; iarg[0] = p->fd; /* l_int */ - uarg[1] = (intptr_t) p->list; /* const char * */ + uarg[1] = (intptr_t)p->list; /* const char * */ iarg[2] = p->size; /* l_size_t */ *n_args = 3; break; @@ -1524,16 +1524,16 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* linux_removexattr */ *** 33954 LINES SKIPPED ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105131811.14DIBA1p045633>