Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/kern/lib/libsys_linux Regen to use getdents64 inste...



details:   https://anonhg.NetBSD.org/src/rev/464575b8e8c6
branches:  trunk
changeset: 785219:464575b8e8c6
user:      stacktic <stacktic%NetBSD.org@localhost>
date:      Mon Mar 04 19:12:55 2013 +0000

description:
Regen to use getdents64 instead of getdents

diffstat:

 sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h |  12 ++++++------
 sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c    |   8 ++++----
 sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c      |  10 +++++-----
 sys/rump/kern/lib/libsys_linux/syscalls.master          |   6 +++---
 4 files changed, 18 insertions(+), 18 deletions(-)

diffs (123 lines):

diff -r d7ef11056fcf -r 464575b8e8c6 sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h   Mon Mar 04 17:29:03 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h   Mon Mar 04 19:12:55 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_linux_syscallargs.h,v 1.2 2013/02/17 15:17:40 stacktic Exp $ */
+/* $NetBSD: rump_linux_syscallargs.h,v 1.3 2013/03/04 19:12:55 stacktic Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.1 2012/09/19 21:45:40 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.2 2013/02/17 15:17:40 stacktic Exp
  */
 
 #ifndef _RUMP_LINUX_SYS_SYSCALLARGS_H_
@@ -273,12 +273,12 @@
 
 struct sys_fchroot_args;
 
-struct linux_sys_getdents_args {
+struct linux_sys_getdents64_args {
        syscallarg(int) fd;
-       syscallarg(struct linux_dirent *) dent;
+       syscallarg(struct linux_dirent64 *) dent;
        syscallarg(unsigned int) count;
 };
-check_syscall_args(linux_sys_getdents)
+check_syscall_args(linux_sys_getdents64)
 
 struct linux_sys_socket_args {
        syscallarg(int) domain;
@@ -479,7 +479,7 @@
 
 int    sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *);
 
-int    linux_sys_getdents(struct lwp *, const struct linux_sys_getdents_args *, register_t *);
+int    linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *);
 
 int    linux_sys_socket(struct lwp *, const struct linux_sys_socket_args *, register_t *);
 
diff -r d7ef11056fcf -r 464575b8e8c6 sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c      Mon Mar 04 17:29:03 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c      Mon Mar 04 19:12:55 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: rump_linux_syscalls.c,v 1.2 2013/02/17 15:17:40 stacktic Exp $ */
+/* $NetBSD: rump_linux_syscalls.c,v 1.3 2013/03/04 19:12:55 stacktic Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.1 2012/09/19 21:45:40 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.2 2013/02/17 15:17:40 stacktic Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.2 2013/02/17 15:17:40 stacktic Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.3 2013/03/04 19:12:55 stacktic Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -414,7 +414,7 @@
        /* 387 */       "#387 (unimplemented stat30)",
        /* 388 */       "#388 (unimplemented fstat30)",
        /* 389 */       "#389 (unimplemented lstat30)",
-       /* 390 */       "getdents",
+       /* 390 */       "getdents64",
        /* 391 */       "#391 (unimplemented old posix_fadvise)",
        /* 392 */       "#392 (unimplemented fhstat)",
        /* 393 */       "#393 (unimplemented ntp_gettime)",
diff -r d7ef11056fcf -r 464575b8e8c6 sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c        Mon Mar 04 17:29:03 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c        Mon Mar 04 19:12:55 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: rump_linux_sysent.c,v 1.2 2013/02/17 15:17:40 stacktic Exp $ */
+/* $NetBSD: rump_linux_sysent.c,v 1.3 2013/03/04 19:12:56 stacktic Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.1 2012/09/19 21:45:40 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.2 2013/02/17 15:17:40 stacktic Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.2 2013/02/17 15:17:40 stacktic Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.3 2013/03/04 19:12:56 stacktic Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -806,8 +806,8 @@
            linux_sys_nosys },                  /* 388 = unimplemented fstat30 */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 389 = unimplemented lstat30 */
-       { ns(struct linux_sys_getdents_args), SYCALL_ARG_PTR,
-           (sy_call_t *)linux_sys_getdents },  /* 390 = getdents */
+       { ns(struct linux_sys_getdents64_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_getdents64 },/* 390 = getdents64 */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 391 = unimplemented old posix_fadvise */
        { 0, 0, 0,
diff -r d7ef11056fcf -r 464575b8e8c6 sys/rump/kern/lib/libsys_linux/syscalls.master
--- a/sys/rump/kern/lib/libsys_linux/syscalls.master    Mon Mar 04 17:29:03 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/syscalls.master    Mon Mar 04 19:12:55 2013 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.2 2013/02/17 15:17:40 stacktic Exp $
+       $NetBSD: syscalls.master,v 1.3 2013/03/04 19:12:56 stacktic Exp $
 
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
 
@@ -498,8 +498,8 @@
 387    UNIMPL          stat30
 388    UNIMPL          fstat30
 389    UNIMPL          lstat30
-390    NODEF           { int|linux_sys||getdents(int fd, \
-                           struct linux_dirent *dent, unsigned int count); }
+390    NODEF           { int|linux_sys||getdents64(int fd, \
+                           struct linux_dirent64 *dent, unsigned int count); }
 391    UNIMPL          old posix_fadvise
 392    UNIMPL          fhstat
 393    UNIMPL          ntp_gettime



Home | Main Index | Thread Index | Old Index