summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/netbsd/netbsd_syscall.h7
-rw-r--r--sys/compat/netbsd/netbsd_syscallargs.h11
-rw-r--r--sys/compat/netbsd/netbsd_syscalls.c6
-rw-r--r--sys/compat/netbsd/netbsd_sysent.c8
4 files changed, 21 insertions, 11 deletions
diff --git a/sys/compat/netbsd/netbsd_syscall.h b/sys/compat/netbsd/netbsd_syscall.h
index ba2321f0668..e1fb2b7c695 100644
--- a/sys/compat/netbsd/netbsd_syscall.h
+++ b/sys/compat/netbsd/netbsd_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_syscall.h,v 1.4 1999/09/15 18:38:02 kstailey Exp $ */
+/* $OpenBSD: netbsd_syscall.h,v 1.5 1999/09/15 20:42:27 kstailey Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.4 1999/09/15 18:36:38 kstailey Exp
+ * created from; OpenBSD: syscalls.master,v 1.5 1999/09/15 20:41:16 kstailey Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -616,6 +616,9 @@
/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
#define NETBSD_SYS_nanosleep 240
+/* syscall: "getdents" ret: "int" args: "int" "char *" "size_t" */
+#define NETBSD_SYS_getdents 272
+
/* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */
#define NETBSD_SYS_minherit 273
diff --git a/sys/compat/netbsd/netbsd_syscallargs.h b/sys/compat/netbsd/netbsd_syscallargs.h
index 717d2197523..5b2a83e0300 100644
--- a/sys/compat/netbsd/netbsd_syscallargs.h
+++ b/sys/compat/netbsd/netbsd_syscallargs.h
@@ -1,14 +1,20 @@
-/* $OpenBSD: netbsd_syscallargs.h,v 1.4 1999/09/15 18:38:02 kstailey Exp $ */
+/* $OpenBSD: netbsd_syscallargs.h,v 1.5 1999/09/15 20:42:27 kstailey Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.4 1999/09/15 18:36:38 kstailey Exp
+ * created from; OpenBSD: syscalls.master,v 1.5 1999/09/15 20:41:16 kstailey Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
+struct netbsd_sys_getdents_args {
+ syscallarg(int) fd;
+ syscallarg(char *) buf;
+ syscallarg(size_t) count;
+};
+
struct netbsd_sys___stat13_args {
syscallarg(const char *) path;
syscallarg(struct netbsd_stat *) ub;
@@ -309,6 +315,7 @@ int sys_clock_gettime __P((struct proc *, void *, register_t *));
int sys_clock_settime __P((struct proc *, void *, register_t *));
int sys_clock_getres __P((struct proc *, void *, register_t *));
int sys_nanosleep __P((struct proc *, void *, register_t *));
+int netbsd_sys_getdents __P((struct proc *, void *, register_t *));
int sys_minherit __P((struct proc *, void *, register_t *));
int sys_lchown __P((struct proc *, void *, register_t *));
int sys_msync __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/netbsd/netbsd_syscalls.c b/sys/compat/netbsd/netbsd_syscalls.c
index cde5a63e0e6..8283e3421b8 100644
--- a/sys/compat/netbsd/netbsd_syscalls.c
+++ b/sys/compat/netbsd/netbsd_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_syscalls.c,v 1.4 1999/09/15 18:38:02 kstailey Exp $ */
+/* $OpenBSD: netbsd_syscalls.c,v 1.5 1999/09/15 20:42:27 kstailey Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.4 1999/09/15 18:36:38 kstailey Exp
+ * created from; OpenBSD: syscalls.master,v 1.5 1999/09/15 20:41:16 kstailey Exp
*/
char *netbsd_syscallnames[] = {
@@ -354,7 +354,7 @@ char *netbsd_syscallnames[] = {
"#269 (unimplemented)", /* 269 = unimplemented */
"#270 (unimplemented)", /* 270 = unimplemented */
"#271 (unimplemented)", /* 271 = unimplemented */
- "#272 (unimplemented)", /* 272 = unimplemented */
+ "getdents", /* 272 = getdents */
"minherit", /* 273 = minherit */
"#274 (unimplemented)", /* 274 = unimplemented */
"lchown", /* 275 = lchown */
diff --git a/sys/compat/netbsd/netbsd_sysent.c b/sys/compat/netbsd/netbsd_sysent.c
index 9d2e9cc06ee..cc103ec5641 100644
--- a/sys/compat/netbsd/netbsd_sysent.c
+++ b/sys/compat/netbsd/netbsd_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: netbsd_sysent.c,v 1.4 1999/09/15 18:38:02 kstailey Exp $ */
+/* $OpenBSD: netbsd_sysent.c,v 1.5 1999/09/15 20:42:27 kstailey Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.4 1999/09/15 18:36:38 kstailey Exp
+ * created from; OpenBSD: syscalls.master,v 1.5 1999/09/15 20:41:16 kstailey Exp
*/
#include <sys/param.h>
@@ -675,8 +675,8 @@ struct sysent netbsd_sysent[] = {
sys_nosys }, /* 270 = unimplemented */
{ 0, 0,
sys_nosys }, /* 271 = unimplemented */
- { 0, 0,
- sys_nosys }, /* 272 = unimplemented */
+ { 3, s(struct netbsd_sys_getdents_args),
+ netbsd_sys_getdents }, /* 272 = getdents */
{ 3, s(struct sys_minherit_args),
sys_minherit }, /* 273 = minherit */
{ 0, 0,