diff options
author | jasoni <jasoni@cvs.openbsd.org> | 2000-07-07 02:14:06 +0000 |
---|---|---|
committer | jasoni <jasoni@cvs.openbsd.org> | 2000-07-07 02:14:06 +0000 |
commit | 1369e9be8198fc6d5c0ae823f620b89889f9d8d9 (patch) | |
tree | 860003de8d1c6a279c63d3e781d7ba69e8d5dfa4 /sys/compat/linux/linux_sysent.c | |
parent | 6b18df8e8395ca79e8c818348032f9342483529a (diff) |
sync
Diffstat (limited to 'sys/compat/linux/linux_sysent.c')
-rw-r--r-- | sys/compat/linux/linux_sysent.c | 120 |
1 files changed, 66 insertions, 54 deletions
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index e0dd0a318df..ce1c36c6c63 100644 --- a/sys/compat/linux/linux_sysent.c +++ b/sys/compat/linux/linux_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: linux_sysent.c,v 1.24 2000/06/07 14:23:08 niklas Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.25 2000/07/07 02:14:05 jasoni Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.24 2000/06/07 14:11:38 niklas Exp + * created from OpenBSD: syscalls.master,v 1.25 2000/07/07 02:13:40 jasoni Exp */ #include <sys/param.h> @@ -57,7 +57,7 @@ struct sysent linux_sysent[] = { { 1, s(struct linux_sys_break_args), linux_sys_break }, /* 17 = break */ { 0, 0, - sys_nosys }, /* 18 = obsolete ostat */ + linux_sys_ostat }, /* 18 = ostat */ { 3, s(struct compat_43_sys_lseek_args), compat_43_sys_lseek }, /* 19 = lseek */ { 0, 0, @@ -73,25 +73,25 @@ struct sysent linux_sysent[] = { { 1, s(struct linux_sys_stime_args), linux_sys_stime }, /* 25 = stime */ { 0, 0, - sys_nosys }, /* 26 = unimplemented ptrace */ + linux_sys_ptrace }, /* 26 = ptrace */ { 1, s(struct linux_sys_alarm_args), linux_sys_alarm }, /* 27 = alarm */ { 0, 0, - sys_nosys }, /* 28 = obsolete ofstat */ + linux_sys_ofstat }, /* 28 = ofstat */ { 0, 0, linux_sys_pause }, /* 29 = pause */ { 2, s(struct linux_sys_utime_args), linux_sys_utime }, /* 30 = utime */ { 0, 0, - sys_nosys }, /* 31 = unimplemented stty */ + linux_sys_stty }, /* 31 = stty */ { 0, 0, - sys_nosys }, /* 32 = unimplemented gtty */ + linux_sys_gtty }, /* 32 = gtty */ { 2, s(struct linux_sys_access_args), linux_sys_access }, /* 33 = access */ { 1, s(struct linux_sys_nice_args), linux_sys_nice }, /* 34 = nice */ { 0, 0, - sys_nosys }, /* 35 = unimplemented ftime */ + linux_sys_ftime }, /* 35 = ftime */ { 0, 0, sys_sync }, /* 36 = sync */ { 2, s(struct linux_sys_kill_args), @@ -109,7 +109,7 @@ struct sysent linux_sysent[] = { { 1, s(struct linux_sys_times_args), linux_sys_times }, /* 43 = times */ { 0, 0, - sys_nosys }, /* 44 = unimplemented prof */ + linux_sys_prof }, /* 44 = prof */ { 1, s(struct linux_sys_brk_args), linux_sys_brk }, /* 45 = brk */ { 1, s(struct sys_setgid_args), @@ -125,19 +125,19 @@ struct sysent linux_sysent[] = { { 1, s(struct sys_acct_args), sys_acct }, /* 51 = acct */ { 0, 0, - sys_nosys }, /* 52 = unimplemented phys */ + linux_sys_phys }, /* 52 = phys */ { 0, 0, - sys_nosys }, /* 53 = unimplemented lock */ + linux_sys_lock }, /* 53 = lock */ { 3, s(struct linux_sys_ioctl_args), linux_sys_ioctl }, /* 54 = ioctl */ { 3, s(struct linux_sys_fcntl_args), linux_sys_fcntl }, /* 55 = fcntl */ { 0, 0, - sys_nosys }, /* 56 = unimplemented mpx */ + linux_sys_mpx }, /* 56 = mpx */ { 2, s(struct sys_setpgid_args), sys_setpgid }, /* 57 = setpgid */ { 0, 0, - sys_nosys }, /* 58 = unimplemented ulimit */ + linux_sys_ulimit }, /* 58 = ulimit */ { 1, s(struct linux_sys_oldolduname_args), linux_sys_oldolduname }, /* 59 = oldolduname */ { 1, s(struct sys_umask_args), @@ -145,7 +145,7 @@ struct sysent linux_sysent[] = { { 1, s(struct sys_chroot_args), sys_chroot }, /* 61 = chroot */ { 0, 0, - sys_nosys }, /* 62 = unimplemented ustat */ + linux_sys_ustat }, /* 62 = ustat */ { 2, s(struct sys_dup2_args), sys_dup2 }, /* 63 = dup2 */ { 0, 0, @@ -227,12 +227,12 @@ struct sysent linux_sysent[] = { linux_sys_ioperm }, /* 101 = ioperm */ #else { 0, 0, - sys_nosys }, /* 101 = unimplemented ioperm */ + linux_sys_ioperm }, /* 101 = ioperm */ #endif { 2, s(struct linux_sys_socketcall_args), linux_sys_socketcall }, /* 102 = socketcall */ { 0, 0, - sys_nosys }, /* 103 = unimplemented klog */ + linux_sys_klog }, /* 103 = klog */ { 3, s(struct sys_setitimer_args), sys_setitimer }, /* 104 = setitimer */ { 2, s(struct sys_getitimer_args), @@ -250,20 +250,20 @@ struct sysent linux_sysent[] = { linux_sys_iopl }, /* 110 = iopl */ #else { 0, 0, - sys_nosys }, /* 110 = unimplemented iopl */ + linux_sys_iopl }, /* 110 = iopl */ #endif { 0, 0, - sys_nosys }, /* 111 = unimplemented vhangup */ + linux_sys_vhangup }, /* 111 = vhangup */ { 0, 0, - sys_nosys }, /* 112 = unimplemented idle */ + linux_sys_idle }, /* 112 = idle */ { 0, 0, - sys_nosys }, /* 113 = unimplemented vm86 */ + linux_sys_vm86old }, /* 113 = vm86old */ { 4, s(struct linux_sys_wait4_args), linux_sys_wait4 }, /* 114 = wait4 */ { 0, 0, - sys_nosys }, /* 115 = unimplemented swapoff */ + linux_sys_swapoff }, /* 115 = swapoff */ { 0, 0, - sys_nosys }, /* 116 = unimplemented sysinfo */ + linux_sys_sysinfo }, /* 116 = sysinfo */ { 5, s(struct linux_sys_ipc_args), linux_sys_ipc }, /* 117 = ipc */ { 1, s(struct sys_fsync_args), @@ -271,7 +271,7 @@ struct sysent linux_sysent[] = { { 1, s(struct linux_sys_sigreturn_args), linux_sys_sigreturn }, /* 119 = sigreturn */ { 0, 0, - sys_nosys }, /* 120 = unimplemented clone */ + linux_sys_clone }, /* 120 = clone */ { 2, s(struct compat_09_sys_setdomainname_args), compat_09_sys_setdomainname }, /* 121 = setdomainname */ { 1, s(struct linux_sys_uname_args), @@ -281,36 +281,36 @@ struct sysent linux_sysent[] = { linux_sys_modify_ldt }, /* 123 = modify_ldt */ #else { 0, 0, - sys_nosys }, /* 123 = unimplemented modify_ldt */ + linux_sys_modify_ldt }, /* 123 = modify_ldt */ #endif { 0, 0, - sys_nosys }, /* 124 = unimplemented adjtimex */ + linux_sys_adjtimex }, /* 124 = adjtimex */ { 3, s(struct sys_mprotect_args), sys_mprotect }, /* 125 = mprotect */ { 3, s(struct linux_sys_sigprocmask_args), linux_sys_sigprocmask }, /* 126 = sigprocmask */ { 0, 0, - sys_nosys }, /* 127 = unimplemented create_module */ + linux_sys_create_module }, /* 127 = create_module */ { 0, 0, - sys_nosys }, /* 128 = unimplemented init_module */ + linux_sys_init_module }, /* 128 = init_module */ { 0, 0, - sys_nosys }, /* 129 = unimplemented delete_module */ + linux_sys_delete_module }, /* 129 = delete_module */ { 0, 0, - sys_nosys }, /* 130 = unimplemented get_kernel_syms */ + linux_sys_get_kernel_syms }, /* 130 = get_kernel_syms */ { 0, 0, - sys_nosys }, /* 131 = unimplemented quotactl */ + linux_sys_quotactl }, /* 131 = quotactl */ { 1, s(struct linux_sys_getpgid_args), linux_sys_getpgid }, /* 132 = getpgid */ { 1, s(struct sys_fchdir_args), sys_fchdir }, /* 133 = fchdir */ { 0, 0, - sys_nosys }, /* 134 = unimplemented bdflush */ + linux_sys_bdflush }, /* 134 = bdflush */ { 0, 0, - sys_nosys }, /* 135 = unimplemented sysfs */ + linux_sys_sysfs }, /* 135 = sysfs */ { 1, s(struct linux_sys_personality_args), linux_sys_personality }, /* 136 = personality */ { 0, 0, - sys_nosys }, /* 137 = unimplemented afs_syscall */ + linux_sys_afs_syscall }, /* 137 = afs_syscall */ { 1, s(struct linux_sys_setfsuid_args), linux_sys_setfsuid }, /* 138 = setfsuid */ { 0, 0, @@ -340,25 +340,25 @@ struct sysent linux_sysent[] = { { 2, s(struct sys_munlock_args), sys_munlock }, /* 151 = munlock */ { 0, 0, - sys_nosys }, /* 152 = unimplemented mlockall */ + linux_sys_mlockall }, /* 152 = mlockall */ { 0, 0, - sys_nosys }, /* 153 = unimplemented munlockall */ + linux_sys_munlockall }, /* 153 = munlockall */ { 0, 0, - sys_nosys }, /* 154 = unimplemented sched_setparam */ + linux_sys_sched_setparam }, /* 154 = sched_setparam */ { 0, 0, - sys_nosys }, /* 155 = unimplemented sched_getparam */ + linux_sys_sched_getparam }, /* 155 = sched_getparam */ { 0, 0, - sys_nosys }, /* 156 = unimplemented sched_setscheduler */ + linux_sys_sched_setscheduler }, /* 156 = sched_setscheduler */ { 0, 0, - sys_nosys }, /* 157 = unimplemented sched_getscheduler */ + linux_sys_sched_getscheduler }, /* 157 = sched_getscheduler */ { 0, 0, - sys_nosys }, /* 158 = unimplemented sched_yield */ + linux_sys_sched_yield }, /* 158 = sched_yield */ { 0, 0, - sys_nosys }, /* 159 = unimplemented sched_get_priority_max */ + linux_sys_sched_get_priority_max }, /* 159 = sched_get_priority_max */ { 0, 0, - sys_nosys }, /* 160 = unimplemented sched_get_priority_min */ + linux_sys_sched_get_priority_min }, /* 160 = sched_get_priority_min */ { 0, 0, - sys_nosys }, /* 161 = unimplemented sched_rr_get_interval */ + linux_sys_sched_rr_get_interval }, /* 161 = sched_rr_get_interval */ { 2, s(struct sys_nanosleep_args), sys_nanosleep }, /* 162 = nanosleep */ { 4, s(struct linux_sys_mremap_args), @@ -368,19 +368,19 @@ struct sysent linux_sysent[] = { { 3, s(struct linux_sys_getresuid_args), linux_sys_getresuid }, /* 165 = getresuid */ { 0, 0, - sys_nosys }, /* 166 = unimplemented vm86 */ + linux_sys_vm86 }, /* 166 = vm86 */ { 0, 0, - sys_nosys }, /* 167 = unimplemented query_module */ + linux_sys_query_module }, /* 167 = query_module */ { 3, s(struct sys_poll_args), sys_poll }, /* 168 = poll */ { 0, 0, - sys_nosys }, /* 169 = unimplemented nfsservctl */ + linux_sys_nfsservctl }, /* 169 = nfsservctl */ { 3, s(struct linux_sys_setresgid_args), linux_sys_setresgid }, /* 170 = setresgid */ { 3, s(struct linux_sys_getresgid_args), linux_sys_getresgid }, /* 171 = getresgid */ { 0, 0, - sys_nosys }, /* 172 = unimplemented prctl */ + linux_sys_prctl }, /* 172 = prctl */ { 1, s(struct linux_sys_rt_sigreturn_args), linux_sys_rt_sigreturn }, /* 173 = rt_sigreturn */ { 4, s(struct linux_sys_rt_sigaction_args), @@ -390,9 +390,9 @@ struct sysent linux_sysent[] = { { 2, s(struct linux_sys_rt_sigpending_args), linux_sys_rt_sigpending }, /* 176 = rt_sigpending */ { 0, 0, - sys_nosys }, /* 177 = unimplemented rt_sigtimedwait */ + linux_sys_rt_sigtimedwait }, /* 177 = rt_sigtimedwait */ { 0, 0, - sys_nosys }, /* 178 = unimplemented rt_queueinfo */ + linux_sys_rt_queueinfo }, /* 178 = rt_queueinfo */ { 2, s(struct linux_sys_rt_sigsuspend_args), linux_sys_rt_sigsuspend }, /* 179 = rt_sigsuspend */ { 4, s(struct linux_sys_pread_args), @@ -404,20 +404,32 @@ struct sysent linux_sysent[] = { { 2, s(struct linux_sys_getcwd_args), linux_sys_getcwd }, /* 183 = getcwd */ { 0, 0, - sys_nosys }, /* 184 = unimplemented capget */ + linux_sys_capget }, /* 184 = capget */ { 0, 0, - sys_nosys }, /* 185 = unimplemented capset */ + linux_sys_capset }, /* 185 = capset */ { 2, s(struct linux_sys_sigaltstack_args), linux_sys_sigaltstack }, /* 186 = sigaltstack */ { 0, 0, - sys_nosys }, /* 187 = unimplemented sendfile */ + linux_sys_sendfile }, /* 187 = sendfile */ { 0, 0, - sys_nosys }, /* 188 = unimplemented getpmsg */ + linux_sys_getpmsg }, /* 188 = getpmsg */ { 0, 0, - sys_nosys }, /* 189 = unimplemented putpmsg */ + linux_sys_putpmsg }, /* 189 = putpmsg */ { 0, 0, sys_vfork }, /* 190 = vfork */ { 2, s(struct linux_sys_ugetrlimit_args), linux_sys_ugetrlimit }, /* 191 = ugetrlimit */ + { 0, 0, + linux_sys_mmap2 }, /* 192 = mmap2 */ + { 0, 0, + linux_sys_truncate64 }, /* 193 = truncate64 */ + { 0, 0, + linux_sys_ftruncate64 }, /* 194 = ftruncate64 */ + { 0, 0, + linux_sys_stat64 }, /* 195 = stat64 */ + { 0, 0, + linux_sys_lstat64 }, /* 196 = lstat64 */ + { 0, 0, + linux_sys_fstat64 }, /* 197 = fstat64 */ }; |