summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_sysent.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-08-25 11:19:03 +0000
committermarcel <marcel@FreeBSD.org>1999-08-25 11:19:03 +0000
commitfb2dacbbb4b1a6aca19ec6a0f0c9f3057e7fde1d (patch)
tree5ad0e54e16c816f3f37d039997a938d9cfd5b15d /sys/i386/linux/linux_sysent.c
parentadfc64bd57f1536273a6c0a7290590afbc66e363 (diff)
downloadFreeBSD-src-fb2dacbbb4b1a6aca19ec6a0f0c9f3057e7fde1d.zip
FreeBSD-src-fb2dacbbb4b1a6aca19ec6a0f0c9f3057e7fde1d.tar.gz
Change all UNIMPL syscalls to STD and add them to linux_dummy. Now we always
know if and when an unimplemented or obsoleted syscall is being used. Make the message more end-user friendly. And as long as we're here, rename some unimplemeted syscalls (linux_phys -> linux_umount2, linux_vm86 -> linux_vm86old, linux_new_vm86 -> linux_vm86). Change prototype for linux_newuname from `struct linux_newuname_t *' into `struct linux_new_utsname *'. This change is reflected in linux.h and linux_misc.c.
Diffstat (limited to 'sys/i386/linux/linux_sysent.c')
-rw-r--r--sys/i386/linux/linux_sysent.c66
1 files changed, 33 insertions, 33 deletions
diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c
index a98b32f..26a18b9 100644
--- a/sys/i386/linux/linux_sysent.c
+++ b/sys/i386/linux/linux_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.22 1999/08/16 11:47:21 marcel Exp
+ * created from Id: syscalls.master,v 1.23 1999/08/25 11:17:36 marcel Exp
*/
#include "opt_compat.h"
@@ -66,14 +66,14 @@ struct sysent linux_sysent[] = {
{ 0, (sy_call_t *)geteuid }, /* 49 = geteuid */
{ 0, (sy_call_t *)getegid }, /* 50 = getegid */
{ 1, (sy_call_t *)acct }, /* 51 = acct */
- { 0, (sy_call_t *)linux_phys }, /* 52 = linux_phys */
+ { 0, (sy_call_t *)linux_umount2 }, /* 52 = linux_umount2 */
{ 0, (sy_call_t *)linux_lock }, /* 53 = linux_lock */
{ 3, (sy_call_t *)linux_ioctl }, /* 54 = linux_ioctl */
{ 3, (sy_call_t *)linux_fcntl }, /* 55 = linux_fcntl */
{ 0, (sy_call_t *)linux_mpx }, /* 56 = linux_mpx */
{ 2, (sy_call_t *)setpgid }, /* 57 = setpgid */
{ 0, (sy_call_t *)linux_ulimit }, /* 58 = linux_ulimit */
- { 1, (sy_call_t *)linux_olduname }, /* 59 = linux_olduname */
+ { 0, (sy_call_t *)linux_olduname }, /* 59 = linux_olduname */
{ 1, (sy_call_t *)umask }, /* 60 = umask */
{ 1, (sy_call_t *)chroot }, /* 61 = chroot */
{ 0, (sy_call_t *)linux_ustat }, /* 62 = linux_ustat */
@@ -123,11 +123,11 @@ struct sysent linux_sysent[] = {
{ 2, (sy_call_t *)linux_newstat }, /* 106 = linux_newstat */
{ 2, (sy_call_t *)linux_newlstat }, /* 107 = linux_newlstat */
{ 2, (sy_call_t *)linux_newfstat }, /* 108 = linux_newfstat */
- { 1, (sy_call_t *)linux_uname }, /* 109 = linux_uname */
+ { 0, (sy_call_t *)linux_uname }, /* 109 = linux_uname */
{ 1, (sy_call_t *)linux_iopl }, /* 110 = linux_iopl */
{ 0, (sy_call_t *)linux_vhangup }, /* 111 = linux_vhangup */
{ 0, (sy_call_t *)linux_idle }, /* 112 = linux_idle */
- { 0, (sy_call_t *)linux_vm86 }, /* 113 = linux_vm86 */
+ { 0, (sy_call_t *)linux_vm86old }, /* 113 = linux_vm86old */
{ 4, (sy_call_t *)linux_wait4 }, /* 114 = linux_wait4 */
{ 0, (sy_call_t *)linux_swapoff }, /* 115 = linux_swapoff */
{ 0, (sy_call_t *)linux_sysinfo }, /* 116 = linux_sysinfo */
@@ -149,11 +149,11 @@ struct sysent linux_sysent[] = {
{ 1, (sy_call_t *)linux_getpgid }, /* 132 = linux_getpgid */
{ 1, (sy_call_t *)fchdir }, /* 133 = fchdir */
{ 0, (sy_call_t *)linux_bdflush }, /* 134 = linux_bdflush */
- { 0, (sy_call_t *)nosys }, /* 135 = sysfs */
+ { 3, (sy_call_t *)linux_sysfs }, /* 135 = linux_sysfs */
{ 1, (sy_call_t *)linux_personality }, /* 136 = linux_personality */
- { 0, (sy_call_t *)nosys }, /* 137 = afs_syscall */
- { 0, (sy_call_t *)nosys }, /* 138 = setfsuid */
- { 0, (sy_call_t *)nosys }, /* 139 = getfsuid */
+ { 0, (sy_call_t *)linux_afs_syscall }, /* 137 = linux_afs_syscall */
+ { 1, (sy_call_t *)linux_setfsuid }, /* 138 = linux_setfsuid */
+ { 1, (sy_call_t *)linux_setfsgid }, /* 139 = linux_setfsgid */
{ 5, (sy_call_t *)linux_llseek }, /* 140 = linux_llseek */
{ 3, (sy_call_t *)linux_getdents }, /* 141 = linux_getdents */
{ 5, (sy_call_t *)linux_newselect }, /* 142 = linux_newselect */
@@ -161,9 +161,9 @@ struct sysent linux_sysent[] = {
{ 3, (sy_call_t *)linux_msync }, /* 144 = linux_msync */
{ 3, (sy_call_t *)readv }, /* 145 = readv */
{ 3, (sy_call_t *)writev }, /* 146 = writev */
- { 0, (sy_call_t *)nosys }, /* 147 = getsid */
- { 0, (sy_call_t *)nosys }, /* 148 = fdatasync */
- { 0, (sy_call_t *)nosys }, /* 149 = _sysctl */
+ { 1, (sy_call_t *)linux_getsid }, /* 147 = linux_getsid */
+ { 1, (sy_call_t *)linux_fdatasync }, /* 148 = linux_fdatasync */
+ { 0, (sy_call_t *)linux_sysctl }, /* 149 = linux_sysctl */
{ 2, (sy_call_t *)mlock }, /* 150 = mlock */
{ 2, (sy_call_t *)munlock }, /* 151 = munlock */
{ 1, (sy_call_t *)mlockall }, /* 152 = mlockall */
@@ -178,31 +178,31 @@ struct sysent linux_sysent[] = {
{ 2, (sy_call_t *)sched_rr_get_interval }, /* 161 = sched_rr_get_interval */
{ 2, (sy_call_t *)nanosleep }, /* 162 = nanosleep */
{ 4, (sy_call_t *)linux_mremap }, /* 163 = linux_mremap */
- { 0, (sy_call_t *)nosys }, /* 164 = setresuid */
- { 0, (sy_call_t *)nosys }, /* 165 = getresuid */
- { 0, (sy_call_t *)nosys }, /* 166 = new_vm86 */
- { 0, (sy_call_t *)nosys }, /* 167 = query_module */
+ { 3, (sy_call_t *)linux_setresuid }, /* 164 = linux_setresuid */
+ { 3, (sy_call_t *)linux_getresuid }, /* 165 = linux_getresuid */
+ { 0, (sy_call_t *)linux_vm86 }, /* 166 = linux_vm86 */
+ { 0, (sy_call_t *)linux_query_module }, /* 167 = linux_query_module */
{ 3, (sy_call_t *)poll }, /* 168 = poll */
- { 0, (sy_call_t *)nosys }, /* 169 = nfsservctl */
- { 0, (sy_call_t *)nosys }, /* 170 = setresgid */
- { 0, (sy_call_t *)nosys }, /* 171 = getresgid */
- { 0, (sy_call_t *)nosys }, /* 172 = prctl */
- { 0, (sy_call_t *)nosys }, /* 173 = rt_sigreturn */
+ { 0, (sy_call_t *)linux_nfsservctl }, /* 169 = linux_nfsservctl */
+ { 0, (sy_call_t *)linux_setresgid }, /* 170 = linux_setresgid */
+ { 0, (sy_call_t *)linux_getresgid }, /* 171 = linux_getresgid */
+ { 0, (sy_call_t *)linux_prctl }, /* 172 = linux_prctl */
+ { 0, (sy_call_t *)linux_rt_sigreturn }, /* 173 = linux_rt_sigreturn */
{ 4, (sy_call_t *)linux_rt_sigaction }, /* 174 = linux_rt_sigaction */
{ 4, (sy_call_t *)linux_rt_sigprocmask }, /* 175 = linux_rt_sigprocmask */
- { 0, (sy_call_t *)nosys }, /* 176 = rt_sigpending */
- { 0, (sy_call_t *)nosys }, /* 177 = rt_sigtimedwait */
- { 0, (sy_call_t *)nosys }, /* 178 = rt_sigqueueinfo */
- { 0, (sy_call_t *)nosys }, /* 179 = rt_sigsuspend */
- { 0, (sy_call_t *)nosys }, /* 180 = pread */
- { 0, (sy_call_t *)nosys }, /* 181 = pwrite */
+ { 0, (sy_call_t *)linux_rt_sigpending }, /* 176 = linux_rt_sigpending */
+ { 0, (sy_call_t *)linux_rt_sigtimedwait }, /* 177 = linux_rt_sigtimedwait */
+ { 0, (sy_call_t *)linux_rt_sigqueueinfo }, /* 178 = linux_rt_sigqueueinfo */
+ { 0, (sy_call_t *)linux_rt_sigsuspend }, /* 179 = linux_rt_sigsuspend */
+ { 0, (sy_call_t *)linux_pread }, /* 180 = linux_pread */
+ { 0, (sy_call_t *)linux_pwrite }, /* 181 = linux_pwrite */
{ 3, (sy_call_t *)linux_chown }, /* 182 = linux_chown */
{ 2, (sy_call_t *)linux_getcwd }, /* 183 = linux_getcwd */
- { 0, (sy_call_t *)nosys }, /* 184 = capget */
- { 0, (sy_call_t *)nosys }, /* 185 = capset */
- { 0, (sy_call_t *)nosys }, /* 186 = sigaltstack */
- { 0, (sy_call_t *)nosys }, /* 187 = sendfile */
- { 0, (sy_call_t *)nosys }, /* 188 = getpmsg */
- { 0, (sy_call_t *)nosys }, /* 189 = putpmsg */
+ { 0, (sy_call_t *)linux_capget }, /* 184 = linux_capget */
+ { 0, (sy_call_t *)linux_capset }, /* 185 = linux_capset */
+ { 0, (sy_call_t *)linux_sigaltstack }, /* 186 = linux_sigaltstack */
+ { 0, (sy_call_t *)linux_sendfile }, /* 187 = linux_sendfile */
+ { 0, (sy_call_t *)linux_getpmsg }, /* 188 = linux_getpmsg */
+ { 0, (sy_call_t *)linux_putpmsg }, /* 189 = linux_putpmsg */
{ 0, (sy_call_t *)linux_vfork }, /* 190 = linux_vfork */
};
OpenPOWER on IntegriCloud