2015-12-01 02:25:54 +03:00
|
|
|
/* $NetBSD: systrace_args.c,v 1.11 2015/11/30 23:25:54 pgoyette Exp $ */
|
2015-03-07 19:38:49 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* System call argument to DTrace register array converstion.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
|
|
* This file is part of the DTrace syscall provider.
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void
|
|
|
|
systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args)
|
|
|
|
{
|
|
|
|
intptr_t *iarg = (intptr_t *)uarg;
|
|
|
|
switch (sysnum) {
|
|
|
|
/* sys_syscall */
|
|
|
|
case 0: {
|
|
|
|
struct sys_syscall_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, code); /* int */
|
|
|
|
iarg[1] = SCARG(p, args[SYS_MAXSYSARGS]); /* register_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_exit */
|
|
|
|
case 1: {
|
|
|
|
struct sys_exit_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, rval); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fork */
|
|
|
|
case 2: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_read */
|
|
|
|
case 3: {
|
|
|
|
struct sys_read_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* void * */
|
|
|
|
uarg[2] = SCARG(p, nbyte); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_write */
|
|
|
|
case 4: {
|
|
|
|
struct sys_write_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */
|
|
|
|
uarg[2] = SCARG(p, nbyte); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_open */
|
|
|
|
case 5: {
|
|
|
|
struct sys_open_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, flags); /* int */
|
|
|
|
iarg[2] = SCARG(p, mode); /* mode_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_close */
|
|
|
|
case 6: {
|
|
|
|
struct sys_close_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_wait4 */
|
|
|
|
case 7: {
|
|
|
|
struct compat_50_sys_wait4_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, status); /* int * */
|
|
|
|
iarg[2] = SCARG(p, options); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_creat */
|
|
|
|
case 8: {
|
|
|
|
struct compat_43_sys_creat_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, mode); /* mode_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_link */
|
|
|
|
case 9: {
|
|
|
|
struct sys_link_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, link); /* const char * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_unlink */
|
|
|
|
case 10: {
|
|
|
|
struct sys_unlink_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_chdir */
|
|
|
|
case 12: {
|
|
|
|
struct sys_chdir_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fchdir */
|
|
|
|
case 13: {
|
|
|
|
struct sys_fchdir_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mknod */
|
|
|
|
case 14: {
|
|
|
|
struct compat_50_sys_mknod_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, mode); /* mode_t */
|
|
|
|
uarg[2] = SCARG(p, dev); /* uint32_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_chmod */
|
|
|
|
case 15: {
|
|
|
|
struct sys_chmod_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, mode); /* mode_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_chown */
|
|
|
|
case 16: {
|
|
|
|
struct sys_chown_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = SCARG(p, uid); /* uid_t */
|
|
|
|
iarg[2] = SCARG(p, gid); /* gid_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_obreak */
|
|
|
|
case 17: {
|
|
|
|
struct sys_obreak_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, nsize); /* char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getfsstat */
|
|
|
|
case 18: {
|
|
|
|
struct compat_20_sys_getfsstat_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, buf); /* struct statfs12 * */
|
|
|
|
iarg[1] = SCARG(p, bufsize); /* long */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lseek */
|
|
|
|
case 19: {
|
|
|
|
struct compat_43_sys_lseek_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, offset); /* long */
|
|
|
|
iarg[2] = SCARG(p, whence); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getpid_with_ppid */
|
|
|
|
case 20: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mount */
|
|
|
|
case 21: {
|
|
|
|
struct compat_40_sys_mount_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, type); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, data); /* void * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_unmount */
|
|
|
|
case 22: {
|
|
|
|
struct sys_unmount_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setuid */
|
|
|
|
case 23: {
|
|
|
|
struct sys_setuid_args *p = params;
|
|
|
|
uarg[0] = SCARG(p, uid); /* uid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getuid_with_euid */
|
|
|
|
case 24: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_geteuid */
|
|
|
|
case 25: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_ptrace */
|
|
|
|
case 26: {
|
|
|
|
struct sys_ptrace_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, req); /* int */
|
|
|
|
iarg[1] = SCARG(p, pid); /* pid_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
iarg[3] = SCARG(p, data); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_recvmsg */
|
|
|
|
case 27: {
|
|
|
|
struct sys_recvmsg_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msg); /* struct msghdr * */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sendmsg */
|
|
|
|
case 28: {
|
|
|
|
struct sys_sendmsg_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msg); /* const struct msghdr * */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_recvfrom */
|
|
|
|
case 29: {
|
|
|
|
struct sys_recvfrom_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* void * */
|
|
|
|
uarg[2] = SCARG(p, len); /* size_t */
|
|
|
|
iarg[3] = SCARG(p, flags); /* int */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, from); /* struct sockaddr * */
|
|
|
|
uarg[5] = (intptr_t) SCARG(p, fromlenaddr); /* socklen_t * */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_accept */
|
|
|
|
case 30: {
|
|
|
|
struct sys_accept_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* struct sockaddr * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, anamelen); /* socklen_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getpeername */
|
|
|
|
case 31: {
|
|
|
|
struct sys_getpeername_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fdes); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, asa); /* struct sockaddr * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, alen); /* socklen_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getsockname */
|
|
|
|
case 32: {
|
|
|
|
struct sys_getsockname_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fdes); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, asa); /* struct sockaddr * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, alen); /* socklen_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_access */
|
|
|
|
case 33: {
|
|
|
|
struct sys_access_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_chflags */
|
|
|
|
case 34: {
|
|
|
|
struct sys_chflags_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = SCARG(p, flags); /* u_long */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fchflags */
|
|
|
|
case 35: {
|
|
|
|
struct sys_fchflags_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = SCARG(p, flags); /* u_long */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sync */
|
|
|
|
case 36: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_kill */
|
|
|
|
case 37: {
|
|
|
|
struct sys_kill_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
iarg[1] = SCARG(p, signum); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_stat */
|
|
|
|
case 38: {
|
|
|
|
struct compat_43_sys_stat_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat43 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getppid */
|
|
|
|
case 39: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lstat */
|
|
|
|
case 40: {
|
|
|
|
struct compat_43_sys_lstat_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat43 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_dup */
|
|
|
|
case 41: {
|
|
|
|
struct sys_dup_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pipe */
|
|
|
|
case 42: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getegid */
|
|
|
|
case 43: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_profil */
|
|
|
|
case 44: {
|
|
|
|
struct sys_profil_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, samples); /* char * */
|
|
|
|
uarg[1] = SCARG(p, size); /* size_t */
|
|
|
|
uarg[2] = SCARG(p, offset); /* u_long */
|
|
|
|
uarg[3] = SCARG(p, scale); /* u_int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_ktrace */
|
|
|
|
case 45: {
|
|
|
|
struct sys_ktrace_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fname); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, ops); /* int */
|
|
|
|
iarg[2] = SCARG(p, facs); /* int */
|
|
|
|
iarg[3] = SCARG(p, pid); /* pid_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigaction */
|
|
|
|
case 46: {
|
|
|
|
struct compat_13_sys_sigaction_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, signum); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, nsa); /* const struct sigaction13 * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, osa); /* struct sigaction13 * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getgid_with_egid */
|
|
|
|
case 47: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigprocmask */
|
|
|
|
case 48: {
|
|
|
|
struct compat_13_sys_sigprocmask_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, how); /* int */
|
|
|
|
iarg[1] = SCARG(p, mask); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___getlogin */
|
|
|
|
case 49: {
|
|
|
|
struct sys___getlogin_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, namebuf); /* char * */
|
|
|
|
uarg[1] = SCARG(p, namelen); /* size_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___setlogin */
|
|
|
|
case 50: {
|
|
|
|
struct sys___setlogin_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, namebuf); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_acct */
|
|
|
|
case 51: {
|
|
|
|
struct sys_acct_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigpending */
|
|
|
|
case 52: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigaltstack */
|
|
|
|
case 53: {
|
|
|
|
struct compat_13_sys_sigaltstack_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, nss); /* const struct sigaltstack13 * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, oss); /* struct sigaltstack13 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_ioctl */
|
|
|
|
case 54: {
|
|
|
|
struct sys_ioctl_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = SCARG(p, com); /* u_long */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, data); /* void * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_reboot */
|
|
|
|
case 55: {
|
|
|
|
struct compat_12_sys_reboot_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, opt); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_revoke */
|
|
|
|
case 56: {
|
|
|
|
struct sys_revoke_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_symlink */
|
|
|
|
case 57: {
|
|
|
|
struct sys_symlink_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, link); /* const char * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_readlink */
|
|
|
|
case 58: {
|
|
|
|
struct sys_readlink_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* char * */
|
|
|
|
uarg[2] = SCARG(p, count); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_execve */
|
|
|
|
case 59: {
|
|
|
|
struct sys_execve_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, argp); /* char *const * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, envp); /* char *const * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_umask */
|
|
|
|
case 60: {
|
|
|
|
struct sys_umask_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, newmask); /* mode_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_chroot */
|
|
|
|
case 61: {
|
|
|
|
struct sys_chroot_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fstat */
|
|
|
|
case 62: {
|
|
|
|
struct compat_43_sys_fstat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, sb); /* struct stat43 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getkerninfo */
|
|
|
|
case 63: {
|
|
|
|
struct compat_43_sys_getkerninfo_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, op); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, where); /* char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, size); /* int * */
|
|
|
|
iarg[3] = SCARG(p, arg); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getpagesize */
|
|
|
|
case 64: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_msync */
|
|
|
|
case 65: {
|
|
|
|
struct compat_12_sys_msync_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_vfork */
|
|
|
|
case 66: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sbrk */
|
|
|
|
case 69: {
|
|
|
|
struct sys_sbrk_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, incr); /* intptr_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sstk */
|
|
|
|
case 70: {
|
|
|
|
struct sys_sstk_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, incr); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mmap */
|
|
|
|
case 71: {
|
|
|
|
struct compat_43_sys_mmap_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
iarg[2] = SCARG(p, prot); /* int */
|
|
|
|
iarg[3] = SCARG(p, flags); /* int */
|
|
|
|
iarg[4] = SCARG(p, fd); /* int */
|
|
|
|
iarg[5] = SCARG(p, pos); /* long */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_ovadvise */
|
|
|
|
case 72: {
|
|
|
|
struct sys_ovadvise_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, anom); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_munmap */
|
|
|
|
case 73: {
|
|
|
|
struct sys_munmap_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mprotect */
|
|
|
|
case 74: {
|
|
|
|
struct sys_mprotect_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
iarg[2] = SCARG(p, prot); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_madvise */
|
|
|
|
case 75: {
|
|
|
|
struct sys_madvise_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
iarg[2] = SCARG(p, behav); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mincore */
|
|
|
|
case 78: {
|
|
|
|
struct sys_mincore_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, vec); /* char * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getgroups */
|
|
|
|
case 79: {
|
|
|
|
struct sys_getgroups_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, gidsetsize); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, gidset); /* gid_t * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setgroups */
|
|
|
|
case 80: {
|
|
|
|
struct sys_setgroups_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, gidsetsize); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, gidset); /* const gid_t * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getpgrp */
|
|
|
|
case 81: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setpgid */
|
|
|
|
case 82: {
|
|
|
|
struct sys_setpgid_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
iarg[1] = SCARG(p, pgid); /* pid_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setitimer */
|
|
|
|
case 83: {
|
|
|
|
struct compat_50_sys_setitimer_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, itv); /* const struct itimerval50 * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, oitv); /* struct itimerval50 * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_wait */
|
|
|
|
case 84: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_swapon */
|
|
|
|
case 85: {
|
|
|
|
struct compat_12_sys_swapon_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getitimer */
|
|
|
|
case 86: {
|
|
|
|
struct compat_50_sys_getitimer_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, itv); /* struct itimerval50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_gethostname */
|
|
|
|
case 87: {
|
|
|
|
struct compat_43_sys_gethostname_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, hostname); /* char * */
|
|
|
|
uarg[1] = SCARG(p, len); /* u_int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sethostname */
|
|
|
|
case 88: {
|
|
|
|
struct compat_43_sys_sethostname_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, hostname); /* char * */
|
|
|
|
uarg[1] = SCARG(p, len); /* u_int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getdtablesize */
|
|
|
|
case 89: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_dup2 */
|
|
|
|
case 90: {
|
|
|
|
struct sys_dup2_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, from); /* int */
|
|
|
|
iarg[1] = SCARG(p, to); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fcntl */
|
|
|
|
case 92: {
|
|
|
|
struct sys_fcntl_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, arg); /* void * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_select */
|
|
|
|
case 93: {
|
|
|
|
struct compat_50_sys_select_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, nd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, in); /* fd_set * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, ou); /* fd_set * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, ex); /* fd_set * */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, tv); /* struct timeval50 * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fsync */
|
|
|
|
case 95: {
|
|
|
|
struct sys_fsync_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setpriority */
|
|
|
|
case 96: {
|
|
|
|
struct sys_setpriority_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
iarg[1] = SCARG(p, who); /* id_t */
|
|
|
|
iarg[2] = SCARG(p, prio); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_socket */
|
|
|
|
case 97: {
|
|
|
|
struct compat_30_sys_socket_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, domain); /* int */
|
|
|
|
iarg[1] = SCARG(p, type); /* int */
|
|
|
|
iarg[2] = SCARG(p, protocol); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_connect */
|
|
|
|
case 98: {
|
|
|
|
struct sys_connect_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const struct sockaddr * */
|
|
|
|
iarg[2] = SCARG(p, namelen); /* socklen_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_accept */
|
|
|
|
case 99: {
|
|
|
|
struct compat_43_sys_accept_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* void * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, anamelen); /* socklen_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getpriority */
|
|
|
|
case 100: {
|
|
|
|
struct sys_getpriority_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
iarg[1] = SCARG(p, who); /* id_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_send */
|
|
|
|
case 101: {
|
|
|
|
struct compat_43_sys_send_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* void * */
|
|
|
|
iarg[2] = SCARG(p, len); /* int */
|
|
|
|
iarg[3] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_recv */
|
|
|
|
case 102: {
|
|
|
|
struct compat_43_sys_recv_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* void * */
|
|
|
|
iarg[2] = SCARG(p, len); /* int */
|
|
|
|
iarg[3] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigreturn */
|
|
|
|
case 103: {
|
|
|
|
struct compat_13_sys_sigreturn_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, sigcntxp); /* struct sigcontext13 * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_bind */
|
|
|
|
case 104: {
|
|
|
|
struct sys_bind_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const struct sockaddr * */
|
|
|
|
iarg[2] = SCARG(p, namelen); /* socklen_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setsockopt */
|
|
|
|
case 105: {
|
|
|
|
struct sys_setsockopt_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
iarg[1] = SCARG(p, level); /* int */
|
|
|
|
iarg[2] = SCARG(p, name); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, val); /* const void * */
|
|
|
|
iarg[4] = SCARG(p, valsize); /* socklen_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_listen */
|
|
|
|
case 106: {
|
|
|
|
struct sys_listen_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
iarg[1] = SCARG(p, backlog); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigvec */
|
|
|
|
case 108: {
|
|
|
|
struct compat_43_sys_sigvec_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, signum); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, nsv); /* struct sigvec * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, osv); /* struct sigvec * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigblock */
|
|
|
|
case 109: {
|
|
|
|
struct compat_43_sys_sigblock_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mask); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigsetmask */
|
|
|
|
case 110: {
|
|
|
|
struct compat_43_sys_sigsetmask_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mask); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigsuspend */
|
|
|
|
case 111: {
|
|
|
|
struct compat_13_sys_sigsuspend_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mask); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigstack */
|
|
|
|
case 112: {
|
|
|
|
struct compat_43_sys_sigstack_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, nss); /* struct sigstack * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, oss); /* struct sigstack * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_recvmsg */
|
|
|
|
case 113: {
|
|
|
|
struct compat_43_sys_recvmsg_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msg); /* struct omsghdr * */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sendmsg */
|
|
|
|
case 114: {
|
|
|
|
struct compat_43_sys_sendmsg_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msg); /* void * */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_gettimeofday */
|
|
|
|
case 116: {
|
|
|
|
struct compat_50_sys_gettimeofday_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, tp); /* struct timeval50 * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tzp); /* void * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getrusage */
|
|
|
|
case 117: {
|
|
|
|
struct compat_50_sys_getrusage_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, who); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getsockopt */
|
|
|
|
case 118: {
|
|
|
|
struct sys_getsockopt_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
iarg[1] = SCARG(p, level); /* int */
|
|
|
|
iarg[2] = SCARG(p, name); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, val); /* void * */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, avalsize); /* socklen_t * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_readv */
|
|
|
|
case 120: {
|
|
|
|
struct sys_readv_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */
|
|
|
|
iarg[2] = SCARG(p, iovcnt); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_writev */
|
|
|
|
case 121: {
|
|
|
|
struct sys_writev_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */
|
|
|
|
iarg[2] = SCARG(p, iovcnt); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_settimeofday */
|
|
|
|
case 122: {
|
|
|
|
struct compat_50_sys_settimeofday_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, tv); /* const struct timeval50 * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tzp); /* const void * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fchown */
|
|
|
|
case 123: {
|
|
|
|
struct sys_fchown_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = SCARG(p, uid); /* uid_t */
|
|
|
|
iarg[2] = SCARG(p, gid); /* gid_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fchmod */
|
|
|
|
case 124: {
|
|
|
|
struct sys_fchmod_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, mode); /* mode_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_recvfrom */
|
|
|
|
case 125: {
|
|
|
|
struct compat_43_sys_recvfrom_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* void * */
|
|
|
|
uarg[2] = SCARG(p, len); /* size_t */
|
|
|
|
iarg[3] = SCARG(p, flags); /* int */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, from); /* void * */
|
|
|
|
uarg[5] = (intptr_t) SCARG(p, fromlenaddr); /* socklen_t * */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setreuid */
|
|
|
|
case 126: {
|
|
|
|
struct sys_setreuid_args *p = params;
|
|
|
|
uarg[0] = SCARG(p, ruid); /* uid_t */
|
|
|
|
uarg[1] = SCARG(p, euid); /* uid_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setregid */
|
|
|
|
case 127: {
|
|
|
|
struct sys_setregid_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, rgid); /* gid_t */
|
|
|
|
iarg[1] = SCARG(p, egid); /* gid_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_rename */
|
|
|
|
case 128: {
|
|
|
|
struct sys_rename_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, from); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, to); /* const char * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_truncate */
|
|
|
|
case 129: {
|
|
|
|
struct compat_43_sys_truncate_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, length); /* long */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_ftruncate */
|
|
|
|
case 130: {
|
|
|
|
struct compat_43_sys_ftruncate_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, length); /* long */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_flock */
|
|
|
|
case 131: {
|
|
|
|
struct sys_flock_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, how); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mkfifo */
|
|
|
|
case 132: {
|
|
|
|
struct sys_mkfifo_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, mode); /* mode_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sendto */
|
|
|
|
case 133: {
|
|
|
|
struct sys_sendto_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */
|
|
|
|
uarg[2] = SCARG(p, len); /* size_t */
|
|
|
|
iarg[3] = SCARG(p, flags); /* int */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, to); /* const struct sockaddr * */
|
|
|
|
iarg[5] = SCARG(p, tolen); /* socklen_t */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_shutdown */
|
|
|
|
case 134: {
|
|
|
|
struct sys_shutdown_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
iarg[1] = SCARG(p, how); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_socketpair */
|
|
|
|
case 135: {
|
|
|
|
struct sys_socketpair_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, domain); /* int */
|
|
|
|
iarg[1] = SCARG(p, type); /* int */
|
|
|
|
iarg[2] = SCARG(p, protocol); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, rsv); /* int * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mkdir */
|
|
|
|
case 136: {
|
|
|
|
struct sys_mkdir_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, mode); /* mode_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_rmdir */
|
|
|
|
case 137: {
|
|
|
|
struct sys_rmdir_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_utimes */
|
|
|
|
case 138: {
|
|
|
|
struct compat_50_sys_utimes_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_adjtime */
|
|
|
|
case 140: {
|
|
|
|
struct compat_50_sys_adjtime_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, delta); /* const struct timeval50 * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, olddelta); /* struct timeval50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getpeername */
|
|
|
|
case 141: {
|
|
|
|
struct compat_43_sys_getpeername_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fdes); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, asa); /* void * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, alen); /* socklen_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_gethostid */
|
|
|
|
case 142: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sethostid */
|
|
|
|
case 143: {
|
|
|
|
struct compat_43_sys_sethostid_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, hostid); /* int32_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getrlimit */
|
|
|
|
case 144: {
|
|
|
|
struct compat_43_sys_getrlimit_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, rlp); /* struct orlimit * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setrlimit */
|
|
|
|
case 145: {
|
|
|
|
struct compat_43_sys_setrlimit_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, rlp); /* const struct orlimit * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_killpg */
|
|
|
|
case 146: {
|
|
|
|
struct compat_43_sys_killpg_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pgid); /* int */
|
|
|
|
iarg[1] = SCARG(p, signum); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setsid */
|
|
|
|
case 147: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_quotactl */
|
|
|
|
case 148: {
|
|
|
|
struct compat_50_sys_quotactl_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, cmd); /* int */
|
|
|
|
iarg[2] = SCARG(p, uid); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, arg); /* void * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_quota */
|
|
|
|
case 149: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getsockname */
|
|
|
|
case 150: {
|
|
|
|
struct compat_43_sys_getsockname_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fdec); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, asa); /* void * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, alen); /* socklen_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_nfssvc */
|
|
|
|
case 155: {
|
|
|
|
struct sys_nfssvc_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, flag); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, argp); /* void * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getdirentries */
|
|
|
|
case 156: {
|
|
|
|
struct compat_43_sys_getdirentries_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* char * */
|
|
|
|
uarg[2] = SCARG(p, count); /* u_int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, basep); /* long * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_statfs */
|
|
|
|
case 157: {
|
|
|
|
struct compat_20_sys_statfs_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* struct statfs12 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fstatfs */
|
|
|
|
case 158: {
|
|
|
|
struct compat_20_sys_fstatfs_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* struct statfs12 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getfh */
|
|
|
|
case 161: {
|
|
|
|
struct compat_30_sys_getfh_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fname); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, fhp); /* struct compat_30_fhandle * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getdomainname */
|
|
|
|
case 162: {
|
|
|
|
struct compat_09_sys_getdomainname_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, domainname); /* char * */
|
|
|
|
iarg[1] = SCARG(p, len); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setdomainname */
|
|
|
|
case 163: {
|
|
|
|
struct compat_09_sys_setdomainname_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, domainname); /* char * */
|
|
|
|
iarg[1] = SCARG(p, len); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_uname */
|
|
|
|
case 164: {
|
|
|
|
struct compat_09_sys_uname_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, name); /* struct outsname * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sysarch */
|
|
|
|
case 165: {
|
|
|
|
struct sys_sysarch_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, op); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, parms); /* void * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
2015-05-13 05:13:08 +03:00
|
|
|
#if !defined(_LP64)
|
2015-03-07 19:38:49 +03:00
|
|
|
/* sys_semsys */
|
|
|
|
case 169: {
|
|
|
|
struct compat_10_sys_semsys_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
iarg[1] = SCARG(p, a2); /* int */
|
|
|
|
iarg[2] = SCARG(p, a3); /* int */
|
|
|
|
iarg[3] = SCARG(p, a4); /* int */
|
|
|
|
iarg[4] = SCARG(p, a5); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#endif
|
2015-05-13 05:13:08 +03:00
|
|
|
#if !defined(_LP64)
|
2015-03-07 19:38:49 +03:00
|
|
|
/* sys_msgsys */
|
|
|
|
case 170: {
|
|
|
|
struct compat_10_sys_msgsys_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
iarg[1] = SCARG(p, a2); /* int */
|
|
|
|
iarg[2] = SCARG(p, a3); /* int */
|
|
|
|
iarg[3] = SCARG(p, a4); /* int */
|
|
|
|
iarg[4] = SCARG(p, a5); /* int */
|
|
|
|
iarg[5] = SCARG(p, a6); /* int */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#endif
|
2015-05-13 05:13:08 +03:00
|
|
|
#if !defined(_LP64)
|
2015-03-07 19:38:49 +03:00
|
|
|
/* sys_shmsys */
|
|
|
|
case 171: {
|
|
|
|
struct compat_10_sys_shmsys_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
iarg[1] = SCARG(p, a2); /* int */
|
|
|
|
iarg[2] = SCARG(p, a3); /* int */
|
|
|
|
iarg[3] = SCARG(p, a4); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
/* sys_pread */
|
|
|
|
case 173: {
|
|
|
|
struct sys_pread_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* void * */
|
|
|
|
uarg[2] = SCARG(p, nbyte); /* size_t */
|
|
|
|
iarg[3] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[4] = SCARG(p, offset); /* off_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pwrite */
|
|
|
|
case 174: {
|
|
|
|
struct sys_pwrite_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */
|
|
|
|
uarg[2] = SCARG(p, nbyte); /* size_t */
|
|
|
|
iarg[3] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[4] = SCARG(p, offset); /* off_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_ntp_gettime */
|
|
|
|
case 175: {
|
|
|
|
struct compat_30_sys_ntp_gettime_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, ntvp); /* struct ntptimeval30 * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
#if defined(NTP) || !defined(_KERNEL_OPT)
|
|
|
|
/* sys_ntp_adjtime */
|
|
|
|
case 176: {
|
|
|
|
struct sys_ntp_adjtime_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, tp); /* struct timex * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
/* sys_setgid */
|
|
|
|
case 181: {
|
|
|
|
struct sys_setgid_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, gid); /* gid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setegid */
|
|
|
|
case 182: {
|
|
|
|
struct sys_setegid_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, egid); /* gid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_seteuid */
|
|
|
|
case 183: {
|
|
|
|
struct sys_seteuid_args *p = params;
|
|
|
|
uarg[0] = SCARG(p, euid); /* uid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lfs_bmapv */
|
|
|
|
case 184: {
|
|
|
|
struct sys_lfs_bmapv_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fsidp); /* fsid_t * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, blkiov); /* struct block_info * */
|
|
|
|
iarg[2] = SCARG(p, blkcnt); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lfs_markv */
|
|
|
|
case 185: {
|
|
|
|
struct sys_lfs_markv_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fsidp); /* fsid_t * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, blkiov); /* struct block_info * */
|
|
|
|
iarg[2] = SCARG(p, blkcnt); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lfs_segclean */
|
|
|
|
case 186: {
|
|
|
|
struct sys_lfs_segclean_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fsidp); /* fsid_t * */
|
|
|
|
uarg[1] = SCARG(p, segment); /* u_long */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lfs_segwait */
|
|
|
|
case 187: {
|
|
|
|
struct compat_50_sys_lfs_segwait_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fsidp); /* fsid_t * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tv); /* struct timeval50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_stat */
|
|
|
|
case 188: {
|
|
|
|
struct compat_12_sys_stat_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat12 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fstat */
|
|
|
|
case 189: {
|
|
|
|
struct compat_12_sys_fstat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, sb); /* struct stat12 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lstat */
|
|
|
|
case 190: {
|
|
|
|
struct compat_12_sys_lstat_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat12 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pathconf */
|
|
|
|
case 191: {
|
|
|
|
struct sys_pathconf_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, name); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fpathconf */
|
|
|
|
case 192: {
|
|
|
|
struct sys_fpathconf_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, name); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getrlimit */
|
|
|
|
case 194: {
|
|
|
|
struct sys_getrlimit_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, rlp); /* struct rlimit * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setrlimit */
|
|
|
|
case 195: {
|
|
|
|
struct sys_setrlimit_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, rlp); /* const struct rlimit * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getdirentries */
|
|
|
|
case 196: {
|
|
|
|
struct compat_12_sys_getdirentries_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* char * */
|
|
|
|
uarg[2] = SCARG(p, count); /* u_int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, basep); /* long * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mmap */
|
|
|
|
case 197: {
|
|
|
|
struct sys_mmap_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
iarg[2] = SCARG(p, prot); /* int */
|
|
|
|
iarg[3] = SCARG(p, flags); /* int */
|
|
|
|
iarg[4] = SCARG(p, fd); /* int */
|
|
|
|
iarg[5] = SCARG(p, PAD); /* long */
|
|
|
|
iarg[6] = SCARG(p, pos); /* off_t */
|
|
|
|
*n_args = 7;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___syscall */
|
|
|
|
case 198: {
|
|
|
|
struct sys___syscall_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, code); /* quad_t */
|
|
|
|
iarg[1] = SCARG(p, args[SYS_MAXSYSARGS]); /* register_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lseek */
|
|
|
|
case 199: {
|
|
|
|
struct sys_lseek_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[2] = SCARG(p, offset); /* off_t */
|
|
|
|
iarg[3] = SCARG(p, whence); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_truncate */
|
|
|
|
case 200: {
|
|
|
|
struct sys_truncate_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[2] = SCARG(p, length); /* off_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_ftruncate */
|
|
|
|
case 201: {
|
|
|
|
struct sys_ftruncate_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[2] = SCARG(p, length); /* off_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___sysctl */
|
|
|
|
case 202: {
|
|
|
|
struct sys___sysctl_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, name); /* const int * */
|
|
|
|
uarg[1] = SCARG(p, namelen); /* u_int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, oldv); /* void * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, oldlenp); /* size_t * */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, newv); /* const void * */
|
|
|
|
uarg[5] = SCARG(p, newlen); /* size_t */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mlock */
|
|
|
|
case 203: {
|
|
|
|
struct sys_mlock_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* const void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_munlock */
|
|
|
|
case 204: {
|
|
|
|
struct sys_munlock_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* const void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_undelete */
|
|
|
|
case 205: {
|
|
|
|
struct sys_undelete_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_futimes */
|
|
|
|
case 206: {
|
|
|
|
struct compat_50_sys_futimes_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getpgid */
|
|
|
|
case 207: {
|
|
|
|
struct sys_getpgid_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_reboot */
|
|
|
|
case 208: {
|
|
|
|
struct sys_reboot_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, opt); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, bootstr); /* char * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_poll */
|
|
|
|
case 209: {
|
|
|
|
struct sys_poll_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fds); /* struct pollfd * */
|
|
|
|
uarg[1] = SCARG(p, nfds); /* u_int */
|
|
|
|
iarg[2] = SCARG(p, timeout); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_afssys */
|
|
|
|
case 210: {
|
|
|
|
struct sys_afssys_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, id); /* long */
|
|
|
|
iarg[1] = SCARG(p, a1); /* long */
|
|
|
|
iarg[2] = SCARG(p, a2); /* long */
|
|
|
|
iarg[3] = SCARG(p, a3); /* long */
|
|
|
|
iarg[4] = SCARG(p, a4); /* long */
|
|
|
|
iarg[5] = SCARG(p, a5); /* long */
|
|
|
|
iarg[6] = SCARG(p, a6); /* long */
|
|
|
|
*n_args = 7;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___semctl */
|
|
|
|
case 220: {
|
|
|
|
struct compat_14_sys___semctl_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, semid); /* int */
|
|
|
|
iarg[1] = SCARG(p, semnum); /* int */
|
|
|
|
iarg[2] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, arg); /* union __semun * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_semget */
|
|
|
|
case 221: {
|
|
|
|
struct sys_semget_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, key); /* key_t */
|
|
|
|
iarg[1] = SCARG(p, nsems); /* int */
|
|
|
|
iarg[2] = SCARG(p, semflg); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_semop */
|
|
|
|
case 222: {
|
|
|
|
struct sys_semop_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, semid); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, sops); /* struct sembuf * */
|
|
|
|
uarg[2] = SCARG(p, nsops); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_semconfig */
|
|
|
|
case 223: {
|
|
|
|
struct sys_semconfig_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, flag); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_msgctl */
|
|
|
|
case 224: {
|
|
|
|
struct compat_14_sys_msgctl_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, msqid); /* int */
|
|
|
|
iarg[1] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, buf); /* struct msqid_ds14 * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_msgget */
|
|
|
|
case 225: {
|
|
|
|
struct sys_msgget_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, key); /* key_t */
|
|
|
|
iarg[1] = SCARG(p, msgflg); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_msgsnd */
|
|
|
|
case 226: {
|
|
|
|
struct sys_msgsnd_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, msqid); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msgp); /* const void * */
|
|
|
|
uarg[2] = SCARG(p, msgsz); /* size_t */
|
|
|
|
iarg[3] = SCARG(p, msgflg); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_msgrcv */
|
|
|
|
case 227: {
|
|
|
|
struct sys_msgrcv_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, msqid); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msgp); /* void * */
|
|
|
|
uarg[2] = SCARG(p, msgsz); /* size_t */
|
|
|
|
iarg[3] = SCARG(p, msgtyp); /* long */
|
|
|
|
iarg[4] = SCARG(p, msgflg); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_shmat */
|
|
|
|
case 228: {
|
|
|
|
struct sys_shmat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, shmid); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, shmaddr); /* const void * */
|
|
|
|
iarg[2] = SCARG(p, shmflg); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_shmctl */
|
|
|
|
case 229: {
|
|
|
|
struct compat_14_sys_shmctl_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, shmid); /* int */
|
|
|
|
iarg[1] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, buf); /* struct shmid_ds14 * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_shmdt */
|
|
|
|
case 230: {
|
|
|
|
struct sys_shmdt_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, shmaddr); /* const void * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_shmget */
|
|
|
|
case 231: {
|
|
|
|
struct sys_shmget_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, key); /* key_t */
|
|
|
|
uarg[1] = SCARG(p, size); /* size_t */
|
|
|
|
iarg[2] = SCARG(p, shmflg); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_clock_gettime */
|
|
|
|
case 232: {
|
|
|
|
struct compat_50_sys_clock_gettime_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, clock_id); /* clockid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tp); /* struct timespec50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_clock_settime */
|
|
|
|
case 233: {
|
|
|
|
struct compat_50_sys_clock_settime_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, clock_id); /* clockid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tp); /* const struct timespec50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_clock_getres */
|
|
|
|
case 234: {
|
|
|
|
struct compat_50_sys_clock_getres_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, clock_id); /* clockid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tp); /* struct timespec50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_timer_create */
|
|
|
|
case 235: {
|
|
|
|
struct sys_timer_create_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, clock_id); /* clockid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, evp); /* struct sigevent * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, timerid); /* timer_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_timer_delete */
|
|
|
|
case 236: {
|
|
|
|
struct sys_timer_delete_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, timerid); /* timer_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_timer_settime */
|
|
|
|
case 237: {
|
|
|
|
struct compat_50_sys_timer_settime_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, timerid); /* timer_t */
|
|
|
|
iarg[1] = SCARG(p, flags); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, value); /* const struct itimerspec50 * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, ovalue); /* struct itimerspec50 * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_timer_gettime */
|
|
|
|
case 238: {
|
|
|
|
struct compat_50_sys_timer_gettime_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, timerid); /* timer_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, value); /* struct itimerspec50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_timer_getoverrun */
|
|
|
|
case 239: {
|
|
|
|
struct sys_timer_getoverrun_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, timerid); /* timer_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_nanosleep */
|
|
|
|
case 240: {
|
|
|
|
struct compat_50_sys_nanosleep_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, rqtp); /* const struct timespec50 * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, rmtp); /* struct timespec50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fdatasync */
|
|
|
|
case 241: {
|
|
|
|
struct sys_fdatasync_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mlockall */
|
|
|
|
case 242: {
|
|
|
|
struct sys_mlockall_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_munlockall */
|
|
|
|
case 243: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___sigtimedwait */
|
|
|
|
case 244: {
|
|
|
|
struct compat_50_sys___sigtimedwait_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, set); /* const sigset_t * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, info); /* siginfo_t * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, timeout); /* struct timespec50 * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sigqueueinfo */
|
|
|
|
case 245: {
|
|
|
|
struct sys_sigqueueinfo_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, info); /* const siginfo_t * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_modctl */
|
|
|
|
case 246: {
|
|
|
|
struct sys_modctl_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, arg); /* void * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__ksem_init */
|
|
|
|
case 247: {
|
|
|
|
struct sys__ksem_init_args *p = params;
|
|
|
|
uarg[0] = SCARG(p, value); /* unsigned int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, idp); /* intptr_t * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__ksem_open */
|
|
|
|
case 248: {
|
|
|
|
struct sys__ksem_open_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, oflag); /* int */
|
|
|
|
iarg[2] = SCARG(p, mode); /* mode_t */
|
|
|
|
uarg[3] = SCARG(p, value); /* unsigned int */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, idp); /* intptr_t * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__ksem_unlink */
|
|
|
|
case 249: {
|
|
|
|
struct sys__ksem_unlink_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__ksem_close */
|
|
|
|
case 250: {
|
|
|
|
struct sys__ksem_close_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, id); /* intptr_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__ksem_post */
|
|
|
|
case 251: {
|
|
|
|
struct sys__ksem_post_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, id); /* intptr_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__ksem_wait */
|
|
|
|
case 252: {
|
|
|
|
struct sys__ksem_wait_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, id); /* intptr_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__ksem_trywait */
|
|
|
|
case 253: {
|
|
|
|
struct sys__ksem_trywait_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, id); /* intptr_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__ksem_getvalue */
|
|
|
|
case 254: {
|
|
|
|
struct sys__ksem_getvalue_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, id); /* intptr_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, value); /* unsigned int * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__ksem_destroy */
|
|
|
|
case 255: {
|
|
|
|
struct sys__ksem_destroy_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, id); /* intptr_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__ksem_timedwait */
|
|
|
|
case 256: {
|
|
|
|
struct sys__ksem_timedwait_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, id); /* intptr_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, abstime); /* const struct timespec * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mq_open */
|
|
|
|
case 257: {
|
|
|
|
struct sys_mq_open_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, oflag); /* int */
|
|
|
|
iarg[2] = SCARG(p, mode); /* mode_t */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, attr); /* struct mq_attr * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mq_close */
|
|
|
|
case 258: {
|
|
|
|
struct sys_mq_close_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mqdes); /* mqd_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mq_unlink */
|
|
|
|
case 259: {
|
|
|
|
struct sys_mq_unlink_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mq_getattr */
|
|
|
|
case 260: {
|
|
|
|
struct sys_mq_getattr_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mqdes); /* mqd_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, mqstat); /* struct mq_attr * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mq_setattr */
|
|
|
|
case 261: {
|
|
|
|
struct sys_mq_setattr_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mqdes); /* mqd_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, mqstat); /* const struct mq_attr * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, omqstat); /* struct mq_attr * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mq_notify */
|
|
|
|
case 262: {
|
|
|
|
struct sys_mq_notify_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mqdes); /* mqd_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, notification); /* const struct sigevent * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mq_send */
|
|
|
|
case 263: {
|
|
|
|
struct sys_mq_send_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mqdes); /* mqd_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msg_ptr); /* const char * */
|
|
|
|
uarg[2] = SCARG(p, msg_len); /* size_t */
|
|
|
|
uarg[3] = SCARG(p, msg_prio); /* unsigned */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mq_receive */
|
|
|
|
case 264: {
|
|
|
|
struct sys_mq_receive_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mqdes); /* mqd_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msg_ptr); /* char * */
|
|
|
|
uarg[2] = SCARG(p, msg_len); /* size_t */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, msg_prio); /* unsigned * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mq_timedsend */
|
|
|
|
case 265: {
|
|
|
|
struct compat_50_sys_mq_timedsend_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mqdes); /* mqd_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msg_ptr); /* const char * */
|
|
|
|
uarg[2] = SCARG(p, msg_len); /* size_t */
|
|
|
|
uarg[3] = SCARG(p, msg_prio); /* unsigned */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, abs_timeout); /* const struct timespec50 * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mq_timedreceive */
|
|
|
|
case 266: {
|
|
|
|
struct compat_50_sys_mq_timedreceive_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mqdes); /* mqd_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msg_ptr); /* char * */
|
|
|
|
uarg[2] = SCARG(p, msg_len); /* size_t */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, msg_prio); /* unsigned * */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, abs_timeout); /* const struct timespec50 * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___posix_rename */
|
|
|
|
case 270: {
|
|
|
|
struct sys___posix_rename_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, from); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, to); /* const char * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_swapctl */
|
|
|
|
case 271: {
|
|
|
|
struct sys_swapctl_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, arg); /* void * */
|
|
|
|
iarg[2] = SCARG(p, misc); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getdents */
|
|
|
|
case 272: {
|
|
|
|
struct compat_30_sys_getdents_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* char * */
|
|
|
|
uarg[2] = SCARG(p, count); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_minherit */
|
|
|
|
case 273: {
|
|
|
|
struct sys_minherit_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
iarg[2] = SCARG(p, inherit); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lchmod */
|
|
|
|
case 274: {
|
|
|
|
struct sys_lchmod_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, mode); /* mode_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lchown */
|
|
|
|
case 275: {
|
|
|
|
struct sys_lchown_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = SCARG(p, uid); /* uid_t */
|
|
|
|
iarg[2] = SCARG(p, gid); /* gid_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lutimes */
|
|
|
|
case 276: {
|
|
|
|
struct compat_50_sys_lutimes_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval50 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___msync13 */
|
|
|
|
case 277: {
|
|
|
|
struct sys___msync13_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___stat13 */
|
|
|
|
case 278: {
|
|
|
|
struct compat_30_sys___stat13_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat13 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___fstat13 */
|
|
|
|
case 279: {
|
|
|
|
struct compat_30_sys___fstat13_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, sb); /* struct stat13 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___lstat13 */
|
|
|
|
case 280: {
|
|
|
|
struct compat_30_sys___lstat13_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat13 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___sigaltstack14 */
|
|
|
|
case 281: {
|
|
|
|
struct sys___sigaltstack14_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, nss); /* const struct sigaltstack * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, oss); /* struct sigaltstack * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___vfork14 */
|
|
|
|
case 282: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___posix_chown */
|
|
|
|
case 283: {
|
|
|
|
struct sys___posix_chown_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = SCARG(p, uid); /* uid_t */
|
|
|
|
iarg[2] = SCARG(p, gid); /* gid_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___posix_fchown */
|
|
|
|
case 284: {
|
|
|
|
struct sys___posix_fchown_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = SCARG(p, uid); /* uid_t */
|
|
|
|
iarg[2] = SCARG(p, gid); /* gid_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___posix_lchown */
|
|
|
|
case 285: {
|
|
|
|
struct sys___posix_lchown_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = SCARG(p, uid); /* uid_t */
|
|
|
|
iarg[2] = SCARG(p, gid); /* gid_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getsid */
|
|
|
|
case 286: {
|
|
|
|
struct sys_getsid_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___clone */
|
|
|
|
case 287: {
|
|
|
|
struct sys___clone_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, flags); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, stack); /* void * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fktrace */
|
|
|
|
case 288: {
|
|
|
|
struct sys_fktrace_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, ops); /* int */
|
|
|
|
iarg[2] = SCARG(p, facs); /* int */
|
|
|
|
iarg[3] = SCARG(p, pid); /* pid_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_preadv */
|
|
|
|
case 289: {
|
|
|
|
struct sys_preadv_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */
|
|
|
|
iarg[2] = SCARG(p, iovcnt); /* int */
|
|
|
|
iarg[3] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[4] = SCARG(p, offset); /* off_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pwritev */
|
|
|
|
case 290: {
|
|
|
|
struct sys_pwritev_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */
|
|
|
|
iarg[2] = SCARG(p, iovcnt); /* int */
|
|
|
|
iarg[3] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[4] = SCARG(p, offset); /* off_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___sigaction14 */
|
|
|
|
case 291: {
|
|
|
|
struct compat_16_sys___sigaction14_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, signum); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, nsa); /* const struct sigaction * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, osa); /* struct sigaction * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___sigpending14 */
|
|
|
|
case 292: {
|
|
|
|
struct sys___sigpending14_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, set); /* sigset_t * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___sigprocmask14 */
|
|
|
|
case 293: {
|
|
|
|
struct sys___sigprocmask14_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, how); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, set); /* const sigset_t * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, oset); /* sigset_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___sigsuspend14 */
|
|
|
|
case 294: {
|
|
|
|
struct sys___sigsuspend14_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, set); /* const sigset_t * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___sigreturn14 */
|
|
|
|
case 295: {
|
|
|
|
struct compat_16_sys___sigreturn14_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, sigcntxp); /* struct sigcontext * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___getcwd */
|
|
|
|
case 296: {
|
|
|
|
struct sys___getcwd_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, bufp); /* char * */
|
|
|
|
uarg[1] = SCARG(p, length); /* size_t */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fchroot */
|
|
|
|
case 297: {
|
|
|
|
struct sys_fchroot_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fhopen */
|
|
|
|
case 298: {
|
|
|
|
struct compat_30_sys_fhopen_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fhp); /* const struct compat_30_fhandle * */
|
|
|
|
iarg[1] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fhstat */
|
|
|
|
case 299: {
|
|
|
|
struct compat_30_sys_fhstat_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fhp); /* const struct compat_30_fhandle * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, sb); /* struct stat13 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fhstatfs */
|
|
|
|
case 300: {
|
|
|
|
struct compat_20_sys_fhstatfs_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fhp); /* const struct compat_30_fhandle * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* struct statfs12 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_____semctl13 */
|
|
|
|
case 301: {
|
|
|
|
struct compat_50_sys_____semctl13_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, semid); /* int */
|
|
|
|
iarg[1] = SCARG(p, semnum); /* int */
|
|
|
|
iarg[2] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, arg); /* union __semun * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___msgctl13 */
|
|
|
|
case 302: {
|
|
|
|
struct compat_50_sys___msgctl13_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, msqid); /* int */
|
|
|
|
iarg[1] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, buf); /* struct msqid_ds * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___shmctl13 */
|
|
|
|
case 303: {
|
|
|
|
struct compat_50_sys___shmctl13_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, shmid); /* int */
|
|
|
|
iarg[1] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, buf); /* struct shmid_ds13 * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lchflags */
|
|
|
|
case 304: {
|
|
|
|
struct sys_lchflags_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = SCARG(p, flags); /* u_long */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_issetugid */
|
|
|
|
case 305: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_utrace */
|
|
|
|
case 306: {
|
|
|
|
struct sys_utrace_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, label); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[2] = SCARG(p, len); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getcontext */
|
|
|
|
case 307: {
|
|
|
|
struct sys_getcontext_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, ucp); /* struct __ucontext * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setcontext */
|
|
|
|
case 308: {
|
|
|
|
struct sys_setcontext_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, ucp); /* const struct __ucontext * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_create */
|
|
|
|
case 309: {
|
|
|
|
struct sys__lwp_create_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, ucp); /* const struct __ucontext * */
|
|
|
|
uarg[1] = SCARG(p, flags); /* u_long */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, new_lwp); /* lwpid_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_exit */
|
|
|
|
case 310: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_self */
|
|
|
|
case 311: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_wait */
|
|
|
|
case 312: {
|
|
|
|
struct sys__lwp_wait_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, wait_for); /* lwpid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, departed); /* lwpid_t * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_suspend */
|
|
|
|
case 313: {
|
|
|
|
struct sys__lwp_suspend_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, target); /* lwpid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_continue */
|
|
|
|
case 314: {
|
|
|
|
struct sys__lwp_continue_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, target); /* lwpid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_wakeup */
|
|
|
|
case 315: {
|
|
|
|
struct sys__lwp_wakeup_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, target); /* lwpid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_getprivate */
|
|
|
|
case 316: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_setprivate */
|
|
|
|
case 317: {
|
|
|
|
struct sys__lwp_setprivate_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, ptr); /* void * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_kill */
|
|
|
|
case 318: {
|
|
|
|
struct sys__lwp_kill_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, target); /* lwpid_t */
|
|
|
|
iarg[1] = SCARG(p, signo); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_detach */
|
|
|
|
case 319: {
|
|
|
|
struct sys__lwp_detach_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, target); /* lwpid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_park */
|
|
|
|
case 320: {
|
|
|
|
struct compat_50_sys__lwp_park_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, ts); /* const struct timespec50 * */
|
|
|
|
iarg[1] = SCARG(p, unpark); /* lwpid_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, hint); /* const void * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, unparkhint); /* const void * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_unpark */
|
|
|
|
case 321: {
|
|
|
|
struct sys__lwp_unpark_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, target); /* lwpid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, hint); /* const void * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_unpark_all */
|
|
|
|
case 322: {
|
|
|
|
struct sys__lwp_unpark_all_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, targets); /* const lwpid_t * */
|
|
|
|
uarg[1] = SCARG(p, ntargets); /* size_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, hint); /* const void * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_setname */
|
|
|
|
case 323: {
|
|
|
|
struct sys__lwp_setname_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, target); /* lwpid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_getname */
|
|
|
|
case 324: {
|
|
|
|
struct sys__lwp_getname_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, target); /* lwpid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* char * */
|
|
|
|
uarg[2] = SCARG(p, len); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_ctl */
|
|
|
|
case 325: {
|
|
|
|
struct sys__lwp_ctl_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, features); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, address); /* struct lwpctl ** */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sa_register */
|
|
|
|
case 330: {
|
|
|
|
struct compat_60_sys_sa_register_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, newv); /* void * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, oldv); /* void ** */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
iarg[3] = SCARG(p, stackinfo_offset); /* ssize_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sa_stacks */
|
|
|
|
case 331: {
|
|
|
|
struct compat_60_sys_sa_stacks_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, num); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, stacks); /* stack_t * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sa_enable */
|
|
|
|
case 332: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sa_setconcurrency */
|
|
|
|
case 333: {
|
|
|
|
struct compat_60_sys_sa_setconcurrency_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, concurrency); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sa_yield */
|
|
|
|
case 334: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sa_preempt */
|
|
|
|
case 335: {
|
|
|
|
struct compat_60_sys_sa_preempt_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, sa_id); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___sigaction_sigtramp */
|
|
|
|
case 340: {
|
|
|
|
struct sys___sigaction_sigtramp_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, signum); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, nsa); /* const struct sigaction * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, osa); /* struct sigaction * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, tramp); /* const void * */
|
|
|
|
iarg[4] = SCARG(p, vers); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pmc_get_info */
|
|
|
|
case 341: {
|
|
|
|
struct sys_pmc_get_info_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, ctr); /* int */
|
|
|
|
iarg[1] = SCARG(p, op); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, args); /* void * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pmc_control */
|
|
|
|
case 342: {
|
|
|
|
struct sys_pmc_control_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, ctr); /* int */
|
|
|
|
iarg[1] = SCARG(p, op); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, args); /* void * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_rasctl */
|
|
|
|
case 343: {
|
|
|
|
struct sys_rasctl_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
|
|
|
|
uarg[1] = SCARG(p, len); /* size_t */
|
|
|
|
iarg[2] = SCARG(p, op); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_kqueue */
|
|
|
|
case 344: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_kevent */
|
|
|
|
case 345: {
|
|
|
|
struct compat_50_sys_kevent_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, changelist); /* const struct kevent * */
|
|
|
|
uarg[2] = SCARG(p, nchanges); /* size_t */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, eventlist); /* struct kevent * */
|
|
|
|
uarg[4] = SCARG(p, nevents); /* size_t */
|
|
|
|
uarg[5] = (intptr_t) SCARG(p, timeout); /* const struct timespec50 * */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__sched_setparam */
|
|
|
|
case 346: {
|
|
|
|
struct sys__sched_setparam_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
iarg[1] = SCARG(p, lid); /* lwpid_t */
|
|
|
|
iarg[2] = SCARG(p, policy); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, params); /* const struct sched_param * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__sched_getparam */
|
|
|
|
case 347: {
|
|
|
|
struct sys__sched_getparam_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
iarg[1] = SCARG(p, lid); /* lwpid_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, policy); /* int * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, params); /* struct sched_param * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__sched_setaffinity */
|
|
|
|
case 348: {
|
|
|
|
struct sys__sched_setaffinity_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
iarg[1] = SCARG(p, lid); /* lwpid_t */
|
|
|
|
uarg[2] = SCARG(p, size); /* size_t */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, cpuset); /* const cpuset_t * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__sched_getaffinity */
|
|
|
|
case 349: {
|
|
|
|
struct sys__sched_getaffinity_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
iarg[1] = SCARG(p, lid); /* lwpid_t */
|
|
|
|
uarg[2] = SCARG(p, size); /* size_t */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, cpuset); /* cpuset_t * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sched_yield */
|
|
|
|
case 350: {
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fsync_range */
|
|
|
|
case 354: {
|
|
|
|
struct sys_fsync_range_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, flags); /* int */
|
|
|
|
iarg[2] = SCARG(p, start); /* off_t */
|
|
|
|
iarg[3] = SCARG(p, length); /* off_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_uuidgen */
|
|
|
|
case 355: {
|
|
|
|
struct sys_uuidgen_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, store); /* struct uuid * */
|
|
|
|
iarg[1] = SCARG(p, count); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getvfsstat */
|
|
|
|
case 356: {
|
|
|
|
struct sys_getvfsstat_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, buf); /* struct statvfs * */
|
|
|
|
uarg[1] = SCARG(p, bufsize); /* size_t */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_statvfs1 */
|
|
|
|
case 357: {
|
|
|
|
struct sys_statvfs1_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* struct statvfs * */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fstatvfs1 */
|
|
|
|
case 358: {
|
|
|
|
struct sys_fstatvfs1_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* struct statvfs * */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fhstatvfs1 */
|
|
|
|
case 359: {
|
|
|
|
struct compat_30_sys_fhstatvfs1_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fhp); /* const struct compat_30_fhandle * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* struct statvfs * */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattrctl */
|
|
|
|
case 360: {
|
|
|
|
struct sys_extattrctl_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, filename); /* const char * */
|
|
|
|
iarg[3] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, attrname); /* const char * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_set_file */
|
|
|
|
case 361: {
|
|
|
|
struct sys_extattr_set_file_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, attrname); /* const char * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, data); /* const void * */
|
|
|
|
uarg[4] = SCARG(p, nbytes); /* size_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_get_file */
|
|
|
|
case 362: {
|
|
|
|
struct sys_extattr_get_file_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, attrname); /* const char * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, data); /* void * */
|
|
|
|
uarg[4] = SCARG(p, nbytes); /* size_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_delete_file */
|
|
|
|
case 363: {
|
|
|
|
struct sys_extattr_delete_file_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, attrname); /* const char * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_set_fd */
|
|
|
|
case 364: {
|
|
|
|
struct sys_extattr_set_fd_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, attrname); /* const char * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, data); /* const void * */
|
|
|
|
uarg[4] = SCARG(p, nbytes); /* size_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_get_fd */
|
|
|
|
case 365: {
|
|
|
|
struct sys_extattr_get_fd_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, attrname); /* const char * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, data); /* void * */
|
|
|
|
uarg[4] = SCARG(p, nbytes); /* size_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_delete_fd */
|
|
|
|
case 366: {
|
|
|
|
struct sys_extattr_delete_fd_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, attrname); /* const char * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_set_link */
|
|
|
|
case 367: {
|
|
|
|
struct sys_extattr_set_link_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, attrname); /* const char * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, data); /* const void * */
|
|
|
|
uarg[4] = SCARG(p, nbytes); /* size_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_get_link */
|
|
|
|
case 368: {
|
|
|
|
struct sys_extattr_get_link_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, attrname); /* const char * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, data); /* void * */
|
|
|
|
uarg[4] = SCARG(p, nbytes); /* size_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_delete_link */
|
|
|
|
case 369: {
|
|
|
|
struct sys_extattr_delete_link_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, attrname); /* const char * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_list_fd */
|
|
|
|
case 370: {
|
|
|
|
struct sys_extattr_list_fd_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, data); /* void * */
|
|
|
|
uarg[3] = SCARG(p, nbytes); /* size_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_list_file */
|
|
|
|
case 371: {
|
|
|
|
struct sys_extattr_list_file_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, data); /* void * */
|
|
|
|
uarg[3] = SCARG(p, nbytes); /* size_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_extattr_list_link */
|
|
|
|
case 372: {
|
|
|
|
struct sys_extattr_list_link_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, attrnamespace); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, data); /* void * */
|
|
|
|
uarg[3] = SCARG(p, nbytes); /* size_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pselect */
|
|
|
|
case 373: {
|
|
|
|
struct compat_50_sys_pselect_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, nd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, in); /* fd_set * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, ou); /* fd_set * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, ex); /* fd_set * */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, ts); /* const struct timespec50 * */
|
|
|
|
uarg[5] = (intptr_t) SCARG(p, mask); /* const sigset_t * */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pollts */
|
|
|
|
case 374: {
|
|
|
|
struct compat_50_sys_pollts_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fds); /* struct pollfd * */
|
|
|
|
uarg[1] = SCARG(p, nfds); /* u_int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, ts); /* const struct timespec50 * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, mask); /* const sigset_t * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_setxattr */
|
|
|
|
case 375: {
|
|
|
|
struct sys_setxattr_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, value); /* const void * */
|
|
|
|
uarg[3] = SCARG(p, size); /* size_t */
|
|
|
|
iarg[4] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lsetxattr */
|
|
|
|
case 376: {
|
|
|
|
struct sys_lsetxattr_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, value); /* const void * */
|
|
|
|
uarg[3] = SCARG(p, size); /* size_t */
|
|
|
|
iarg[4] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fsetxattr */
|
|
|
|
case 377: {
|
|
|
|
struct sys_fsetxattr_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, value); /* const void * */
|
|
|
|
uarg[3] = SCARG(p, size); /* size_t */
|
|
|
|
iarg[4] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_getxattr */
|
|
|
|
case 378: {
|
|
|
|
struct sys_getxattr_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, value); /* void * */
|
|
|
|
uarg[3] = SCARG(p, size); /* size_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lgetxattr */
|
|
|
|
case 379: {
|
|
|
|
struct sys_lgetxattr_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, value); /* void * */
|
|
|
|
uarg[3] = SCARG(p, size); /* size_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fgetxattr */
|
|
|
|
case 380: {
|
|
|
|
struct sys_fgetxattr_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, value); /* void * */
|
|
|
|
uarg[3] = SCARG(p, size); /* size_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_listxattr */
|
|
|
|
case 381: {
|
|
|
|
struct sys_listxattr_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, list); /* char * */
|
|
|
|
uarg[2] = SCARG(p, size); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_llistxattr */
|
|
|
|
case 382: {
|
|
|
|
struct sys_llistxattr_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, list); /* char * */
|
|
|
|
uarg[2] = SCARG(p, size); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_flistxattr */
|
|
|
|
case 383: {
|
|
|
|
struct sys_flistxattr_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, list); /* char * */
|
|
|
|
uarg[2] = SCARG(p, size); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_removexattr */
|
|
|
|
case 384: {
|
|
|
|
struct sys_removexattr_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lremovexattr */
|
|
|
|
case 385: {
|
|
|
|
struct sys_lremovexattr_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fremovexattr */
|
|
|
|
case 386: {
|
|
|
|
struct sys_fremovexattr_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* const char * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___stat30 */
|
|
|
|
case 387: {
|
|
|
|
struct compat_50_sys___stat30_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat30 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___fstat30 */
|
|
|
|
case 388: {
|
|
|
|
struct compat_50_sys___fstat30_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, sb); /* struct stat30 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___lstat30 */
|
|
|
|
case 389: {
|
|
|
|
struct compat_50_sys___lstat30_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat30 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___getdents30 */
|
|
|
|
case 390: {
|
|
|
|
struct sys___getdents30_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, buf); /* char * */
|
|
|
|
uarg[2] = SCARG(p, count); /* size_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___fhstat30 */
|
|
|
|
case 392: {
|
|
|
|
struct compat_30_sys___fhstat30_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fhp); /* const struct compat_30_fhandle * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, sb); /* struct stat30 * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___ntp_gettime30 */
|
|
|
|
case 393: {
|
|
|
|
struct compat_50_sys___ntp_gettime30_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, ntvp); /* struct ntptimeval50 * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___socket30 */
|
|
|
|
case 394: {
|
|
|
|
struct sys___socket30_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, domain); /* int */
|
|
|
|
iarg[1] = SCARG(p, type); /* int */
|
|
|
|
iarg[2] = SCARG(p, protocol); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___getfh30 */
|
|
|
|
case 395: {
|
|
|
|
struct sys___getfh30_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fname); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, fhp); /* void * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, fh_size); /* size_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___fhopen40 */
|
|
|
|
case 396: {
|
|
|
|
struct sys___fhopen40_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fhp); /* const void * */
|
|
|
|
uarg[1] = SCARG(p, fh_size); /* size_t */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___fhstatvfs140 */
|
|
|
|
case 397: {
|
|
|
|
struct sys___fhstatvfs140_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fhp); /* const void * */
|
|
|
|
uarg[1] = SCARG(p, fh_size); /* size_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, buf); /* struct statvfs * */
|
|
|
|
iarg[3] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___fhstat40 */
|
|
|
|
case 398: {
|
|
|
|
struct compat_50_sys___fhstat40_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fhp); /* const void * */
|
|
|
|
uarg[1] = SCARG(p, fh_size); /* size_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, sb); /* struct stat30 * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_aio_cancel */
|
|
|
|
case 399: {
|
|
|
|
struct sys_aio_cancel_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fildes); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, aiocbp); /* struct aiocb * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_aio_error */
|
|
|
|
case 400: {
|
|
|
|
struct sys_aio_error_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, aiocbp); /* const struct aiocb * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_aio_fsync */
|
|
|
|
case 401: {
|
|
|
|
struct sys_aio_fsync_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, op); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, aiocbp); /* struct aiocb * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_aio_read */
|
|
|
|
case 402: {
|
|
|
|
struct sys_aio_read_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, aiocbp); /* struct aiocb * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_aio_return */
|
|
|
|
case 403: {
|
|
|
|
struct sys_aio_return_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, aiocbp); /* struct aiocb * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_aio_suspend */
|
|
|
|
case 404: {
|
|
|
|
struct compat_50_sys_aio_suspend_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, list); /* const struct aiocb *const * */
|
|
|
|
iarg[1] = SCARG(p, nent); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, timeout); /* const struct timespec50 * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_aio_write */
|
|
|
|
case 405: {
|
|
|
|
struct sys_aio_write_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, aiocbp); /* struct aiocb * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_lio_listio */
|
|
|
|
case 406: {
|
|
|
|
struct sys_lio_listio_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mode); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, list); /* struct aiocb *const * */
|
|
|
|
iarg[2] = SCARG(p, nent); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, sig); /* struct sigevent * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___mount50 */
|
|
|
|
case 410: {
|
|
|
|
struct sys___mount50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, type); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, data); /* void * */
|
|
|
|
uarg[4] = SCARG(p, data_len); /* size_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mremap */
|
|
|
|
case 411: {
|
|
|
|
struct sys_mremap_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, old_address); /* void * */
|
|
|
|
uarg[1] = SCARG(p, old_size); /* size_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, new_address); /* void * */
|
|
|
|
uarg[3] = SCARG(p, new_size); /* size_t */
|
|
|
|
iarg[4] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pset_create */
|
|
|
|
case 412: {
|
|
|
|
struct sys_pset_create_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, psid); /* psetid_t * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pset_destroy */
|
|
|
|
case 413: {
|
|
|
|
struct sys_pset_destroy_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, psid); /* psetid_t */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pset_assign */
|
|
|
|
case 414: {
|
|
|
|
struct sys_pset_assign_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, psid); /* psetid_t */
|
|
|
|
iarg[1] = SCARG(p, cpuid); /* cpuid_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, opsid); /* psetid_t * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__pset_bind */
|
|
|
|
case 415: {
|
|
|
|
struct sys__pset_bind_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, idtype); /* idtype_t */
|
|
|
|
iarg[1] = SCARG(p, first_id); /* id_t */
|
|
|
|
iarg[2] = SCARG(p, second_id); /* id_t */
|
|
|
|
iarg[3] = SCARG(p, psid); /* psetid_t */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, opsid); /* psetid_t * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___posix_fadvise50 */
|
|
|
|
case 416: {
|
|
|
|
struct sys___posix_fadvise50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[2] = SCARG(p, offset); /* off_t */
|
|
|
|
iarg[3] = SCARG(p, len); /* off_t */
|
|
|
|
iarg[4] = SCARG(p, advice); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___select50 */
|
|
|
|
case 417: {
|
|
|
|
struct sys___select50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, nd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, in); /* fd_set * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, ou); /* fd_set * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, ex); /* fd_set * */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, tv); /* struct timeval * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___gettimeofday50 */
|
|
|
|
case 418: {
|
|
|
|
struct sys___gettimeofday50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, tp); /* struct timeval * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tzp); /* void * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___settimeofday50 */
|
|
|
|
case 419: {
|
|
|
|
struct sys___settimeofday50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, tv); /* const struct timeval * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tzp); /* const void * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___utimes50 */
|
|
|
|
case 420: {
|
|
|
|
struct sys___utimes50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___adjtime50 */
|
|
|
|
case 421: {
|
|
|
|
struct sys___adjtime50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, delta); /* const struct timeval * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, olddelta); /* struct timeval * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___lfs_segwait50 */
|
|
|
|
case 422: {
|
|
|
|
struct sys___lfs_segwait50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fsidp); /* fsid_t * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tv); /* struct timeval * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___futimes50 */
|
|
|
|
case 423: {
|
|
|
|
struct sys___futimes50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___lutimes50 */
|
|
|
|
case 424: {
|
|
|
|
struct sys___lutimes50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timeval * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___setitimer50 */
|
|
|
|
case 425: {
|
|
|
|
struct sys___setitimer50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, itv); /* const struct itimerval * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, oitv); /* struct itimerval * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___getitimer50 */
|
|
|
|
case 426: {
|
|
|
|
struct sys___getitimer50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, which); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, itv); /* struct itimerval * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___clock_gettime50 */
|
|
|
|
case 427: {
|
|
|
|
struct sys___clock_gettime50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, clock_id); /* clockid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tp); /* struct timespec * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___clock_settime50 */
|
|
|
|
case 428: {
|
|
|
|
struct sys___clock_settime50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, clock_id); /* clockid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tp); /* const struct timespec * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___clock_getres50 */
|
|
|
|
case 429: {
|
|
|
|
struct sys___clock_getres50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, clock_id); /* clockid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tp); /* struct timespec * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___nanosleep50 */
|
|
|
|
case 430: {
|
|
|
|
struct sys___nanosleep50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, rqtp); /* const struct timespec * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, rmtp); /* struct timespec * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_____sigtimedwait50 */
|
|
|
|
case 431: {
|
|
|
|
struct sys_____sigtimedwait50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, set); /* const sigset_t * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, info); /* siginfo_t * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, timeout); /* struct timespec * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___mq_timedsend50 */
|
|
|
|
case 432: {
|
|
|
|
struct sys___mq_timedsend50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mqdes); /* mqd_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msg_ptr); /* const char * */
|
|
|
|
uarg[2] = SCARG(p, msg_len); /* size_t */
|
|
|
|
uarg[3] = SCARG(p, msg_prio); /* unsigned */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, abs_timeout); /* const struct timespec * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___mq_timedreceive50 */
|
|
|
|
case 433: {
|
|
|
|
struct sys___mq_timedreceive50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, mqdes); /* mqd_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, msg_ptr); /* char * */
|
|
|
|
uarg[2] = SCARG(p, msg_len); /* size_t */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, msg_prio); /* unsigned * */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, abs_timeout); /* const struct timespec * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys__lwp_park */
|
|
|
|
case 434: {
|
|
|
|
struct compat_60_sys__lwp_park_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, ts); /* const struct timespec * */
|
|
|
|
iarg[1] = SCARG(p, unpark); /* lwpid_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, hint); /* const void * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, unparkhint); /* const void * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___kevent50 */
|
|
|
|
case 435: {
|
|
|
|
struct sys___kevent50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, changelist); /* const struct kevent * */
|
|
|
|
uarg[2] = SCARG(p, nchanges); /* size_t */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, eventlist); /* struct kevent * */
|
|
|
|
uarg[4] = SCARG(p, nevents); /* size_t */
|
|
|
|
uarg[5] = (intptr_t) SCARG(p, timeout); /* const struct timespec * */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___pselect50 */
|
|
|
|
case 436: {
|
|
|
|
struct sys___pselect50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, nd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, in); /* fd_set * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, ou); /* fd_set * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, ex); /* fd_set * */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, ts); /* const struct timespec * */
|
|
|
|
uarg[5] = (intptr_t) SCARG(p, mask); /* const sigset_t * */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___pollts50 */
|
|
|
|
case 437: {
|
|
|
|
struct sys___pollts50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fds); /* struct pollfd * */
|
|
|
|
uarg[1] = SCARG(p, nfds); /* u_int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, ts); /* const struct timespec * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, mask); /* const sigset_t * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___aio_suspend50 */
|
|
|
|
case 438: {
|
|
|
|
struct sys___aio_suspend50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, list); /* const struct aiocb *const * */
|
|
|
|
iarg[1] = SCARG(p, nent); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, timeout); /* const struct timespec * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___stat50 */
|
|
|
|
case 439: {
|
|
|
|
struct sys___stat50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___fstat50 */
|
|
|
|
case 440: {
|
|
|
|
struct sys___fstat50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, sb); /* struct stat * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___lstat50 */
|
|
|
|
case 441: {
|
|
|
|
struct sys___lstat50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_____semctl50 */
|
|
|
|
case 442: {
|
|
|
|
struct sys_____semctl50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, semid); /* int */
|
|
|
|
iarg[1] = SCARG(p, semnum); /* int */
|
|
|
|
iarg[2] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, arg); /* union __semun * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___shmctl50 */
|
|
|
|
case 443: {
|
|
|
|
struct sys___shmctl50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, shmid); /* int */
|
|
|
|
iarg[1] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, buf); /* struct shmid_ds * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___msgctl50 */
|
|
|
|
case 444: {
|
|
|
|
struct sys___msgctl50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, msqid); /* int */
|
|
|
|
iarg[1] = SCARG(p, cmd); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, buf); /* struct msqid_ds * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___getrusage50 */
|
|
|
|
case 445: {
|
|
|
|
struct sys___getrusage50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, who); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, rusage); /* struct rusage * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___timer_settime50 */
|
|
|
|
case 446: {
|
|
|
|
struct sys___timer_settime50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, timerid); /* timer_t */
|
|
|
|
iarg[1] = SCARG(p, flags); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, value); /* const struct itimerspec * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, ovalue); /* struct itimerspec * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___timer_gettime50 */
|
|
|
|
case 447: {
|
|
|
|
struct sys___timer_gettime50_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, timerid); /* timer_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, value); /* struct itimerspec * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
#if defined(NTP) || !defined(_KERNEL_OPT)
|
|
|
|
/* sys___ntp_gettime50 */
|
|
|
|
case 448: {
|
|
|
|
struct sys___ntp_gettime50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, ntvp); /* struct ntptimeval * */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
/* sys___wait450 */
|
|
|
|
case 449: {
|
|
|
|
struct sys___wait450_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, pid); /* pid_t */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, status); /* int * */
|
|
|
|
iarg[2] = SCARG(p, options); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, rusage); /* struct rusage * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___mknod50 */
|
|
|
|
case 450: {
|
|
|
|
struct sys___mknod50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, mode); /* mode_t */
|
|
|
|
iarg[2] = SCARG(p, dev); /* dev_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___fhstat50 */
|
|
|
|
case 451: {
|
|
|
|
struct sys___fhstat50_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fhp); /* const void * */
|
|
|
|
uarg[1] = SCARG(p, fh_size); /* size_t */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, sb); /* struct stat * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_pipe2 */
|
|
|
|
case 453: {
|
|
|
|
struct sys_pipe2_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, fildes); /* int * */
|
|
|
|
iarg[1] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_dup3 */
|
|
|
|
case 454: {
|
|
|
|
struct sys_dup3_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, from); /* int */
|
|
|
|
iarg[1] = SCARG(p, to); /* int */
|
|
|
|
iarg[2] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_kqueue1 */
|
|
|
|
case 455: {
|
|
|
|
struct sys_kqueue1_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_paccept */
|
|
|
|
case 456: {
|
|
|
|
struct sys_paccept_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name); /* struct sockaddr * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, anamelen); /* socklen_t * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, mask); /* const sigset_t * */
|
|
|
|
iarg[4] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_linkat */
|
|
|
|
case 457: {
|
|
|
|
struct sys_linkat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd1); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, name1); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, fd2); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, name2); /* const char * */
|
|
|
|
iarg[4] = SCARG(p, flags); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_renameat */
|
|
|
|
case 458: {
|
|
|
|
struct sys_renameat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fromfd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, from); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, tofd); /* int */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, to); /* const char * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mkfifoat */
|
|
|
|
case 459: {
|
|
|
|
struct sys_mkfifoat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, mode); /* mode_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mknodat */
|
|
|
|
case 460: {
|
|
|
|
struct sys_mknodat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, mode); /* mode_t */
|
|
|
|
iarg[3] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[4] = SCARG(p, dev); /* dev_t */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_mkdirat */
|
|
|
|
case 461: {
|
|
|
|
struct sys_mkdirat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, mode); /* mode_t */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_faccessat */
|
|
|
|
case 462: {
|
|
|
|
struct sys_faccessat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, amode); /* int */
|
|
|
|
iarg[3] = SCARG(p, flag); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fchmodat */
|
|
|
|
case 463: {
|
|
|
|
struct sys_fchmodat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, mode); /* mode_t */
|
|
|
|
iarg[3] = SCARG(p, flag); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fchownat */
|
|
|
|
case 464: {
|
|
|
|
struct sys_fchownat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[2] = SCARG(p, owner); /* uid_t */
|
|
|
|
iarg[3] = SCARG(p, group); /* gid_t */
|
|
|
|
iarg[4] = SCARG(p, flag); /* int */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fexecve */
|
|
|
|
case 465: {
|
|
|
|
struct sys_fexecve_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, argp); /* char *const * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, envp); /* char *const * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fstatat */
|
|
|
|
case 466: {
|
|
|
|
struct sys_fstatat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, buf); /* struct stat * */
|
|
|
|
iarg[3] = SCARG(p, flag); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_utimensat */
|
|
|
|
case 467: {
|
|
|
|
struct sys_utimensat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, tptr); /* const struct timespec * */
|
|
|
|
iarg[3] = SCARG(p, flag); /* int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_openat */
|
|
|
|
case 468: {
|
|
|
|
struct sys_openat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, oflags); /* int */
|
|
|
|
iarg[3] = SCARG(p, mode); /* mode_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_readlinkat */
|
|
|
|
case 469: {
|
|
|
|
struct sys_readlinkat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, buf); /* char * */
|
|
|
|
uarg[3] = SCARG(p, bufsize); /* size_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_symlinkat */
|
|
|
|
case 470: {
|
|
|
|
struct sys_symlinkat_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path1); /* const char * */
|
|
|
|
iarg[1] = SCARG(p, fd); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, path2); /* const char * */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_unlinkat */
|
|
|
|
case 471: {
|
|
|
|
struct sys_unlinkat_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
iarg[2] = SCARG(p, flag); /* int */
|
|
|
|
*n_args = 3;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_futimens */
|
|
|
|
case 472: {
|
|
|
|
struct sys_futimens_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, tptr); /* const struct timespec * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys___quotactl */
|
|
|
|
case 473: {
|
|
|
|
struct sys___quotactl_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, args); /* struct quotactl_args * */
|
|
|
|
*n_args = 2;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_posix_spawn */
|
|
|
|
case 474: {
|
|
|
|
struct sys_posix_spawn_args *p = params;
|
|
|
|
uarg[0] = (intptr_t) SCARG(p, pid); /* pid_t * */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, file_actions); /* const struct posix_spawn_file_actions * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, attrp); /* const struct posix_spawnattr * */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, argv); /* char *const * */
|
|
|
|
uarg[5] = (intptr_t) SCARG(p, envp); /* char *const * */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_recvmmsg */
|
|
|
|
case 475: {
|
|
|
|
struct sys_recvmmsg_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, mmsg); /* struct mmsghdr * */
|
|
|
|
uarg[2] = SCARG(p, vlen); /* unsigned int */
|
|
|
|
uarg[3] = SCARG(p, flags); /* unsigned int */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, timeout); /* struct timespec * */
|
|
|
|
*n_args = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_sendmmsg */
|
|
|
|
case 476: {
|
|
|
|
struct sys_sendmmsg_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, s); /* int */
|
|
|
|
uarg[1] = (intptr_t) SCARG(p, mmsg); /* struct mmsghdr * */
|
|
|
|
uarg[2] = SCARG(p, vlen); /* unsigned int */
|
|
|
|
uarg[3] = SCARG(p, flags); /* unsigned int */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_clock_nanosleep */
|
|
|
|
case 477: {
|
|
|
|
struct sys_clock_nanosleep_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, clock_id); /* clockid_t */
|
|
|
|
iarg[1] = SCARG(p, flags); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, rqtp); /* const struct timespec * */
|
|
|
|
uarg[3] = (intptr_t) SCARG(p, rmtp); /* struct timespec * */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys____lwp_park60 */
|
|
|
|
case 478: {
|
|
|
|
struct sys____lwp_park60_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, clock_id); /* clockid_t */
|
|
|
|
iarg[1] = SCARG(p, flags); /* int */
|
|
|
|
uarg[2] = (intptr_t) SCARG(p, ts); /* const struct timespec * */
|
|
|
|
iarg[3] = SCARG(p, unpark); /* lwpid_t */
|
|
|
|
uarg[4] = (intptr_t) SCARG(p, hint); /* const void * */
|
|
|
|
uarg[5] = (intptr_t) SCARG(p, unparkhint); /* const void * */
|
|
|
|
*n_args = 6;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_posix_fallocate */
|
|
|
|
case 479: {
|
|
|
|
struct sys_posix_fallocate_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[2] = SCARG(p, pos); /* off_t */
|
|
|
|
iarg[3] = SCARG(p, len); /* off_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* sys_fdiscard */
|
|
|
|
case 480: {
|
|
|
|
struct sys_fdiscard_args *p = params;
|
|
|
|
iarg[0] = SCARG(p, fd); /* int */
|
|
|
|
iarg[1] = SCARG(p, PAD); /* int */
|
|
|
|
iarg[2] = SCARG(p, pos); /* off_t */
|
|
|
|
iarg[3] = SCARG(p, len); /* off_t */
|
|
|
|
*n_args = 4;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
*n_args = 0;
|
|
|
|
break;
|
|
|
|
};
|
|
|
|
}
|