Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/compat/linux/arch/mips/linux_sysent.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/compat/linux/arch/mips/linux_sysent.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.47 retrieving revision 1.48 diff -u -p -r1.47 -r1.48 --- src/sys/compat/linux/arch/mips/linux_sysent.c 2011/11/18 04:07:44 1.47 +++ src/sys/compat/linux/arch/mips/linux_sysent.c 2012/09/19 21:24:36 1.48 @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.47 2011/11/18 04:07:44 christos Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.48 2012/09/19 21:24:36 pooka Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.43 2011/11/18 04:03:51 christos Exp + * created from NetBSD: syscalls.master,v 1.44 2012/09/19 21:19:15 pooka Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.47 2011/11/18 04:07:44 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.48 2012/09/19 21:24:36 pooka Exp $"); #include #include @@ -36,33 +36,33 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_exit }, /* 1 = exit */ { 0, 0, 0, (sy_call_t *)sys_fork }, /* 2 = fork */ - { ns(struct sys_read_args), 0, + { ns(struct sys_read_args), SYCALL_ARG_PTR, (sy_call_t *)sys_read }, /* 3 = read */ - { ns(struct sys_write_args), 0, + { ns(struct sys_write_args), SYCALL_ARG_PTR, (sy_call_t *)sys_write }, /* 4 = write */ - { ns(struct linux_sys_open_args), 0, + { ns(struct linux_sys_open_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_open }, /* 5 = open */ { ns(struct sys_close_args), 0, (sy_call_t *)sys_close }, /* 6 = close */ - { ns(struct linux_sys_waitpid_args), 0, + { ns(struct linux_sys_waitpid_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_waitpid }, /* 7 = waitpid */ - { ns(struct linux_sys_creat_args), 0, + { ns(struct linux_sys_creat_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_creat }, /* 8 = creat */ - { ns(struct sys_link_args), 0, + { ns(struct sys_link_args), SYCALL_ARG_PTR, (sy_call_t *)sys_link }, /* 9 = link */ - { ns(struct linux_sys_unlink_args), 0, + { ns(struct linux_sys_unlink_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_unlink }, /* 10 = unlink */ - { ns(struct sys_execve_args), 0, + { ns(struct sys_execve_args), SYCALL_ARG_PTR, (sy_call_t *)sys_execve }, /* 11 = execve */ - { ns(struct sys_chdir_args), 0, + { ns(struct sys_chdir_args), SYCALL_ARG_PTR, (sy_call_t *)sys_chdir }, /* 12 = chdir */ - { ns(struct linux_sys_time_args), 0, + { ns(struct linux_sys_time_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_time }, /* 13 = time */ - { ns(struct linux_sys_mknod_args), 0, + { ns(struct linux_sys_mknod_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_mknod }, /* 14 = mknod */ - { ns(struct sys_chmod_args), 0, + { ns(struct sys_chmod_args), SYCALL_ARG_PTR, (sy_call_t *)sys_chmod }, /* 15 = chmod */ - { ns(struct sys___posix_lchown_args), 0, + { ns(struct sys___posix_lchown_args), SYCALL_ARG_PTR, (sy_call_t *)sys___posix_lchown }, /* 16 = __posix_lchown */ { 0, 0, 0, linux_sys_nosys }, /* 17 = unimplemented */ @@ -80,7 +80,7 @@ struct sysent linux_sysent[] = { (sy_call_t *)sys_setuid }, /* 23 = setuid */ { 0, 0, 0, (sy_call_t *)sys_getuid }, /* 24 = getuid */ - { ns(struct linux_sys_stime_args), 0, + { ns(struct linux_sys_stime_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_stime }, /* 25 = stime */ { ns(struct linux_sys_ptrace_args), 0, (sy_call_t *)linux_sys_ptrace }, /* 26 = ptrace */ @@ -90,13 +90,13 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 28 = obsolete ofstat */ { 0, 0, 0, (sy_call_t *)linux_sys_pause }, /* 29 = pause */ - { ns(struct linux_sys_utime_args), 0, + { ns(struct linux_sys_utime_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_utime }, /* 30 = utime */ { 0, 0, 0, linux_sys_nosys }, /* 31 = unimplemented */ { 0, 0, 0, linux_sys_nosys }, /* 32 = unimplemented */ - { ns(struct sys_access_args), 0, + { ns(struct sys_access_args), SYCALL_ARG_PTR, (sy_call_t *)sys_access }, /* 33 = access */ { ns(struct linux_sys_nice_args), 0, (sy_call_t *)linux_sys_nice }, /* 34 = nice */ @@ -106,21 +106,21 @@ struct sysent linux_sysent[] = { (sy_call_t *)sys_sync }, /* 36 = sync */ { ns(struct linux_sys_kill_args), 0, (sy_call_t *)linux_sys_kill }, /* 37 = kill */ - { ns(struct sys___posix_rename_args), 0, + { ns(struct sys___posix_rename_args), SYCALL_ARG_PTR, (sy_call_t *)sys___posix_rename }, /* 38 = __posix_rename */ - { ns(struct sys_mkdir_args), 0, + { ns(struct sys_mkdir_args), SYCALL_ARG_PTR, (sy_call_t *)sys_mkdir }, /* 39 = mkdir */ - { ns(struct sys_rmdir_args), 0, + { ns(struct sys_rmdir_args), SYCALL_ARG_PTR, (sy_call_t *)sys_rmdir }, /* 40 = rmdir */ { ns(struct sys_dup_args), 0, (sy_call_t *)sys_dup }, /* 41 = dup */ - { ns(struct linux_sys_pipe_args), 0, + { ns(struct linux_sys_pipe_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_pipe }, /* 42 = pipe */ - { ns(struct linux_sys_times_args), 0, + { ns(struct linux_sys_times_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_times }, /* 43 = times */ { 0, 0, 0, linux_sys_nosys }, /* 44 = unimplemented */ - { ns(struct linux_sys_brk_args), 0, + { ns(struct linux_sys_brk_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_brk }, /* 45 = brk */ { ns(struct sys_setgid_args), 0, (sy_call_t *)sys_setgid }, /* 46 = setgid */ @@ -132,15 +132,15 @@ struct sysent linux_sysent[] = { (sy_call_t *)sys_geteuid }, /* 49 = geteuid */ { 0, 0, 0, (sy_call_t *)sys_getegid }, /* 50 = getegid */ - { ns(struct sys_acct_args), 0, + { ns(struct sys_acct_args), SYCALL_ARG_PTR, (sy_call_t *)sys_acct }, /* 51 = acct */ { 0, 0, 0, linux_sys_nosys }, /* 52 = unimplemented umount */ { 0, 0, 0, linux_sys_nosys }, /* 53 = unimplemented */ - { ns(struct linux_sys_ioctl_args), 0, + { ns(struct linux_sys_ioctl_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_ioctl }, /* 54 = ioctl */ - { ns(struct linux_sys_fcntl_args), 0, + { ns(struct linux_sys_fcntl_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fcntl }, /* 55 = fcntl */ { 0, 0, 0, linux_sys_nosys }, /* 56 = obsolete mpx */ @@ -148,11 +148,11 @@ struct sysent linux_sysent[] = { (sy_call_t *)sys_setpgid }, /* 57 = setpgid */ { 0, 0, 0, linux_sys_nosys }, /* 58 = unimplemented */ - { ns(struct linux_sys_olduname_args), 0, + { ns(struct linux_sys_olduname_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_olduname }, /* 59 = olduname */ { ns(struct sys_umask_args), 0, (sy_call_t *)sys_umask }, /* 60 = umask */ - { ns(struct sys_chroot_args), 0, + { ns(struct sys_chroot_args), SYCALL_ARG_PTR, (sy_call_t *)sys_chroot }, /* 61 = chroot */ { 0, 0, 0, linux_sys_nosys }, /* 62 = unimplemented ustat */ @@ -164,7 +164,7 @@ struct sysent linux_sysent[] = { (sy_call_t *)sys_getpgrp }, /* 65 = getpgrp */ { 0, 0, 0, (sy_call_t *)sys_setsid }, /* 66 = setsid */ - { ns(struct linux_sys_sigaction_args), 0, + { ns(struct linux_sys_sigaction_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sigaction }, /* 67 = sigaction */ { 0, 0, 0, (sy_call_t *)linux_sys_siggetmask },/* 68 = siggetmask */ @@ -174,47 +174,47 @@ struct sysent linux_sysent[] = { (sy_call_t *)sys_setreuid }, /* 70 = setreuid */ { ns(struct sys_setregid_args), 0, (sy_call_t *)sys_setregid }, /* 71 = setregid */ - { ns(struct linux_sys_sigsuspend_args), 0, + { ns(struct linux_sys_sigsuspend_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sigsuspend },/* 72 = sigsuspend */ - { ns(struct linux_sys_sigpending_args), 0, + { ns(struct linux_sys_sigpending_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sigpending },/* 73 = sigpending */ - { ns(struct compat_43_sys_sethostname_args), 0, + { ns(struct compat_43_sys_sethostname_args), SYCALL_ARG_PTR, (sy_call_t *)compat_43_sys_sethostname },/* 74 = sethostname */ - { ns(struct linux_sys_setrlimit_args), 0, + { ns(struct linux_sys_setrlimit_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_setrlimit }, /* 75 = setrlimit */ - { ns(struct linux_sys_getrlimit_args), 0, + { ns(struct linux_sys_getrlimit_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_getrlimit }, /* 76 = getrlimit */ - { ns(struct compat_50_sys_getrusage_args), 0, + { ns(struct compat_50_sys_getrusage_args), SYCALL_ARG_PTR, (sy_call_t *)compat_50_sys_getrusage },/* 77 = getrusage */ - { ns(struct linux_sys_gettimeofday_args), 0, + { ns(struct linux_sys_gettimeofday_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_gettimeofday },/* 78 = gettimeofday */ - { ns(struct linux_sys_settimeofday_args), 0, + { ns(struct linux_sys_settimeofday_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_settimeofday },/* 79 = settimeofday */ - { ns(struct sys_getgroups_args), 0, + { ns(struct sys_getgroups_args), SYCALL_ARG_PTR, (sy_call_t *)sys_getgroups }, /* 80 = getgroups */ - { ns(struct sys_setgroups_args), 0, + { ns(struct sys_setgroups_args), SYCALL_ARG_PTR, (sy_call_t *)sys_setgroups }, /* 81 = setgroups */ { 0, 0, 0, linux_sys_nosys }, /* 82 = unimplemented old_select */ - { ns(struct sys_symlink_args), 0, + { ns(struct sys_symlink_args), SYCALL_ARG_PTR, (sy_call_t *)sys_symlink }, /* 83 = symlink */ - { ns(struct compat_43_sys_lstat_args), 0, + { ns(struct compat_43_sys_lstat_args), SYCALL_ARG_PTR, (sy_call_t *)compat_43_sys_lstat }, /* 84 = oolstat */ - { ns(struct sys_readlink_args), 0, + { ns(struct sys_readlink_args), SYCALL_ARG_PTR, (sy_call_t *)sys_readlink }, /* 85 = readlink */ { 0, 0, 0, linux_sys_nosys }, /* 86 = unimplemented uselib */ - { ns(struct linux_sys_swapon_args), 0, + { ns(struct linux_sys_swapon_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_swapon }, /* 87 = swapon */ - { ns(struct linux_sys_reboot_args), 0, + { ns(struct linux_sys_reboot_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_reboot }, /* 88 = reboot */ - { ns(struct linux_sys_readdir_args), 0, + { ns(struct linux_sys_readdir_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_readdir }, /* 89 = readdir */ { ns(struct linux_sys_mmap_args), 0, (sy_call_t *)linux_sys_mmap }, /* 90 = mmap */ - { ns(struct sys_munmap_args), 0, + { ns(struct sys_munmap_args), SYCALL_ARG_PTR, (sy_call_t *)sys_munmap }, /* 91 = munmap */ - { ns(struct compat_43_sys_truncate_args), 0, + { ns(struct compat_43_sys_truncate_args), SYCALL_ARG_PTR, (sy_call_t *)compat_43_sys_truncate },/* 92 = truncate */ { ns(struct compat_43_sys_ftruncate_args), 0, (sy_call_t *)compat_43_sys_ftruncate },/* 93 = ftruncate */ @@ -228,27 +228,27 @@ struct sysent linux_sysent[] = { (sy_call_t *)sys_setpriority }, /* 97 = setpriority */ { 0, 0, 0, linux_sys_nosys }, /* 98 = unimplemented */ - { ns(struct linux_sys_statfs_args), 0, + { ns(struct linux_sys_statfs_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_statfs }, /* 99 = statfs */ - { ns(struct linux_sys_fstatfs_args), 0, + { ns(struct linux_sys_fstatfs_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fstatfs }, /* 100 = fstatfs */ { ns(struct linux_sys_ioperm_args), 0, (sy_call_t *)linux_sys_ioperm }, /* 101 = ioperm */ - { ns(struct linux_sys_socketcall_args), 0, + { ns(struct linux_sys_socketcall_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_socketcall },/* 102 = socketcall */ { 0, 0, 0, linux_sys_nosys }, /* 103 = unimplemented syslog */ - { ns(struct compat_50_sys_setitimer_args), 0, + { ns(struct compat_50_sys_setitimer_args), SYCALL_ARG_PTR, (sy_call_t *)compat_50_sys_setitimer },/* 104 = setitimer */ - { ns(struct compat_50_sys_getitimer_args), 0, + { ns(struct compat_50_sys_getitimer_args), SYCALL_ARG_PTR, (sy_call_t *)compat_50_sys_getitimer },/* 105 = getitimer */ - { ns(struct linux_sys_stat_args), 0, + { ns(struct linux_sys_stat_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_stat }, /* 106 = stat */ - { ns(struct linux_sys_lstat_args), 0, + { ns(struct linux_sys_lstat_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_lstat }, /* 107 = lstat */ - { ns(struct linux_sys_fstat_args), 0, + { ns(struct linux_sys_fstat_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fstat }, /* 108 = fstat */ - { ns(struct linux_sys_uname_args), 0, + { ns(struct linux_sys_uname_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_uname }, /* 109 = uname */ { 0, 0, 0, linux_sys_nosys }, /* 110 = unimplemented iopl */ @@ -258,31 +258,31 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 112 = unimplemented idle */ { 0, 0, 0, linux_sys_nosys }, /* 113 = unimplemented vm86old */ - { ns(struct linux_sys_wait4_args), 0, + { ns(struct linux_sys_wait4_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_wait4 }, /* 114 = wait4 */ - { ns(struct linux_sys_swapoff_args), 0, + { ns(struct linux_sys_swapoff_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_swapoff }, /* 115 = swapoff */ - { ns(struct linux_sys_sysinfo_args), 0, + { ns(struct linux_sys_sysinfo_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sysinfo }, /* 116 = sysinfo */ - { ns(struct linux_sys_ipc_args), 0, + { ns(struct linux_sys_ipc_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_ipc }, /* 117 = ipc */ { ns(struct sys_fsync_args), 0, (sy_call_t *)sys_fsync }, /* 118 = fsync */ - { ns(struct linux_sys_sigreturn_args), 0, + { ns(struct linux_sys_sigreturn_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sigreturn }, /* 119 = sigreturn */ - { ns(struct linux_sys_clone_args), 0, + { ns(struct linux_sys_clone_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_clone }, /* 120 = clone */ - { ns(struct linux_sys_setdomainname_args), 0, + { ns(struct linux_sys_setdomainname_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_setdomainname },/* 121 = setdomainname */ - { ns(struct linux_sys_new_uname_args), 0, + { ns(struct linux_sys_new_uname_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_new_uname }, /* 122 = new_uname */ { 0, 0, 0, linux_sys_nosys }, /* 123 = unimplemented modify_ldt */ { 0, 0, 0, linux_sys_nosys }, /* 124 = unimplemented adjtimex */ - { ns(struct linux_sys_mprotect_args), 0, + { ns(struct linux_sys_mprotect_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_mprotect }, /* 125 = mprotect */ - { ns(struct linux_sys_sigprocmask_args), 0, + { ns(struct linux_sys_sigprocmask_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sigprocmask },/* 126 = sigprocmask */ { 0, 0, 0, linux_sys_nosys }, /* 127 = unimplemented create_module */ @@ -310,21 +310,21 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_setfsuid }, /* 138 = setfsuid */ { ns(struct linux_sys_setfsgid_args), 0, (sy_call_t *)linux_sys_setfsgid }, /* 139 = setfsgid */ - { ns(struct linux_sys_llseek_args), 0, + { ns(struct linux_sys_llseek_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_llseek }, /* 140 = llseek */ - { ns(struct linux_sys_getdents_args), 0, + { ns(struct linux_sys_getdents_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_getdents }, /* 141 = getdents */ - { ns(struct linux_sys_select_args), 0, + { ns(struct linux_sys_select_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_select }, /* 142 = select */ { ns(struct sys_flock_args), 0, (sy_call_t *)sys_flock }, /* 143 = flock */ - { ns(struct sys___msync13_args), 0, + { ns(struct sys___msync13_args), SYCALL_ARG_PTR, (sy_call_t *)sys___msync13 }, /* 144 = __msync13 */ - { ns(struct sys_readv_args), 0, + { ns(struct sys_readv_args), SYCALL_ARG_PTR, (sy_call_t *)sys_readv }, /* 145 = readv */ - { ns(struct sys_writev_args), 0, + { ns(struct sys_writev_args), SYCALL_ARG_PTR, (sy_call_t *)sys_writev }, /* 146 = writev */ - { ns(struct linux_sys_cacheflush_args), 0, + { ns(struct linux_sys_cacheflush_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_cacheflush },/* 147 = cacheflush */ { 0, 0, 0, linux_sys_nosys }, /* 148 = unimplemented cachectl */ @@ -336,21 +336,21 @@ struct sysent linux_sysent[] = { (sy_call_t *)sys_getsid }, /* 151 = getsid */ { ns(struct linux_sys_fdatasync_args), 0, (sy_call_t *)linux_sys_fdatasync }, /* 152 = fdatasync */ - { ns(struct linux_sys___sysctl_args), 0, + { ns(struct linux_sys___sysctl_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys___sysctl }, /* 153 = __sysctl */ - { ns(struct sys_mlock_args), 0, + { ns(struct sys_mlock_args), SYCALL_ARG_PTR, (sy_call_t *)sys_mlock }, /* 154 = mlock */ - { ns(struct sys_munlock_args), 0, + { ns(struct sys_munlock_args), SYCALL_ARG_PTR, (sy_call_t *)sys_munlock }, /* 155 = munlock */ { ns(struct sys_mlockall_args), 0, (sy_call_t *)sys_mlockall }, /* 156 = mlockall */ { 0, 0, 0, (sy_call_t *)sys_munlockall }, /* 157 = munlockall */ - { ns(struct linux_sys_sched_setparam_args), 0, + { ns(struct linux_sys_sched_setparam_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sched_setparam },/* 158 = sched_setparam */ - { ns(struct linux_sys_sched_getparam_args), 0, + { ns(struct linux_sys_sched_getparam_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sched_getparam },/* 159 = sched_getparam */ - { ns(struct linux_sys_sched_setscheduler_args), 0, + { ns(struct linux_sys_sched_setscheduler_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sched_setscheduler },/* 160 = sched_setscheduler */ { ns(struct linux_sys_sched_getscheduler_args), 0, (sy_call_t *)linux_sys_sched_getscheduler },/* 161 = sched_getscheduler */ @@ -362,87 +362,87 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_sched_get_priority_min },/* 164 = sched_get_priority_min */ { 0, 0, 0, linux_sys_nosys }, /* 165 = unimplemented sched_rr_get_interval */ - { ns(struct linux_sys_nanosleep_args), 0, + { ns(struct linux_sys_nanosleep_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_nanosleep }, /* 166 = nanosleep */ - { ns(struct linux_sys_mremap_args), 0, + { ns(struct linux_sys_mremap_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_mremap }, /* 167 = mremap */ - { ns(struct linux_sys_accept_args), 0, + { ns(struct linux_sys_accept_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_accept }, /* 168 = accept */ - { ns(struct linux_sys_bind_args), 0, + { ns(struct linux_sys_bind_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_bind }, /* 169 = bind */ - { ns(struct linux_sys_connect_args), 0, + { ns(struct linux_sys_connect_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_connect }, /* 170 = connect */ - { ns(struct linux_sys_getpeername_args), 0, + { ns(struct linux_sys_getpeername_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_getpeername },/* 171 = getpeername */ - { ns(struct linux_sys_getsockname_args), 0, + { ns(struct linux_sys_getsockname_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_getsockname },/* 172 = getsockname */ - { ns(struct linux_sys_getsockopt_args), 0, + { ns(struct linux_sys_getsockopt_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_getsockopt },/* 173 = getsockopt */ { ns(struct sys_listen_args), 0, (sy_call_t *)sys_listen }, /* 174 = listen */ - { ns(struct linux_sys_recv_args), 0, + { ns(struct linux_sys_recv_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_recv }, /* 175 = recv */ - { ns(struct linux_sys_recvfrom_args), 0, + { ns(struct linux_sys_recvfrom_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_recvfrom }, /* 176 = recvfrom */ - { ns(struct linux_sys_recvmsg_args), 0, + { ns(struct linux_sys_recvmsg_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_recvmsg }, /* 177 = recvmsg */ - { ns(struct linux_sys_send_args), 0, + { ns(struct linux_sys_send_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_send }, /* 178 = send */ - { ns(struct linux_sys_sendmsg_args), 0, + { ns(struct linux_sys_sendmsg_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sendmsg }, /* 179 = sendmsg */ - { ns(struct linux_sys_sendto_args), 0, + { ns(struct linux_sys_sendto_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sendto }, /* 180 = sendto */ - { ns(struct linux_sys_setsockopt_args), 0, + { ns(struct linux_sys_setsockopt_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_setsockopt },/* 181 = setsockopt */ { 0, 0, 0, linux_sys_nosys }, /* 182 = unimplemented shutdown */ { ns(struct linux_sys_socket_args), 0, (sy_call_t *)linux_sys_socket }, /* 183 = socket */ - { ns(struct linux_sys_socketpair_args), 0, + { ns(struct linux_sys_socketpair_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_socketpair },/* 184 = socketpair */ { ns(struct linux_sys_setresuid_args), 0, (sy_call_t *)linux_sys_setresuid }, /* 185 = setresuid */ - { ns(struct linux_sys_getresuid_args), 0, + { ns(struct linux_sys_getresuid_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_getresuid }, /* 186 = getresuid */ { 0, 0, 0, linux_sys_nosys }, /* 187 = unimplemented query_module */ - { ns(struct sys_poll_args), 0, + { ns(struct sys_poll_args), SYCALL_ARG_PTR, (sy_call_t *)sys_poll }, /* 188 = poll */ { 0, 0, 0, linux_sys_nosys }, /* 189 = unimplemented nfsservctl */ { ns(struct linux_sys_setresgid_args), 0, (sy_call_t *)linux_sys_setresgid }, /* 190 = setresgid */ - { ns(struct linux_sys_getresgid_args), 0, + { ns(struct linux_sys_getresgid_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_getresgid }, /* 191 = getresgid */ { 0, 0, 0, linux_sys_nosys }, /* 192 = unimplemented prctl */ - { ns(struct linux_sys_rt_sigreturn_args), 0, + { ns(struct linux_sys_rt_sigreturn_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_rt_sigreturn },/* 193 = rt_sigreturn */ - { ns(struct linux_sys_rt_sigaction_args), 0, + { ns(struct linux_sys_rt_sigaction_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_rt_sigaction },/* 194 = rt_sigaction */ - { ns(struct linux_sys_rt_sigprocmask_args), 0, + { ns(struct linux_sys_rt_sigprocmask_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_rt_sigprocmask },/* 195 = rt_sigprocmask */ - { ns(struct linux_sys_rt_sigpending_args), 0, + { ns(struct linux_sys_rt_sigpending_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_rt_sigpending },/* 196 = rt_sigpending */ - { ns(struct linux_sys_rt_sigtimedwait_args), 0, + { ns(struct linux_sys_rt_sigtimedwait_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_rt_sigtimedwait },/* 197 = rt_sigtimedwait */ - { ns(struct linux_sys_rt_queueinfo_args), 0, + { ns(struct linux_sys_rt_queueinfo_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_rt_queueinfo },/* 198 = rt_queueinfo */ - { ns(struct linux_sys_rt_sigsuspend_args), 0, + { ns(struct linux_sys_rt_sigsuspend_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_rt_sigsuspend },/* 199 = rt_sigsuspend */ - { ns(struct linux_sys_pread_args), 0, + { ns(struct linux_sys_pread_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_pread }, /* 200 = pread */ - { ns(struct linux_sys_pwrite_args), 0, + { ns(struct linux_sys_pwrite_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_pwrite }, /* 201 = pwrite */ - { ns(struct sys___posix_chown_args), 0, + { ns(struct sys___posix_chown_args), SYCALL_ARG_PTR, (sy_call_t *)sys___posix_chown }, /* 202 = __posix_chown */ - { ns(struct sys___getcwd_args), 0, + { ns(struct sys___getcwd_args), SYCALL_ARG_PTR, (sy_call_t *)sys___getcwd }, /* 203 = __getcwd */ { 0, 0, 0, linux_sys_nosys }, /* 204 = unimplemented capget */ { 0, 0, 0, linux_sys_nosys }, /* 205 = unimplemented capset */ - { ns(struct linux_sys_sigaltstack_args), 0, + { ns(struct linux_sys_sigaltstack_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sigaltstack },/* 206 = sigaltstack */ { 0, 0, 0, linux_sys_nosys }, /* 207 = unimplemented sendfile */ @@ -452,25 +452,25 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 209 = unimplemented */ { ns(struct linux_sys_mmap2_args), 0, (sy_call_t *)linux_sys_mmap2 }, /* 210 = mmap2 */ - { ns(struct linux_sys_truncate64_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG1_64, + { ns(struct linux_sys_truncate64_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG1_64 | SYCALL_ARG_PTR, (sy_call_t *)linux_sys_truncate64 },/* 211 = truncate64 */ { ns(struct linux_sys_ftruncate64_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG1_64, (sy_call_t *)linux_sys_ftruncate64 },/* 212 = ftruncate64 */ - { ns(struct linux_sys_stat64_args), 0, + { ns(struct linux_sys_stat64_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_stat64 }, /* 213 = stat64 */ - { ns(struct linux_sys_lstat64_args), 0, + { ns(struct linux_sys_lstat64_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_lstat64 }, /* 214 = lstat64 */ - { ns(struct linux_sys_fstat64_args), 0, + { ns(struct linux_sys_fstat64_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fstat64 }, /* 215 = fstat64 */ { 0, 0, 0, linux_sys_nosys }, /* 216 = unimplemented pivot_root */ - { ns(struct sys_mincore_args), 0, + { ns(struct sys_mincore_args), SYCALL_ARG_PTR, (sy_call_t *)sys_mincore }, /* 217 = mincore */ - { ns(struct sys_madvise_args), 0, + { ns(struct sys_madvise_args), SYCALL_ARG_PTR, (sy_call_t *)sys_madvise }, /* 218 = madvise */ - { ns(struct linux_sys_getdents64_args), 0, + { ns(struct linux_sys_getdents64_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_getdents64 },/* 219 = getdents64 */ - { ns(struct linux_sys_fcntl64_args), 0, + { ns(struct linux_sys_fcntl64_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fcntl64 }, /* 220 = fcntl64 */ { 0, 0, 0, linux_sys_nosys }, /* 221 = unimplemented / * reserved * / */ @@ -478,39 +478,39 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_gettid }, /* 222 = gettid */ { 0, 0, 0, linux_sys_nosys }, /* 223 = unimplemented readahead */ - { ns(struct linux_sys_setxattr_args), 0, + { ns(struct linux_sys_setxattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_setxattr }, /* 224 = setxattr */ - { ns(struct linux_sys_lsetxattr_args), 0, + { ns(struct linux_sys_lsetxattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_lsetxattr }, /* 225 = lsetxattr */ - { ns(struct linux_sys_fsetxattr_args), 0, + { ns(struct linux_sys_fsetxattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fsetxattr }, /* 226 = fsetxattr */ - { ns(struct linux_sys_getxattr_args), 0, + { ns(struct linux_sys_getxattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_getxattr }, /* 227 = getxattr */ - { ns(struct linux_sys_lgetxattr_args), 0, + { ns(struct linux_sys_lgetxattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_lgetxattr }, /* 228 = lgetxattr */ - { ns(struct linux_sys_fgetxattr_args), 0, + { ns(struct linux_sys_fgetxattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fgetxattr }, /* 229 = fgetxattr */ - { ns(struct linux_sys_listxattr_args), 0, + { ns(struct linux_sys_listxattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_listxattr }, /* 230 = listxattr */ - { ns(struct linux_sys_llistxattr_args), 0, + { ns(struct linux_sys_llistxattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_llistxattr },/* 231 = llistxattr */ - { ns(struct linux_sys_flistxattr_args), 0, + { ns(struct linux_sys_flistxattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_flistxattr },/* 232 = flistxattr */ - { ns(struct linux_sys_removexattr_args), 0, + { ns(struct linux_sys_removexattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_removexattr },/* 233 = removexattr */ - { ns(struct linux_sys_lremovexattr_args), 0, + { ns(struct linux_sys_lremovexattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_lremovexattr },/* 234 = lremovexattr */ - { ns(struct linux_sys_fremovexattr_args), 0, + { ns(struct linux_sys_fremovexattr_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fremovexattr },/* 235 = fremovexattr */ { ns(struct linux_sys_tkill_args), 0, (sy_call_t *)linux_sys_tkill }, /* 236 = tkill */ { 0, 0, 0, linux_sys_nosys }, /* 237 = unimplemented sendfile64 */ - { ns(struct linux_sys_futex_args), 0, + { ns(struct linux_sys_futex_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_futex }, /* 238 = futex */ - { ns(struct linux_sys_sched_setaffinity_args), 0, + { ns(struct linux_sys_sched_setaffinity_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sched_setaffinity },/* 239 = sched_setaffinity */ - { ns(struct linux_sys_sched_getaffinity_args), 0, + { ns(struct linux_sys_sched_getaffinity_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_sched_getaffinity },/* 240 = sched_getaffinity */ { 0, 0, 0, linux_sys_nosys }, /* 241 = unimplemented io_setup */ @@ -534,15 +534,15 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 250 = unimplemented epoll_wait */ { 0, 0, 0, linux_sys_nosys }, /* 251 = unimplemented remap_file_pages */ - { ns(struct linux_sys_set_tid_address_args), 0, + { ns(struct linux_sys_set_tid_address_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_set_tid_address },/* 252 = set_tid_address */ { 0, 0, 0, linux_sys_nosys }, /* 253 = unimplemented restart_syscall */ { ns(struct linux_sys_fadvise64_args), 0, (sy_call_t *)linux_sys_fadvise64 }, /* 254 = fadvise64 */ - { ns(struct linux_sys_statfs64_args), 0, + { ns(struct linux_sys_statfs64_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_statfs64 }, /* 255 = statfs64 */ - { ns(struct linux_sys_fstatfs64_args), 0, + { ns(struct linux_sys_fstatfs64_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fstatfs64 }, /* 256 = fstatfs64 */ { 0, 0, 0, linux_sys_nosys }, /* 257 = unimplemented timer_create */ @@ -554,13 +554,13 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 260 = unimplemented timer_getoverrun */ { 0, 0, 0, linux_sys_nosys }, /* 261 = unimplemented timer_delete */ - { ns(struct linux_sys_clock_settime_args), 0, + { ns(struct linux_sys_clock_settime_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_clock_settime },/* 262 = clock_settime */ - { ns(struct linux_sys_clock_gettime_args), 0, + { ns(struct linux_sys_clock_gettime_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_clock_gettime },/* 263 = clock_gettime */ - { ns(struct linux_sys_clock_getres_args), 0, + { ns(struct linux_sys_clock_getres_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_clock_getres },/* 264 = clock_getres */ - { ns(struct linux_sys_clock_nanosleep_args), 0, + { ns(struct linux_sys_clock_nanosleep_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_clock_nanosleep },/* 265 = clock_nanosleep */ { ns(struct linux_sys_tgkill_args), 0, (sy_call_t *)linux_sys_tgkill }, /* 266 = tgkill */ @@ -596,7 +596,7 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 281 = unimplemented request_key */ { 0, 0, 0, linux_sys_nosys }, /* 282 = unimplemented keyctl */ - { ns(struct linux_sys_set_thread_area_args), 0, + { ns(struct linux_sys_set_thread_area_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_set_thread_area },/* 283 = set_thread_area */ { 0, 0, 0, linux_sys_nosys }, /* 284 = unimplemented inotify_init */ @@ -634,8 +634,8 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 300 = unimplemented faccessat */ { 0, 0, 0, linux_sys_nosys }, /* 301 = unimplemented pselect6 */ - { 0, 0, 0, - linux_sys_nosys }, /* 302 = unimplemented ppoll */ + { ns(struct linux_sys_ppoll_args), SYCALL_ARG_PTR, + (sy_call_t *)linux_sys_ppoll }, /* 302 = ppoll */ { 0, 0, 0, linux_sys_nosys }, /* 303 = unimplemented unshare */ { 0, 0, 0, @@ -648,9 +648,9 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 307 = unimplemented vmsplice */ { 0, 0, 0, linux_sys_nosys }, /* 308 = unimplemented move_pages */ - { ns(struct linux_sys_set_robust_list_args), 0, + { ns(struct linux_sys_set_robust_list_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_set_robust_list },/* 309 = set_robust_list */ - { ns(struct linux_sys_get_robust_list_args), 0, + { ns(struct linux_sys_get_robust_list_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_get_robust_list },/* 310 = get_robust_list */ { 0, 0, 0, linux_sys_nosys }, /* 311 = unimplemented kexec_load */ @@ -686,7 +686,7 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 326 = unimplemented epoll_create1 */ { ns(struct linux_sys_dup3_args), 0, (sy_call_t *)linux_sys_dup3 }, /* 327 = dup3 */ - { ns(struct linux_sys_pipe2_args), 0, + { ns(struct linux_sys_pipe2_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_pipe2 }, /* 328 = pipe2 */ { 0, 0, 0, linux_sys_nosys }, /* 329 = unimplemented inotify_init1 */