Source-Changes-HG archive

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

[src/trunk]: src/sys/compat Regen for pread/pwrite 64bit offset argument.



details:   https://anonhg.NetBSD.org/src/rev/7a294f1765cd
branches:  trunk
changeset: 795829:7a294f1765cd
user:      njoly <njoly%NetBSD.org@localhost>
date:      Sun May 04 10:10:39 2014 +0000

description:
Regen for pread/pwrite 64bit offset argument.

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h         |   8 ++++----
 sys/compat/linux/arch/alpha/linux_syscallargs.h     |   8 ++++----
 sys/compat/linux/arch/alpha/linux_syscalls.c        |   6 +++---
 sys/compat/linux/arch/alpha/linux_sysent.c          |  10 +++++-----
 sys/compat/linux/arch/amd64/linux_syscall.h         |   8 ++++----
 sys/compat/linux/arch/amd64/linux_syscallargs.h     |   8 ++++----
 sys/compat/linux/arch/amd64/linux_syscalls.c        |   6 +++---
 sys/compat/linux/arch/amd64/linux_sysent.c          |  10 +++++-----
 sys/compat/linux/arch/arm/linux_syscall.h           |   8 ++++----
 sys/compat/linux/arch/arm/linux_syscallargs.h       |   8 ++++----
 sys/compat/linux/arch/arm/linux_syscalls.c          |   6 +++---
 sys/compat/linux/arch/arm/linux_sysent.c            |  10 +++++-----
 sys/compat/linux/arch/i386/linux_syscall.h          |   8 ++++----
 sys/compat/linux/arch/i386/linux_syscallargs.h      |   8 ++++----
 sys/compat/linux/arch/i386/linux_syscalls.c         |   6 +++---
 sys/compat/linux/arch/i386/linux_sysent.c           |  10 +++++-----
 sys/compat/linux/arch/m68k/linux_syscall.h          |   8 ++++----
 sys/compat/linux/arch/m68k/linux_syscallargs.h      |   8 ++++----
 sys/compat/linux/arch/m68k/linux_syscalls.c         |   6 +++---
 sys/compat/linux/arch/m68k/linux_sysent.c           |  10 +++++-----
 sys/compat/linux/arch/mips/linux_syscall.h          |   8 ++++----
 sys/compat/linux/arch/mips/linux_syscallargs.h      |   8 ++++----
 sys/compat/linux/arch/mips/linux_syscalls.c         |   6 +++---
 sys/compat/linux/arch/mips/linux_sysent.c           |  10 +++++-----
 sys/compat/linux/arch/powerpc/linux_syscall.h       |   8 ++++----
 sys/compat/linux/arch/powerpc/linux_syscallargs.h   |   8 ++++----
 sys/compat/linux/arch/powerpc/linux_syscalls.c      |   6 +++---
 sys/compat/linux/arch/powerpc/linux_sysent.c        |  10 +++++-----
 sys/compat/linux32/arch/amd64/linux32_syscall.h     |   8 ++++----
 sys/compat/linux32/arch/amd64/linux32_syscallargs.h |   8 ++++----
 sys/compat/linux32/arch/amd64/linux32_syscalls.c    |   6 +++---
 sys/compat/linux32/arch/amd64/linux32_sysent.c      |   6 +++---
 32 files changed, 126 insertions(+), 126 deletions(-)

diffs (truncated from 924 to 300 lines):

diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Sun May 04 10:10:39 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.90 2014/04/08 16:49:25 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.91 2014/05/04 10:10:39 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.84 2014/04/08 16:48:01 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.85 2014/05/04 10:08:53 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -459,10 +459,10 @@
 /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
 #define        LINUX_SYS_getresuid     344
 
-/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
+/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
 #define        LINUX_SYS_pread 349
 
-/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
+/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */
 #define        LINUX_SYS_pwrite        350
 
 /* syscall: "rt_sigreturn" ret: "int" args: "struct linux_rt_sigframe *" */
diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Sun May 04 10:10:39 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.89 2014/04/08 16:49:25 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.90 2014/05/04 10:10:39 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.84 2014/04/08 16:48:01 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.85 2014/05/04 10:08:53 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -708,7 +708,7 @@
        syscallarg(int) fd;
        syscallarg(char *) buf;
        syscallarg(size_t) nbyte;
-       syscallarg(linux_off_t) offset;
+       syscallarg(off_t) offset;
 };
 check_syscall_args(linux_sys_pread)
 
@@ -716,7 +716,7 @@
        syscallarg(int) fd;
        syscallarg(char *) buf;
        syscallarg(size_t) nbyte;
-       syscallarg(linux_off_t) offset;
+       syscallarg(off_t) offset;
 };
 check_syscall_args(linux_sys_pwrite)
 
diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Sun May 04 10:10:39 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.91 2014/04/08 16:49:25 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.92 2014/05/04 10:10:39 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.84 2014/04/08 16:48:01 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.85 2014/05/04 10:08:53 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.91 2014/04/08 16:49:25 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.92 2014/05/04 10:10:39 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c        Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c        Sun May 04 10:10:39 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.90 2014/04/08 16:49:25 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.91 2014/05/04 10:10:39 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.84 2014/04/08 16:48:01 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.85 2014/05/04 10:08:53 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.90 2014/04/08 16:49:25 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.91 2014/05/04 10:10:39 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -768,9 +768,9 @@
            linux_sys_nosys },                  /* 347 = unimplemented query_module */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 348 = unimplemented prctl */
-       { ns(struct linux_sys_pread_args), SYCALL_ARG_PTR,
+       { ns(struct linux_sys_pread_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG3_64 | SYCALL_ARG_PTR,
            (sy_call_t *)linux_sys_pread },     /* 349 = pread */
-       { ns(struct linux_sys_pwrite_args), SYCALL_ARG_PTR,
+       { ns(struct linux_sys_pwrite_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG3_64 | SYCALL_ARG_PTR,
            (sy_call_t *)linux_sys_pwrite },    /* 350 = pwrite */
        { ns(struct linux_sys_rt_sigreturn_args), SYCALL_ARG_PTR,
            (sy_call_t *)linux_sys_rt_sigreturn },/* 351 = rt_sigreturn */
diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/amd64/linux_syscall.h
--- a/sys/compat/linux/arch/amd64/linux_syscall.h       Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscall.h       Sun May 04 10:10:39 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.49 2014/04/08 16:49:25 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.50 2014/05/04 10:10:39 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.47 2014/04/08 16:48:01 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.48 2014/05/04 10:08:53 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -63,10 +63,10 @@
 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
 #define        LINUX_SYS_ioctl 16
 
-/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
+/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
 #define        LINUX_SYS_pread 17
 
-/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
+/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */
 #define        LINUX_SYS_pwrite        18
 
 /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/amd64/linux_syscallargs.h
--- a/sys/compat/linux/arch/amd64/linux_syscallargs.h   Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h   Sun May 04 10:10:39 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.49 2014/04/08 16:49:25 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.50 2014/05/04 10:10:39 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.47 2014/04/08 16:48:01 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.48 2014/05/04 10:08:53 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -109,7 +109,7 @@
        syscallarg(int) fd;
        syscallarg(char *) buf;
        syscallarg(size_t) nbyte;
-       syscallarg(linux_off_t) offset;
+       syscallarg(off_t) offset;
 };
 check_syscall_args(linux_sys_pread)
 
@@ -117,7 +117,7 @@
        syscallarg(int) fd;
        syscallarg(char *) buf;
        syscallarg(size_t) nbyte;
-       syscallarg(linux_off_t) offset;
+       syscallarg(off_t) offset;
 };
 check_syscall_args(linux_sys_pwrite)
 
diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/amd64/linux_syscalls.c
--- a/sys/compat/linux/arch/amd64/linux_syscalls.c      Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscalls.c      Sun May 04 10:10:39 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.49 2014/04/08 16:49:25 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.50 2014/05/04 10:10:39 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.47 2014/04/08 16:48:01 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.48 2014/05/04 10:08:53 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.49 2014/04/08 16:49:25 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.50 2014/05/04 10:10:39 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/amd64/linux_sysent.c
--- a/sys/compat/linux/arch/amd64/linux_sysent.c        Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/amd64/linux_sysent.c        Sun May 04 10:10:39 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.49 2014/04/08 16:49:25 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.50 2014/05/04 10:10:39 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.47 2014/04/08 16:48:01 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.48 2014/05/04 10:08:53 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.49 2014/04/08 16:49:25 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.50 2014/05/04 10:10:39 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -73,9 +73,9 @@
            (sy_call_t *)linux_sys_rt_sigreturn },/* 15 = rt_sigreturn */
        { ns(struct linux_sys_ioctl_args), SYCALL_ARG_PTR,
            (sy_call_t *)linux_sys_ioctl },     /* 16 = ioctl */
-       { ns(struct linux_sys_pread_args), SYCALL_ARG_PTR,
+       { ns(struct linux_sys_pread_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG3_64 | SYCALL_ARG_PTR,
            (sy_call_t *)linux_sys_pread },     /* 17 = pread */
-       { ns(struct linux_sys_pwrite_args), SYCALL_ARG_PTR,
+       { ns(struct linux_sys_pwrite_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG3_64 | SYCALL_ARG_PTR,
            (sy_call_t *)linux_sys_pwrite },    /* 18 = pwrite */
        { ns(struct sys_readv_args), SYCALL_ARG_PTR,
            (sy_call_t *)sys_readv },           /* 19 = readv */
diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/arm/linux_syscall.h
--- a/sys/compat/linux/arch/arm/linux_syscall.h Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Sun May 04 10:10:39 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.58 2014/04/08 16:49:26 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.59 2014/05/04 10:10:39 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.55 2014/04/08 16:48:01 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.56 2014/05/04 10:08:53 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -459,10 +459,10 @@
 /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
 #define        LINUX_SYS_rt_sigsuspend 179
 
-/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
+/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
 #define        LINUX_SYS_pread 180
 
-/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
+/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */
 #define        LINUX_SYS_pwrite        181
 
 /* syscall: "chown16" ret: "int" args: "const char *" "linux_uid16_t" "linux_gid16_t" */
diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/arm/linux_syscallargs.h
--- a/sys/compat/linux/arch/arm/linux_syscallargs.h     Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscallargs.h     Sun May 04 10:10:39 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.58 2014/04/08 16:49:26 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.59 2014/05/04 10:10:39 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.55 2014/04/08 16:48:01 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.56 2014/05/04 10:08:53 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -647,7 +647,7 @@
        syscallarg(int) fd;
        syscallarg(char *) buf;
        syscallarg(size_t) nbyte;
-       syscallarg(linux_off_t) offset;
+       syscallarg(off_t) offset;
 };
 check_syscall_args(linux_sys_pread)
 
@@ -655,7 +655,7 @@
        syscallarg(int) fd;
        syscallarg(char *) buf;
        syscallarg(size_t) nbyte;
-       syscallarg(linux_off_t) offset;
+       syscallarg(off_t) offset;
 };
 check_syscall_args(linux_sys_pwrite)
 
diff -r 2d3aecd91255 -r 7a294f1765cd sys/compat/linux/arch/arm/linux_syscalls.c
--- a/sys/compat/linux/arch/arm/linux_syscalls.c        Sun May 04 10:08:53 2014 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscalls.c        Sun May 04 10:10:39 2014 +0000



Home | Main Index | Thread Index | Old Index