diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-28 21:34:07 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-28 21:34:07 +0000 |
commit | daa250fc5a67ab0d35076b47e3072aae3cf0a852 (patch) | |
tree | f4d83e7ae92ce54bd3e26586265d318c7555dae8 /sys | |
parent | c106c73dfd41f77fe797883162069614720a47f9 (diff) |
sync mquery.
Diffstat (limited to 'sys')
-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 215842aa8c5..a1c40454deb 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.63 2003/04/25 20:34:22 drahn Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.64 2003/04/28 21:34:06 drahn Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.55 2003/04/25 20:32:07 drahn Exp + * created from; OpenBSD: syscalls.master,v 1.56 2003/04/28 21:32:08 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 44417b1081c..52897c46c72 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.63 2003/04/25 20:34:22 drahn Exp $ */ +/* $OpenBSD: syscalls.c,v 1.64 2003/04/28 21:34:06 drahn Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.55 2003/04/25 20:32:07 drahn Exp + * created from; OpenBSD: syscalls.master,v 1.56 2003/04/28 21:32:08 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 2ebcd9b911d..7c8fa4412d8 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.62 2003/04/25 20:34:22 drahn Exp $ */ +/* $OpenBSD: syscall.h,v 1.63 2003/04/28 21:34:06 drahn Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.55 2003/04/25 20:32:07 drahn Exp + * created from; OpenBSD: syscalls.master,v 1.56 2003/04/28 21:32:08 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 7c8c3b5a584..9033487387b 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.64 2003/04/25 20:34:22 drahn Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.65 2003/04/28 21:34:06 drahn Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.55 2003/04/25 20:32:07 drahn Exp + * created from; OpenBSD: syscalls.master,v 1.56 2003/04/28 21:32:08 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 *); |