summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2002-04-10 18:18:26 +0000
committerchristos <christos@NetBSD.org>2002-04-10 18:18:26 +0000
commitdb952e86f35941d6fbf4c19ec33a6368a166f708 (patch)
tree65ed0084d23a966578bd2aafdfd7d3283423f64a
parentf7b63f4dd5d9aff7249562f439bd1072593fe9f8 (diff)
add getdents64
-rw-r--r--sys/compat/linux/arch/alpha/syscalls.master6
-rw-r--r--sys/compat/linux/arch/arm/syscalls.master5
-rw-r--r--sys/compat/linux/arch/i386/syscalls.master5
-rw-r--r--sys/compat/linux/arch/m68k/syscalls.master5
-rw-r--r--sys/compat/linux/arch/mips/syscalls.master5
-rw-r--r--sys/compat/linux/arch/powerpc/syscalls.master5
6 files changed, 18 insertions, 13 deletions
diff --git a/sys/compat/linux/arch/alpha/syscalls.master b/sys/compat/linux/arch/alpha/syscalls.master
index 3beeff247cf..fd5d1770d38 100644
--- a/sys/compat/linux/arch/alpha/syscalls.master
+++ b/sys/compat/linux/arch/alpha/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.40 2002/03/22 15:14:55 christos Exp $
+ $NetBSD: syscalls.master,v 1.41 2002/04/10 18:18:26 christos Exp $
;
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -602,5 +602,5 @@
374 UNIMPL pivot_root
375 UNIMPL mincore
376 UNIMPL pciconfig_iobase
-377 UNIMPL getdents64
-
+377 STD { int linux_sys_getdents64(int fd, \
+ struct linux_dirent64 *dent, unsigned int count); }
diff --git a/sys/compat/linux/arch/arm/syscalls.master b/sys/compat/linux/arch/arm/syscalls.master
index 6a8f7fc7bb5..42a17009656 100644
--- a/sys/compat/linux/arch/arm/syscalls.master
+++ b/sys/compat/linux/arch/arm/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp $
+ $NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp $
; Derived from sys/compat/linux/arch/*/syscalls.master
; and from Linux 2.4.12 arch/arm/kernel/calls.S
@@ -366,7 +366,8 @@
214 NOARGS setgid32 { int sys_setgid(gid_t gid); }
215 NOARGS setfsuid32 { int linux_sys_setfsuid(uid_t uid); }
216 NOARGS getfsuid32 { int linux_sys_getfsuid(void); }
-217 UNIMPL getdents64
+217 STD { int linux_sys_getdents64(int fd, \
+ struct linux_dirent64 *dent, unsigned int count); }
218 UNIMPL pivot_root
219 UNIMPL mincore
220 UNIMPL madvise
diff --git a/sys/compat/linux/arch/i386/syscalls.master b/sys/compat/linux/arch/i386/syscalls.master
index ad299a71eae..a4526322832 100644
--- a/sys/compat/linux/arch/i386/syscalls.master
+++ b/sys/compat/linux/arch/i386/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp $
+ $NetBSD: syscalls.master,v 1.63 2002/04/10 18:18:27 christos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -366,5 +366,6 @@
217 UNIMPL pivot_root
218 UNIMPL mincore
219 UNIMPL madvise
-220 UNIMPL getdents64
+220 STD { int linux_sys_getdents64(int fd, \
+ struct linux_dirent64 *dent, unsigned int count); }
221 STD { int linux_sys_fcntl64(int fd, int cmd, void *arg); }
diff --git a/sys/compat/linux/arch/m68k/syscalls.master b/sys/compat/linux/arch/m68k/syscalls.master
index 0ea9260910d..3d3ab9e87fc 100644
--- a/sys/compat/linux/arch/m68k/syscalls.master
+++ b/sys/compat/linux/arch/m68k/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.37 2002/03/22 15:17:04 christos Exp $
+ $NetBSD: syscalls.master,v 1.38 2002/04/10 18:18:28 christos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -375,4 +375,5 @@
217 UNIMPL pivot_root
218 UNIMPL /* unused ? */
219 UNIMPL /* unused ? */
-220 UNIMPL getdents64
+220 STD { int linux_sys_getdents64(int fd, \
+ struct linux_dirent64 *dent, unsigned int count); }
diff --git a/sys/compat/linux/arch/mips/syscalls.master b/sys/compat/linux/arch/mips/syscalls.master
index 84fafaacee1..c81c31d2e74 100644
--- a/sys/compat/linux/arch/mips/syscalls.master
+++ b/sys/compat/linux/arch/mips/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.8 2002/03/22 15:18:13 christos Exp $
+ $NetBSD: syscalls.master,v 1.9 2002/04/10 18:18:28 christos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -378,6 +378,7 @@
216 UNIMPL pivot_root
217 UNIMPL mincore
218 UNIMPL modvise
-219 UNIMPL getdents64
+219 STD { int linux_sys_getdents64(int fd, \
+ struct linux_dirent64 *dent, unsigned int count); }
220 STD { int linux_sys_fcntl64(int fd, \
int cmd, void *arg); }
diff --git a/sys/compat/linux/arch/powerpc/syscalls.master b/sys/compat/linux/arch/powerpc/syscalls.master
index 582a05da229..0fa66e3a645 100644
--- a/sys/compat/linux/arch/powerpc/syscalls.master
+++ b/sys/compat/linux/arch/powerpc/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.10 2002/03/22 15:19:43 christos Exp $
+ $NetBSD: syscalls.master,v 1.11 2002/04/10 18:18:28 christos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -362,7 +362,8 @@
199 UNIMPL sys_pciconfig_write
200 UNIMPL sys_pciconfig_iobase
201 UNIMPL /* Unused (MacOnLinux project) */
-202 UNIMPL sys_getdents64
+202 STD { int linux_sys_getdents64(int fd, \
+ struct linux_dirent64 *dent, unsigned int count); }
203 UNIMPL pivot_root
204 UNIMPL fcntl64
205 UNIMPL madvise