diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linux/linux_syscall.h | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 11 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscalls.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_sysent.c | 8 | ||||
-rw-r--r-- | sys/kern/init_sysent.c | 33 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 26 | ||||
-rw-r--r-- | sys/sys/syscall.h | 19 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 52 |
8 files changed, 41 insertions, 116 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index ce406a2c5a2..cd370c19d5f 100644 --- a/sys/compat/linux/linux_syscall.h +++ b/sys/compat/linux/linux_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: linux_syscall.h,v 1.61 2011/07/08 05:03:42 matthew Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.62 2011/07/08 19:19:59 tedu Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.58 2011/07/08 05:01:27 matthew Exp + * created from OpenBSD: syscalls.master,v 1.59 2011/07/08 19:19:20 tedu Exp */ /* syscall: "syscall" ret: "int" args: */ diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 930a3c1599d..ab979094176 100644 --- a/sys/compat/linux/linux_syscallargs.h +++ b/sys/compat/linux/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: linux_syscallargs.h,v 1.63 2011/07/08 05:03:42 matthew Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.64 2011/07/08 19:19:59 tedu Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.58 2011/07/08 05:01:27 matthew Exp + * created from OpenBSD: syscalls.master,v 1.59 2011/07/08 19:19:20 tedu Exp */ #ifdef syscallarg @@ -332,6 +332,11 @@ struct linux_sys_clone_args { syscallarg(void *) child_tidptr; }; +struct linux_sys_setdomainname_args { + syscallarg(char *) name; + syscallarg(int) len; +}; + struct linux_sys_uname_args { syscallarg(struct linux_utsname *) up; }; @@ -720,7 +725,7 @@ int linux_sys_ipc(struct proc *, void *, register_t *); int sys_fsync(struct proc *, void *, register_t *); int linux_sys_sigreturn(struct proc *, void *, register_t *); int linux_sys_clone(struct proc *, void *, register_t *); -int compat_09_sys_setdomainname(struct proc *, void *, register_t *); +int linux_sys_setdomainname(struct proc *, void *, register_t *); int linux_sys_uname(struct proc *, void *, register_t *); #ifdef __i386__ int linux_sys_modify_ldt(struct proc *, void *, register_t *); diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 0da4957ff4c..17b13f7f843 100644 --- a/sys/compat/linux/linux_syscalls.c +++ b/sys/compat/linux/linux_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: linux_syscalls.c,v 1.61 2011/07/08 05:03:42 matthew Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.62 2011/07/08 19:19:59 tedu Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.58 2011/07/08 05:01:27 matthew Exp + * created from OpenBSD: syscalls.master,v 1.59 2011/07/08 19:19:20 tedu Exp */ char *linux_syscallnames[] = { diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index 90088afee05..76126c31a36 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.62 2011/07/08 05:03:42 matthew Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.63 2011/07/08 19:19:59 tedu Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.58 2011/07/08 05:01:27 matthew Exp + * created from OpenBSD: syscalls.master,v 1.59 2011/07/08 19:19:20 tedu Exp */ #include <sys/param.h> @@ -283,8 +283,8 @@ struct sysent linux_sysent[] = { linux_sys_sigreturn }, /* 119 = sigreturn */ { 5, s(struct linux_sys_clone_args), 0, linux_sys_clone }, /* 120 = clone */ - { 2, s(struct compat_09_sys_setdomainname_args), 0, - compat_09_sys_setdomainname }, /* 121 = setdomainname */ + { 2, s(struct linux_sys_setdomainname_args), 0, + linux_sys_setdomainname }, /* 121 = setdomainname */ { 1, s(struct linux_sys_uname_args), 0, linux_sys_uname }, /* 122 = uname */ #ifdef __i386__ diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index e5f221b986a..25594a69c65 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.124 2011/07/08 05:02:49 matthew Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.125 2011/07/08 19:19:59 tedu Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.112 2011/07/08 05:01:27 matthew Exp + * created from; OpenBSD: syscalls.master,v 1.113 2011/07/08 19:19:20 tedu Exp */ #include <sys/param.h> @@ -393,10 +393,10 @@ struct sysent sysent[] = { sys_nosys }, /* 160 = unimplemented */ { 2, s(struct sys_getfh_args), 0, sys_getfh }, /* 161 = getfh */ - { 2, s(struct compat_09_sys_getdomainname_args), 0, - compat_09(sys_getdomainname) }, /* 162 = compat_09 ogetdomainname */ - { 2, s(struct compat_09_sys_setdomainname_args), 0, - compat_09(sys_setdomainname) }, /* 163 = compat_09 osetdomainname */ + { 0, 0, 0, + sys_nosys }, /* 162 = obsolete ogetdomainname */ + { 0, 0, 0, + sys_nosys }, /* 163 = obsolete osetdomainname */ { 0, 0, 0, sys_nosys }, /* 164 = unimplemented ouname */ { 2, s(struct sys_sysarch_args), 0, @@ -407,27 +407,12 @@ struct sysent sysent[] = { sys_nosys }, /* 167 = unimplemented */ { 0, 0, 0, sys_nosys }, /* 168 = unimplemented */ -#if defined(SYSVSEM) && !defined(__LP64__) - { 5, s(struct compat_10_sys_semsys_args), 0, - compat_10(sys_semsys) }, /* 169 = compat_10 osemsys */ -#else { 0, 0, 0, - sys_nosys }, /* 169 = unimplemented 1.0 semsys */ -#endif -#if defined(SYSVMSG) && !defined(__LP64__) - { 6, s(struct compat_10_sys_msgsys_args), 0, - compat_10(sys_msgsys) }, /* 170 = compat_10 omsgsys */ -#else + sys_nosys }, /* 169 = obsolete semsys10 */ { 0, 0, 0, - sys_nosys }, /* 170 = unimplemented 1.0 msgsys */ -#endif -#if defined(SYSVSHM) && !defined(__LP64__) - { 4, s(struct compat_10_sys_shmsys_args), 0, - compat_10(sys_shmsys) }, /* 171 = compat_10 oshmsys */ -#else + sys_nosys }, /* 170 = obsolete msgsys10 */ { 0, 0, 0, - sys_nosys }, /* 171 = unimplemented 1.0 shmsys */ -#endif + sys_nosys }, /* 171 = obsolete shmsys10 */ { 0, 0, 0, sys_nosys }, /* 172 = unimplemented */ { 5, s(struct sys_pread_args), 0, diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 44934706c52..f1a10b87262 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.125 2011/07/08 05:02:49 matthew Exp $ */ +/* $OpenBSD: syscalls.c,v 1.126 2011/07/08 19:19:59 tedu Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.112 2011/07/08 05:01:27 matthew Exp + * created from; OpenBSD: syscalls.master,v 1.113 2011/07/08 19:19:20 tedu Exp */ char *syscallnames[] = { @@ -186,28 +186,16 @@ char *syscallnames[] = { "#159 (unimplemented)", /* 159 = unimplemented */ "#160 (unimplemented)", /* 160 = unimplemented */ "getfh", /* 161 = getfh */ - "compat_09_ogetdomainname", /* 162 = compat_09 ogetdomainname */ - "compat_09_osetdomainname", /* 163 = compat_09 osetdomainname */ + "#162 (obsolete ogetdomainname)", /* 162 = obsolete ogetdomainname */ + "#163 (obsolete osetdomainname)", /* 163 = obsolete osetdomainname */ "#164 (unimplemented ouname)", /* 164 = unimplemented ouname */ "sysarch", /* 165 = sysarch */ "#166 (unimplemented)", /* 166 = unimplemented */ "#167 (unimplemented)", /* 167 = unimplemented */ "#168 (unimplemented)", /* 168 = unimplemented */ -#if defined(SYSVSEM) && !defined(__LP64__) - "compat_10_osemsys", /* 169 = compat_10 osemsys */ -#else - "#169 (unimplemented 1.0 semsys)", /* 169 = unimplemented 1.0 semsys */ -#endif -#if defined(SYSVMSG) && !defined(__LP64__) - "compat_10_omsgsys", /* 170 = compat_10 omsgsys */ -#else - "#170 (unimplemented 1.0 msgsys)", /* 170 = unimplemented 1.0 msgsys */ -#endif -#if defined(SYSVSHM) && !defined(__LP64__) - "compat_10_oshmsys", /* 171 = compat_10 oshmsys */ -#else - "#171 (unimplemented 1.0 shmsys)", /* 171 = unimplemented 1.0 shmsys */ -#endif + "#169 (obsolete semsys10)", /* 169 = obsolete semsys10 */ + "#170 (obsolete msgsys10)", /* 170 = obsolete msgsys10 */ + "#171 (obsolete shmsys10)", /* 171 = obsolete shmsys10 */ "#172 (unimplemented)", /* 172 = unimplemented */ "pread", /* 173 = pread */ "pwrite", /* 174 = pwrite */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 67ad9aeaf96..20d02ff4249 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.124 2011/07/08 05:02:49 matthew Exp $ */ +/* $OpenBSD: syscall.h,v 1.125 2011/07/08 19:19:59 tedu Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.112 2011/07/08 05:01:27 matthew Exp + * created from; OpenBSD: syscalls.master,v 1.113 2011/07/08 19:19:20 tedu Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -376,19 +376,14 @@ /* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */ #define SYS_getfh 161 - /* 162 is compat_09 ogetdomainname */ - - /* 163 is compat_09 osetdomainname */ - + /* 162 is obsolete ogetdomainname */ + /* 163 is obsolete osetdomainname */ /* syscall: "sysarch" ret: "int" args: "int" "void *" */ #define SYS_sysarch 165 - /* 169 is compat_10 osemsys */ - - /* 170 is compat_10 omsgsys */ - - /* 171 is compat_10 oshmsys */ - + /* 169 is obsolete semsys10 */ + /* 170 is obsolete msgsys10 */ + /* 171 is obsolete shmsys10 */ /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */ #define SYS_pread 173 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 977cbbac7ce..00a3124f8ac 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.126 2011/07/08 05:02:49 matthew Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.127 2011/07/08 19:19:59 tedu Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.112 2011/07/08 05:01:27 matthew Exp + * created from; OpenBSD: syscalls.master,v 1.113 2011/07/08 19:19:20 tedu Exp */ #ifdef syscallarg @@ -545,45 +545,11 @@ struct sys_getfh_args { syscallarg(fhandle_t *) fhp; }; -struct compat_09_sys_getdomainname_args { - syscallarg(char *) domainname; - syscallarg(int) len; -}; - -struct compat_09_sys_setdomainname_args { - syscallarg(char *) domainname; - syscallarg(int) len; -}; - struct sys_sysarch_args { syscallarg(int) op; syscallarg(void *) parms; }; -struct compat_10_sys_semsys_args { - syscallarg(int) which; - syscallarg(int) a2; - syscallarg(int) a3; - syscallarg(int) a4; - syscallarg(int) a5; -}; - -struct compat_10_sys_msgsys_args { - syscallarg(int) which; - syscallarg(int) a2; - syscallarg(int) a3; - syscallarg(int) a4; - syscallarg(int) a5; - syscallarg(int) a6; -}; - -struct compat_10_sys_shmsys_args { - syscallarg(int) which; - syscallarg(int) a2; - syscallarg(int) a3; - syscallarg(int) a4; -}; - struct sys_pread_args { syscallarg(int) fd; syscallarg(void *) buf; @@ -1237,21 +1203,7 @@ int sys_nfssvc(struct proc *, void *, register_t *); int compat_25_sys_statfs(struct proc *, void *, register_t *); int compat_25_sys_fstatfs(struct proc *, void *, register_t *); int sys_getfh(struct proc *, void *, register_t *); -int compat_09_sys_getdomainname(struct proc *, void *, register_t *); -int compat_09_sys_setdomainname(struct proc *, void *, register_t *); int sys_sysarch(struct proc *, void *, register_t *); -#if defined(SYSVSEM) && !defined(__LP64__) -int compat_10_sys_semsys(struct proc *, void *, register_t *); -#else -#endif -#if defined(SYSVMSG) && !defined(__LP64__) -int compat_10_sys_msgsys(struct proc *, void *, register_t *); -#else -#endif -#if defined(SYSVSHM) && !defined(__LP64__) -int compat_10_sys_shmsys(struct proc *, void *, register_t *); -#else -#endif int sys_pread(struct proc *, void *, register_t *); int sys_pwrite(struct proc *, void *, register_t *); int sys_setgid(struct proc *, void *, register_t *); |