diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-25 18:40:47 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-25 18:40:47 +0000 |
commit | 97fb7b52b93ba475083e8f8bbcbb4f8ec8a33b93 (patch) | |
tree | e21633b3582b2ab137f58b10501f8edab9149730 | |
parent | 8841d81531b38e0ec365213db0159742de302e6a (diff) |
sync
-rw-r--r-- | sys/kern/init_sysent.c | 10 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 7 | ||||
-rw-r--r-- | sys/sys/syscall.h | 13 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 17 |
4 files changed, 32 insertions, 15 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index dd66ef15e61..7d28a7ed089 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.61 2003/04/14 06:28:29 deraadt Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.62 2003/04/25 18:40:46 drahn Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.53 2003/04/14 04:53:50 art Exp + * created from; OpenBSD: syscalls.master,v 1.54 2003/04/25 18:30:18 drahn Exp */ #include <sys/param.h> @@ -746,7 +746,9 @@ struct sysent sysent[] = { sys_getresgid }, /* 283 = getresgid */ { 3, s(struct sys_setresgid_args), sys_setresgid }, /* 284 = setresgid */ - { 5, s(struct sys_mquery_args), - sys_mquery }, /* 285 = mquery */ + { 5, s(struct sys_omquery_args), + sys_omquery }, /* 285 = omquery */ + { 7, s(struct sys_mquery_args), + sys_mquery }, /* 286 = mquery */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 7324118d21b..6b6604ee929 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.61 2003/04/14 06:28:29 deraadt Exp $ */ +/* $OpenBSD: syscalls.c,v 1.62 2003/04/25 18:40:46 drahn Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.53 2003/04/14 04:53:50 art Exp + * created from; OpenBSD: syscalls.master,v 1.54 2003/04/25 18:30:18 drahn Exp */ char *syscallnames[] = { @@ -380,5 +380,6 @@ char *syscallnames[] = { "setresuid", /* 282 = setresuid */ "getresgid", /* 283 = getresgid */ "setresgid", /* 284 = setresgid */ - "mquery", /* 285 = mquery */ + "omquery", /* 285 = omquery */ + "mquery", /* 286 = mquery */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index d41034e2e21..287e29b8904 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.60 2003/04/14 06:28:29 deraadt Exp $ */ +/* $OpenBSD: syscall.h,v 1.61 2003/04/25 18:40:46 drahn Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.53 2003/04/14 04:53:50 art Exp + * created from; OpenBSD: syscalls.master,v 1.54 2003/04/25 18:30:18 drahn Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -668,7 +668,10 @@ /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */ #define SYS_setresgid 284 -/* syscall: "mquery" ret: "int" args: "int" "void **" "size_t" "int" "off_t" */ -#define SYS_mquery 285 +/* syscall: "omquery" ret: "int" args: "int" "void **" "size_t" "int" "off_t" */ +#define SYS_omquery 285 -#define SYS_MAXSYSCALL 286 +/* syscall: "mquery" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */ +#define SYS_mquery 286 + +#define SYS_MAXSYSCALL 287 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 7d986ea661d..fa3dbebf657 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.62 2003/04/14 06:28:29 deraadt Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.63 2003/04/25 18:40:46 drahn Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.53 2003/04/14 04:53:50 art Exp + * created from; OpenBSD: syscalls.master,v 1.54 2003/04/25 18:30:18 drahn Exp */ #ifdef syscallarg @@ -1203,7 +1203,7 @@ struct sys_setresgid_args { syscallarg(gid_t) sgid; }; -struct sys_mquery_args { +struct sys_omquery_args { syscallarg(int) flags; syscallarg(void **) addr; syscallarg(size_t) size; @@ -1211,6 +1211,16 @@ struct sys_mquery_args { syscallarg(off_t) off; }; +struct sys_mquery_args { + syscallarg(void *) addr; + syscallarg(size_t) len; + syscallarg(int) prot; + syscallarg(int) flags; + syscallarg(int) fd; + syscallarg(long) pad; + syscallarg(off_t) pos; +}; + /* * System call prototypes. */ @@ -1500,4 +1510,5 @@ int sys_getresuid(struct proc *, void *, register_t *); int sys_setresuid(struct proc *, void *, register_t *); int sys_getresgid(struct proc *, void *, register_t *); int sys_setresgid(struct proc *, void *, register_t *); +int sys_omquery(struct proc *, void *, register_t *); int sys_mquery(struct proc *, void *, register_t *); |