diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2005-02-19 21:20:50 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2005-02-19 21:20:50 +0000 |
commit | 2d98c23c4051660179af7d8a76861ceed0b1f2b1 (patch) | |
tree | 56c1cfe2995ef74c97df8ee9b37acdc807d6122c /sys/compat/freebsd | |
parent | 4f9feb058cb63487207395b927f1dc7152771a57 (diff) |
regen
Diffstat (limited to 'sys/compat/freebsd')
-rw-r--r-- | sys/compat/freebsd/freebsd_syscall.h | 7 | ||||
-rw-r--r-- | sys/compat/freebsd/freebsd_syscallargs.h | 11 | ||||
-rw-r--r-- | sys/compat/freebsd/freebsd_syscalls.c | 6 | ||||
-rw-r--r-- | sys/compat/freebsd/freebsd_sysent.c | 8 |
4 files changed, 21 insertions, 11 deletions
diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h index 45287d76cf5..0dced89f843 100644 --- a/sys/compat/freebsd/freebsd_syscall.h +++ b/sys/compat/freebsd/freebsd_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscall.h,v 1.27 2004/07/13 21:06:33 millert Exp $ */ +/* $OpenBSD: freebsd_syscall.h,v 1.28 2005/02/19 21:20:49 matthieu Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.26 2004/07/13 21:04:29 millert Exp + * created from OpenBSD: syscalls.master,v 1.27 2005/02/19 21:19:28 matthieu Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -617,6 +617,9 @@ /* syscall: "lchown" ret: "int" args: "char *" "int" "int" */ #define FREEBSD_SYS_lchown 254 +/* syscall: "getdents" ret: "int" args: "int" "void *" "unsigned" */ +#define FREEBSD_SYS_getdents 272 + /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */ #define FREEBSD_SYS_setresuid 311 diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h index 84f11ce94ef..3e2311d37d8 100644 --- a/sys/compat/freebsd/freebsd_syscallargs.h +++ b/sys/compat/freebsd/freebsd_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscallargs.h,v 1.29 2004/07/13 21:06:33 millert Exp $ */ +/* $OpenBSD: freebsd_syscallargs.h,v 1.30 2005/02/19 21:20:49 matthieu Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.26 2004/07/13 21:04:29 millert Exp + * created from OpenBSD: syscalls.master,v 1.27 2005/02/19 21:19:28 matthieu Exp */ #ifdef syscallarg @@ -232,6 +232,12 @@ struct freebsd_sys_poll2_args { syscallarg(int) timeout; }; +struct freebsd_sys_getdents_args { + syscallarg(int) fd; + syscallarg(void *) dirent; + syscallarg(unsigned) count; +}; + struct freebsd_sys_sigprocmask40_args { syscallarg(int) how; syscallarg(const freebsd_sigset_t *) set; @@ -498,6 +504,7 @@ int sys_rfork(struct proc *, void *, register_t *); int freebsd_sys_poll2(struct proc *, void *, register_t *); int sys_issetugid(struct proc *, void *, register_t *); int sys_lchown(struct proc *, void *, register_t *); +int freebsd_sys_getdents(struct proc *, void *, register_t *); int sys_setresuid(struct proc *, void *, register_t *); int sys_setresgid(struct proc *, void *, register_t *); int freebsd_sys_sigprocmask40(struct proc *, void *, register_t *); diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c index 835ba042f0b..e15c9df28fe 100644 --- a/sys/compat/freebsd/freebsd_syscalls.c +++ b/sys/compat/freebsd/freebsd_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscalls.c,v 1.27 2004/07/13 21:06:33 millert Exp $ */ +/* $OpenBSD: freebsd_syscalls.c,v 1.28 2005/02/19 21:20:49 matthieu Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.26 2004/07/13 21:04:29 millert Exp + * created from OpenBSD: syscalls.master,v 1.27 2005/02/19 21:19:28 matthieu Exp */ char *freebsd_syscallnames[] = { @@ -348,7 +348,7 @@ char *freebsd_syscallnames[] = { "#269 (unimplemented)", /* 269 = unimplemented */ "#270 (unimplemented)", /* 270 = unimplemented */ "#271 (unimplemented)", /* 271 = unimplemented */ - "#272 (unimplemented getdents)", /* 272 = unimplemented getdents */ + "getdents", /* 272 = getdents */ "#273 (unimplemented)", /* 273 = unimplemented */ "#274 (unimplemented lchmod)", /* 274 = unimplemented lchmod */ "#275 (unimplemented lchown)", /* 275 = unimplemented lchown */ diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c index 689eedf0265..01f7ff2f346 100644 --- a/sys/compat/freebsd/freebsd_sysent.c +++ b/sys/compat/freebsd/freebsd_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_sysent.c,v 1.28 2004/07/13 21:06:33 millert Exp $ */ +/* $OpenBSD: freebsd_sysent.c,v 1.29 2005/02/19 21:20:49 matthieu Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.26 2004/07/13 21:04:29 millert Exp + * created from OpenBSD: syscalls.master,v 1.27 2005/02/19 21:19:28 matthieu Exp */ #include <sys/param.h> @@ -657,8 +657,8 @@ struct sysent freebsd_sysent[] = { sys_nosys }, /* 270 = unimplemented */ { 0, 0, sys_nosys }, /* 271 = unimplemented */ - { 0, 0, - sys_nosys }, /* 272 = unimplemented getdents */ + { 3, s(struct freebsd_sys_getdents_args), + freebsd_sys_getdents }, /* 272 = getdents */ { 0, 0, sys_nosys }, /* 273 = unimplemented */ { 0, 0, |