Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/arch Regen for readlink/readlinkat signatures.



details:   https://anonhg.NetBSD.org/src/rev/64c10341cc0c
branches:  trunk
changeset: 346637:64c10341cc0c
user:      njoly <njoly%NetBSD.org@localhost>
date:      Sun Jul 24 13:23:25 2016 +0000

description:
Regen for readlink/readlinkat signatures.

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h       |    8 +-
 sys/compat/linux/arch/alpha/linux_syscallargs.h   |    4 +-
 sys/compat/linux/arch/alpha/linux_syscalls.c      |  549 +++++++++++++++++++++-
 sys/compat/linux/arch/alpha/linux_sysent.c        |    6 +-
 sys/compat/linux/arch/amd64/linux_syscall.h       |    8 +-
 sys/compat/linux/arch/amd64/linux_syscallargs.h   |    4 +-
 sys/compat/linux/arch/amd64/linux_syscalls.c      |    6 +-
 sys/compat/linux/arch/amd64/linux_sysent.c        |    6 +-
 sys/compat/linux/arch/amd64/linux_systrace_args.c |    6 +-
 sys/compat/linux/arch/arm/linux_syscall.h         |    8 +-
 sys/compat/linux/arch/arm/linux_syscallargs.h     |    4 +-
 sys/compat/linux/arch/arm/linux_syscalls.c        |  530 +++++++++++++++++++++-
 sys/compat/linux/arch/arm/linux_sysent.c          |    6 +-
 sys/compat/linux/arch/arm/linux_systrace_args.c   |    6 +-
 sys/compat/linux/arch/i386/linux_syscall.h        |    8 +-
 sys/compat/linux/arch/i386/linux_syscallargs.h    |    4 +-
 sys/compat/linux/arch/i386/linux_syscalls.c       |    6 +-
 sys/compat/linux/arch/i386/linux_sysent.c         |    6 +-
 sys/compat/linux/arch/i386/linux_systrace_args.c  |    6 +-
 sys/compat/linux/arch/m68k/linux_syscall.h        |    8 +-
 sys/compat/linux/arch/m68k/linux_syscallargs.h    |    4 +-
 sys/compat/linux/arch/m68k/linux_syscalls.c       |    6 +-
 sys/compat/linux/arch/m68k/linux_sysent.c         |    6 +-
 sys/compat/linux/arch/mips/linux_syscall.h        |    8 +-
 sys/compat/linux/arch/mips/linux_syscallargs.h    |    4 +-
 sys/compat/linux/arch/mips/linux_syscalls.c       |    6 +-
 sys/compat/linux/arch/mips/linux_sysent.c         |    6 +-
 sys/compat/linux/arch/powerpc/linux_syscall.h     |    8 +-
 sys/compat/linux/arch/powerpc/linux_syscallargs.h |    4 +-
 sys/compat/linux/arch/powerpc/linux_syscalls.c    |    6 +-
 sys/compat/linux/arch/powerpc/linux_sysent.c      |    6 +-
 31 files changed, 1160 insertions(+), 93 deletions(-)

diffs (truncated from 1814 to 300 lines):

diff -r e1f1af0c0359 -r 64c10341cc0c sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Sun Jul 24 13:22:01 2016 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Sun Jul 24 13:23:25 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.98 2015/10/25 15:55:58 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.99 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.90 2015/10/25 15:55:05 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.91 2016/07/24 13:22:01 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -111,7 +111,7 @@
 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
 #define        LINUX_SYS_symlink       57
 
-/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
+/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */
 #define        LINUX_SYS_readlink      58
 
 /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
@@ -630,7 +630,7 @@
 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
 #define        LINUX_SYS_symlinkat     459
 
-/* syscall: "readlinkat" ret: "int" args: "int" "const char *" "char *" "size_t" */
+/* syscall: "readlinkat" ret: "ssize_t" args: "int" "const char *" "char *" "size_t" */
 #define        LINUX_SYS_readlinkat    460
 
 /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
diff -r e1f1af0c0359 -r 64c10341cc0c sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Sun Jul 24 13:22:01 2016 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Sun Jul 24 13:23:25 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.97 2015/10/25 15:55:58 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.98 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.90 2015/10/25 15:55:05 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.91 2016/07/24 13:22:01 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
diff -r e1f1af0c0359 -r 64c10341cc0c sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Sun Jul 24 13:22:01 2016 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Sun Jul 24 13:23:25 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.99 2015/10/25 15:55:58 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.100 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.90 2015/10/25 15:55:05 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.91 2016/07/24 13:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.99 2015/10/25 15:55:58 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.100 2016/07/24 13:23:25 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -29,6 +29,8 @@
 #include <compat/linux/common/linux_shm.h>
 #include <compat/linux/common/linux_mmap.h>
 #include <compat/linux/linux_syscallargs.h>
+#else /* _KERNEL_OPT */
+#include <sys/null.h>
 #endif /* _KERNEL_OPT */
 
 const char *const linux_syscallnames[] = {
@@ -569,3 +571,544 @@
        /* 510 */       "# filler",
        /* 511 */       "# filler",
 };
+
+
+/* libc style syscall names */
+const char *const altlinux_syscallnames[] = {
+       /*   0 */       "nosys",
+       /*   1 */       NULL, /* exit */
+       /*   2 */       NULL, /* fork */
+       /*   3 */       NULL, /* read */
+       /*   4 */       NULL, /* write */
+       /*   5 */       NULL, /* unimplemented */
+       /*   6 */       NULL, /* close */
+       /*   7 */       NULL, /* wait4 */
+       /*   8 */       NULL, /* creat */
+       /*   9 */       NULL, /* link */
+       /*  10 */       NULL, /* unlink */
+       /*  11 */       NULL, /* unimplemented */
+       /*  12 */       NULL, /* chdir */
+       /*  13 */       NULL, /* fchdir */
+       /*  14 */       NULL, /* mknod */
+       /*  15 */       NULL, /* chmod */
+       /*  16 */       NULL, /* __posix_chown */
+       /*  17 */       NULL, /* brk */
+       /*  18 */       NULL, /* unimplemented */
+       /*  19 */       NULL, /* lseek */
+       /*  20 */       NULL, /* getpid_with_ppid */
+       /*  21 */       NULL, /* mount */
+       /*  22 */       NULL, /* unimplemented umount */
+       /*  23 */       NULL, /* setuid */
+       /*  24 */       NULL, /* getuid_with_euid */
+       /*  25 */       NULL, /* unimplemented */
+       /*  26 */       NULL, /* ptrace */
+       /*  27 */       NULL, /* unimplemented */
+       /*  28 */       NULL, /* unimplemented */
+       /*  29 */       NULL, /* unimplemented */
+       /*  30 */       NULL, /* unimplemented */
+       /*  31 */       NULL, /* unimplemented */
+       /*  32 */       NULL, /* unimplemented */
+       /*  33 */       NULL, /* access */
+       /*  34 */       NULL, /* unimplemented */
+       /*  35 */       NULL, /* unimplemented */
+       /*  36 */       NULL, /* sync */
+       /*  37 */       NULL, /* kill */
+       /*  38 */       NULL, /* unimplemented */
+       /*  39 */       NULL, /* setpgid */
+       /*  40 */       NULL, /* unimplemented */
+       /*  41 */       NULL, /* dup */
+       /*  42 */       NULL, /* pipe */
+       /*  43 */       NULL, /* set_program_attributes */
+       /*  44 */       NULL, /* unimplemented */
+       /*  45 */       NULL, /* open */
+       /*  46 */       NULL, /* unimplemented */
+       /*  47 */       NULL, /* getgid_with_egid */
+       /*  48 */       NULL, /* sigprocmask */
+       /*  49 */       NULL, /* unimplemented */
+       /*  50 */       NULL, /* unimplemented */
+       /*  51 */       NULL, /* acct */
+       /*  52 */       NULL, /* sigpending */
+       /*  53 */       NULL, /* unimplemented */
+       /*  54 */       NULL, /* ioctl */
+       /*  55 */       NULL, /* unimplemented */
+       /*  56 */       NULL, /* unimplemented */
+       /*  57 */       NULL, /* symlink */
+       /*  58 */       NULL, /* readlink */
+       /*  59 */       NULL, /* execve */
+       /*  60 */       NULL, /* umask */
+       /*  61 */       NULL, /* chroot */
+       /*  62 */       NULL, /* unimplemented */
+       /*  63 */       NULL, /* getpgrp */
+       /*  64 */       NULL, /* getpagesize */
+       /*  65 */       NULL, /* unimplemented */
+       /*  66 */       "vfork",
+       /*  67 */       NULL, /* stat */
+       /*  68 */       NULL, /* lstat */
+       /*  69 */       NULL, /* unimplemented */
+       /*  70 */       NULL, /* unimplemented */
+       /*  71 */       NULL, /* mmap */
+       /*  72 */       NULL, /* unimplemented */
+       /*  73 */       NULL, /* munmap */
+       /*  74 */       NULL, /* mprotect */
+       /*  75 */       NULL, /* madvise */
+       /*  76 */       NULL, /* unimplemented vhangup */
+       /*  77 */       NULL, /* unimplemented */
+       /*  78 */       NULL, /* unimplemented */
+       /*  79 */       NULL, /* getgroups */
+       /*  80 */       NULL, /* setgroups */
+       /*  81 */       NULL, /* unimplemented */
+       /*  82 */       NULL, /* unimplemented setpgrp */
+       /*  83 */       NULL, /* setitimer */
+       /*  84 */       NULL, /* unimplemented */
+       /*  85 */       NULL, /* unimplemented */
+       /*  86 */       NULL, /* unimplemented osf1_sys_getitimer */
+       /*  87 */       NULL, /* gethostname */
+       /*  88 */       NULL, /* sethostname */
+       /*  89 */       NULL, /* unimplemented getdtablesize */
+       /*  90 */       NULL, /* dup2 */
+       /*  91 */       NULL, /* fstat */
+       /*  92 */       NULL, /* fcntl */
+       /*  93 */       NULL, /* select */
+       /*  94 */       NULL, /* poll */
+       /*  95 */       NULL, /* fsync */
+       /*  96 */       NULL, /* setpriority */
+       /*  97 */       NULL, /* socket */
+       /*  98 */       NULL, /* connect */
+       /*  99 */       NULL, /* accept */
+       /* 100 */       NULL, /* getpriority */
+       /* 101 */       NULL, /* send */
+       /* 102 */       NULL, /* recv */
+       /* 103 */       NULL, /* sigreturn */
+       /* 104 */       NULL, /* bind */
+       /* 105 */       NULL, /* setsockopt */
+       /* 106 */       NULL, /* listen */
+       /* 107 */       NULL, /* unimplemented */
+       /* 108 */       NULL, /* unimplemented */
+       /* 109 */       NULL, /* unimplemented */
+       /* 110 */       NULL, /* unimplemented */
+       /* 111 */       NULL, /* sigsuspend */
+       /* 112 */       NULL, /* sigstack */
+       /* 113 */       NULL, /* recvmsg */
+       /* 114 */       NULL, /* sendmsg */
+       /* 115 */       NULL, /* unimplemented */
+       /* 116 */       NULL, /* gettimeofday */
+       /* 117 */       NULL, /* getrusage */
+       /* 118 */       NULL, /* getsockopt */
+       /* 119 */       NULL, /* unimplemented */
+       /* 120 */       NULL, /* readv */
+       /* 121 */       NULL, /* writev */
+       /* 122 */       NULL, /* settimeofday */
+       /* 123 */       NULL, /* __posix_fchown */
+       /* 124 */       NULL, /* fchmod */
+       /* 125 */       NULL, /* recvfrom */
+       /* 126 */       NULL, /* setreuid */
+       /* 127 */       NULL, /* setregid */
+       /* 128 */       NULL, /* __posix_rename */
+       /* 129 */       NULL, /* truncate */
+       /* 130 */       NULL, /* ftruncate */
+       /* 131 */       NULL, /* flock */
+       /* 132 */       NULL, /* setgid */
+       /* 133 */       NULL, /* sendto */
+       /* 134 */       NULL, /* shutdown */
+       /* 135 */       NULL, /* socketpair */
+       /* 136 */       NULL, /* mkdir */
+       /* 137 */       NULL, /* rmdir */
+       /* 138 */       NULL, /* utimes */
+       /* 139 */       NULL, /* unimplemented */
+       /* 140 */       NULL, /* unimplemented */
+       /* 141 */       NULL, /* getpeername */
+       /* 142 */       NULL, /* unimplemented */
+       /* 143 */       NULL, /* unimplemented */
+       /* 144 */       NULL, /* getrlimit */
+       /* 145 */       NULL, /* setrlimit */
+       /* 146 */       NULL, /* unimplemented */
+       /* 147 */       NULL, /* setsid */
+       /* 148 */       NULL, /* unimplemented quotactl */
+       /* 149 */       NULL, /* unimplemented */
+       /* 150 */       NULL, /* getsockname */
+       /* 151 */       NULL, /* unimplemented */
+       /* 152 */       NULL, /* unimplemented */
+       /* 153 */       NULL, /* unimplemented */
+       /* 154 */       NULL, /* unimplemented */
+       /* 155 */       NULL, /* unimplemented */
+       /* 156 */       NULL, /* sigaction */
+       /* 157 */       NULL, /* unimplemented */
+       /* 158 */       NULL, /* unimplemented */
+       /* 159 */       NULL, /* getdirentries */
+       /* 160 */       NULL, /* statfs */
+       /* 161 */       NULL, /* fstatfs */
+       /* 162 */       NULL, /* unimplemented */
+       /* 163 */       NULL, /* unimplemented */
+       /* 164 */       NULL, /* unimplemented */
+       /* 165 */       NULL, /* getdomainname */
+       /* 166 */       NULL, /* setdomainname */
+       /* 167 */       NULL, /* unimplemented */
+       /* 168 */       NULL, /* unimplemented */
+       /* 169 */       NULL, /* unimplemented */
+       /* 170 */       NULL, /* unimplemented */
+       /* 171 */       NULL, /* unimplemented */
+       /* 172 */       NULL, /* unimplemented */
+       /* 173 */       NULL, /* unimplemented */
+       /* 174 */       NULL, /* unimplemented */
+       /* 175 */       NULL, /* unimplemented */
+       /* 176 */       NULL, /* unimplemented */
+       /* 177 */       NULL, /* unimplemented */
+       /* 178 */       NULL, /* unimplemented */
+       /* 179 */       NULL, /* unimplemented */
+       /* 180 */       NULL, /* unimplemented */
+       /* 181 */       NULL, /* unimplemented */
+       /* 182 */       NULL, /* unimplemented */
+       /* 183 */       NULL, /* unimplemented */
+       /* 184 */       NULL, /* unimplemented */
+       /* 185 */       NULL, /* unimplemented */
+       /* 186 */       NULL, /* unimplemented */
+       /* 187 */       NULL, /* unimplemented */
+       /* 188 */       NULL, /* unimplemented */
+       /* 189 */       NULL, /* unimplemented */
+       /* 190 */       NULL, /* unimplemented */
+       /* 191 */       NULL, /* ugetrlimit */
+       /* 192 */       NULL, /* unimplemented mmap2 */
+       /* 193 */       NULL, /* unimplemented */
+       /* 194 */       NULL, /* unimplemented */
+       /* 195 */       NULL, /* unimplemented */
+       /* 196 */       NULL, /* unimplemented */
+       /* 197 */       NULL, /* unimplemented */
+       /* 198 */       NULL, /* unimplemented */
+       /* 199 */       NULL, /* unimplemented osf1_sys_swapon */
+#ifdef SYSVMSG
+       /* 200 */       NULL, /* msgctl */
+       /* 201 */       NULL, /* msgget */
+       /* 202 */       NULL, /* msgrcv */
+       /* 203 */       NULL, /* msgsnd */
+#else
+       /* 200 */       NULL, /* unimplemented msgctl */
+       /* 201 */       NULL, /* unimplemented msgget */
+       /* 202 */       NULL, /* unimplemented msgrcv */
+       /* 203 */       NULL, /* unimplemented msgsnd */
+#endif
+#ifdef SYSVSEM



Home | Main Index | Thread Index | Old Index