diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-04-28 08:39:33 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-04-28 08:39:33 +0000 |
commit | 0bc3ec291b88145e5418749be8ab7a79c615cccc (patch) | |
tree | 74d45281dcffbc527e3f0715f5a545a83a878d73 /sys | |
parent | 0bdb047ec5670145e985e420e3ba4595992b9bff (diff) |
Regen
Diffstat (limited to 'sys')
-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 | 10 |
4 files changed, 21 insertions, 9 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index b144cba4149..1ed5d9d9f52 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.93 2005/12/30 04:06:28 tedu Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.94 2006/04/28 08:39:32 pedro Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.81 2005/12/30 04:02:17 tedu Exp + * created from; OpenBSD: syscalls.master,v 1.82 2006/04/28 08:34:31 pedro Exp */ #include <sys/param.h> @@ -818,5 +818,7 @@ struct sysent sysent[] = { { 0, 0, sys_nosys }, /* 303 = unimplemented */ #endif + { 2, s(struct sys___getcwd_args), + sys___getcwd }, /* 304 = __getcwd */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index b9b8f36f69c..010908b505f 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.94 2005/12/30 04:06:28 tedu Exp $ */ +/* $OpenBSD: syscalls.c,v 1.95 2006/04/28 08:39:32 pedro Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.81 2005/12/30 04:02:17 tedu Exp + * created from; OpenBSD: syscalls.master,v 1.82 2006/04/28 08:34:31 pedro Exp */ char *syscallnames[] = { @@ -421,4 +421,5 @@ char *syscallnames[] = { "#302 (unimplemented)", /* 302 = unimplemented */ "#303 (unimplemented)", /* 303 = unimplemented */ #endif + "__getcwd", /* 304 = __getcwd */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 8051bed403b..ad8121a55ca 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.92 2005/12/30 04:06:28 tedu Exp $ */ +/* $OpenBSD: syscall.h,v 1.93 2006/04/28 08:39:32 pedro Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.81 2005/12/30 04:02:17 tedu Exp + * created from; OpenBSD: syscalls.master,v 1.82 2006/04/28 08:34:31 pedro Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -688,4 +688,7 @@ /* syscall: "thrsigdivert" ret: "int" args: "sigset_t" */ #define SYS_thrsigdivert 303 -#define SYS_MAXSYSCALL 304 +/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */ +#define SYS___getcwd 304 + +#define SYS_MAXSYSCALL 305 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index d45390fecb5..e5887c17722 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.94 2005/12/30 04:06:28 tedu Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.95 2006/04/28 08:39:32 pedro Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.81 2005/12/30 04:02:17 tedu Exp + * created from; OpenBSD: syscalls.master,v 1.82 2006/04/28 08:34:31 pedro Exp */ #ifdef syscallarg @@ -1236,6 +1236,11 @@ struct sys_thrsigdivert_args { syscallarg(sigset_t) sigmask; }; +struct sys___getcwd_args { + syscallarg(char *) buf; + syscallarg(size_t) len; +}; + /* * System call prototypes. */ @@ -1553,3 +1558,4 @@ int sys_threxit(struct proc *, void *, register_t *); int sys_thrsigdivert(struct proc *, void *, register_t *); #else #endif +int sys___getcwd(struct proc *, void *, register_t *); |