diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2004-01-12 18:08:52 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2004-01-12 18:08:52 +0000 |
commit | c657ec19561fb889b4e0f5f109f563b745760f8e (patch) | |
tree | dca628fdf744071fdb84e3ee6a7d4ddaa8d877b7 | |
parent | 861dfb10bccb89b85bd11a3b64d5b847e874faa0 (diff) |
sync
-rw-r--r-- | sys/kern/init_sysent.c | 6 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 5 | ||||
-rw-r--r-- | sys/sys/syscall.h | 9 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 9 |
4 files changed, 20 insertions, 9 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index c7766d2bee2..e937ed7b5a5 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.73 2003/12/31 00:13:57 millert Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.74 2004/01/12 18:08:51 tedu Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.65 2003/12/31 00:13:24 millert Exp + * created from; OpenBSD: syscalls.master,v 1.66 2004/01/12 18:06:51 tedu Exp */ #include <sys/param.h> @@ -752,5 +752,7 @@ struct sysent sysent[] = { sys_nosys }, /* 285 = obsolete sys_omquery */ { 7, s(struct sys_mquery_args), sys_mquery }, /* 286 = mquery */ + { 1, s(struct sys_closefrom_args), + sys_closefrom }, /* 287 = closefrom */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 9dcad705709..e7b7820ffdb 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.73 2003/12/31 00:13:57 millert Exp $ */ +/* $OpenBSD: syscalls.c,v 1.74 2004/01/12 18:08:51 tedu Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.65 2003/12/31 00:13:24 millert Exp + * created from; OpenBSD: syscalls.master,v 1.66 2004/01/12 18:06:51 tedu Exp */ char *syscallnames[] = { @@ -382,4 +382,5 @@ char *syscallnames[] = { "setresgid", /* 284 = setresgid */ "#285 (obsolete sys_omquery)", /* 285 = obsolete sys_omquery */ "mquery", /* 286 = mquery */ + "closefrom", /* 287 = closefrom */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 4e8919071aa..57b597db5d6 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.72 2003/12/31 00:13:57 millert Exp $ */ +/* $OpenBSD: syscall.h,v 1.73 2004/01/12 18:08:51 tedu Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.65 2003/12/31 00:13:24 millert Exp + * created from; OpenBSD: syscalls.master,v 1.66 2004/01/12 18:06:51 tedu Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -670,4 +670,7 @@ /* syscall: "mquery" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */ #define SYS_mquery 286 -#define SYS_MAXSYSCALL 287 +/* syscall: "closefrom" ret: "int" args: "int" */ +#define SYS_closefrom 287 + +#define SYS_MAXSYSCALL 288 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 9208d4b76e6..1192b573e2e 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.74 2003/12/31 00:13:57 millert Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.75 2004/01/12 18:08:51 tedu Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.65 2003/12/31 00:13:24 millert Exp + * created from; OpenBSD: syscalls.master,v 1.66 2004/01/12 18:06:51 tedu Exp */ #ifdef syscallarg @@ -1213,6 +1213,10 @@ struct sys_mquery_args { syscallarg(off_t) pos; }; +struct sys_closefrom_args { + syscallarg(int) fd; +}; + /* * System call prototypes. */ @@ -1503,3 +1507,4 @@ 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_mquery(struct proc *, void *, register_t *); +int sys_closefrom(struct proc *, void *, register_t *); |