Module Name:    src
Committed By:   njoly
Date:           Sun Jul 24 13:23:25 UTC 2016

Modified Files:
        src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
            linux_syscalls.c linux_sysent.c
        src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
            linux_syscalls.c linux_sysent.c linux_systrace_args.c
        src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
            linux_syscalls.c linux_sysent.c linux_systrace_args.c
        src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
            linux_syscalls.c linux_sysent.c linux_systrace_args.c
        src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
            linux_syscalls.c linux_sysent.c
        src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
            linux_syscalls.c linux_sysent.c
        src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
            linux_syscalls.c linux_sysent.c

Log Message:
Regen for readlink/readlinkat signatures.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/compat/linux/arch/alpha/linux_syscall.h \
    src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.97 -r1.98 \
    src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.99 -r1.100 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.59 -r1.60 src/sys/compat/linux/arch/amd64/linux_syscall.h \
    src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
    src/sys/compat/linux/arch/amd64/linux_syscalls.c \
    src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.4 -r1.5 \
    src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.68 -r1.69 src/sys/compat/linux/arch/arm/linux_syscall.h \
    src/sys/compat/linux/arch/arm/linux_syscallargs.h \
    src/sys/compat/linux/arch/arm/linux_syscalls.c \
    src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.107 -r1.108 src/sys/compat/linux/arch/i386/linux_syscall.h \
    src/sys/compat/linux/arch/i386/linux_syscallargs.h \
    src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.108 -r1.109 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.97 -r1.98 src/sys/compat/linux/arch/m68k/linux_syscall.h \
    src/sys/compat/linux/arch/m68k/linux_syscalls.c \
    src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.96 -r1.97 src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.66 -r1.67 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.65 -r1.66 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
    src/sys/compat/linux/arch/mips/linux_syscalls.c \
    src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.75 -r1.76 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
    src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.74 -r1.75 \
    src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
    src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/alpha/linux_syscall.h
diff -u src/sys/compat/linux/arch/alpha/linux_syscall.h:1.98 src/sys/compat/linux/arch/alpha/linux_syscall.h:1.99
--- src/sys/compat/linux/arch/alpha/linux_syscall.h:1.98	Sun Oct 25 15:55:58 2015
+++ src/sys/compat/linux/arch/alpha/linux_syscall.h	Sun Jul 24 13:23:25 2016
@@ -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" */
Index: src/sys/compat/linux/arch/alpha/linux_sysent.c
diff -u src/sys/compat/linux/arch/alpha/linux_sysent.c:1.98 src/sys/compat/linux/arch/alpha/linux_sysent.c:1.99
--- src/sys/compat/linux/arch/alpha/linux_sysent.c:1.98	Sun Oct 25 15:55:58 2015
+++ src/sys/compat/linux/arch/alpha/linux_sysent.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.98 2015/10/25 15:55:58 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.99 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * 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_sysent.c,v 1.98 2015/10/25 15:55:58 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.99 2016/07/24 13:23:25 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"

Index: src/sys/compat/linux/arch/alpha/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/alpha/linux_syscallargs.h:1.97 src/sys/compat/linux/arch/alpha/linux_syscallargs.h:1.98
--- src/sys/compat/linux/arch/alpha/linux_syscallargs.h:1.97	Sun Oct 25 15:55:58 2015
+++ src/sys/compat/linux/arch/alpha/linux_syscallargs.h	Sun Jul 24 13:23:25 2016
@@ -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_

Index: src/sys/compat/linux/arch/alpha/linux_syscalls.c
diff -u src/sys/compat/linux/arch/alpha/linux_syscalls.c:1.99 src/sys/compat/linux/arch/alpha/linux_syscalls.c:1.100
--- src/sys/compat/linux/arch/alpha/linux_syscalls.c:1.99	Sun Oct 25 15:55:58 2015
+++ src/sys/compat/linux/arch/alpha/linux_syscalls.c	Sun Jul 24 13:23:25 2016
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: linux_syscal
 #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 @@ const char *const linux_syscallnames[] =
 	/* 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
+	/* 204 */	NULL, /* semctl */
+	/* 205 */	NULL, /* semget */
+	/* 206 */	NULL, /* semop */
+#else
+	/* 204 */	NULL, /* unimplemented semctl */
+	/* 205 */	NULL, /* unimplemented semget */
+	/* 206 */	NULL, /* unimplemented semop */
+#endif
+	/* 207 */	NULL, /* olduname */
+	/* 208 */	NULL, /* __posix_lchown */
+#ifdef SYSVSHM
+	/* 209 */	NULL, /* shmat */
+	/* 210 */	NULL, /* shmctl */
+	/* 211 */	NULL, /* shmdt */
+	/* 212 */	NULL, /* shmget */
+#else
+	/* 209 */	NULL, /* unimplemented shmat */
+	/* 210 */	NULL, /* unimplemented shmctl */
+	/* 211 */	NULL, /* unimplemented shmdt */
+	/* 212 */	NULL, /* unimplemented shmget */
+#endif
+	/* 213 */	NULL, /* unimplemented */
+	/* 214 */	NULL, /* unimplemented */
+	/* 215 */	NULL, /* unimplemented */
+	/* 216 */	NULL, /* unimplemented */
+	/* 217 */	"msync",
+	/* 218 */	NULL, /* unimplemented */
+	/* 219 */	NULL, /* unimplemented */
+	/* 220 */	NULL, /* unimplemented */
+	/* 221 */	NULL, /* unimplemented */
+	/* 222 */	NULL, /* unimplemented */
+	/* 223 */	NULL, /* unimplemented */
+	/* 224 */	NULL, /* unimplemented */
+	/* 225 */	NULL, /* unimplemented */
+	/* 226 */	NULL, /* unimplemented */
+	/* 227 */	NULL, /* unimplemented */
+	/* 228 */	NULL, /* unimplemented */
+	/* 229 */	NULL, /* unimplemented */
+	/* 230 */	NULL, /* unimplemented */
+	/* 231 */	NULL, /* unimplemented */
+	/* 232 */	NULL, /* unimplemented */
+	/* 233 */	NULL, /* getpgid */
+	/* 234 */	NULL, /* getsid */
+	/* 235 */	NULL, /* unimplemented sigaltstack */
+	/* 236 */	NULL, /* unimplemented */
+	/* 237 */	NULL, /* unimplemented */
+	/* 238 */	NULL, /* unimplemented */
+	/* 239 */	NULL, /* unimplemented */
+	/* 240 */	NULL, /* unimplemented */
+	/* 241 */	NULL, /* sysinfo */
+	/* 242 */	NULL, /* unimplemented */
+	/* 243 */	NULL, /* unimplemented */
+	/* 244 */	NULL, /* unimplemented osf1_sys_proplist_syscall */
+	/* 245 */	NULL, /* unimplemented */
+	/* 246 */	NULL, /* unimplemented */
+	/* 247 */	NULL, /* unimplemented */
+	/* 248 */	NULL, /* unimplemented */
+	/* 249 */	NULL, /* unimplemented */
+	/* 250 */	NULL, /* unimplemented */
+	/* 251 */	NULL, /* usleep_thread */
+	/* 252 */	NULL, /* unimplemented */
+	/* 253 */	NULL, /* unimplemented */
+	/* 254 */	NULL, /* unimplemented */
+	/* 255 */	NULL, /* unimplemented sysfs */
+	/* 256 */	NULL, /* getsysinfo */
+	/* 257 */	NULL, /* setsysinfo */
+	/* 258 */	NULL, /* unimplemented */
+	/* 259 */	NULL, /* unimplemented */
+	/* 260 */	NULL, /* unimplemented */
+	/* 261 */	NULL, /* fdatasync */
+	/* 262 */	NULL, /* unimplemented */
+	/* 263 */	NULL, /* unimplemented */
+	/* 264 */	NULL, /* unimplemented */
+	/* 265 */	NULL, /* unimplemented */
+	/* 266 */	NULL, /* unimplemented */
+	/* 267 */	NULL, /* unimplemented */
+	/* 268 */	NULL, /* unimplemented */
+	/* 269 */	NULL, /* unimplemented */
+	/* 270 */	NULL, /* unimplemented */
+	/* 271 */	NULL, /* unimplemented */
+	/* 272 */	NULL, /* unimplemented */
+	/* 273 */	NULL, /* unimplemented */
+	/* 274 */	NULL, /* unimplemented */
+	/* 275 */	NULL, /* unimplemented */
+	/* 276 */	NULL, /* unimplemented */
+	/* 277 */	NULL, /* unimplemented */
+	/* 278 */	NULL, /* unimplemented */
+	/* 279 */	NULL, /* unimplemented */
+	/* 280 */	NULL, /* unimplemented */
+	/* 281 */	NULL, /* unimplemented */
+	/* 282 */	NULL, /* unimplemented */
+	/* 283 */	NULL, /* unimplemented */
+	/* 284 */	NULL, /* unimplemented */
+	/* 285 */	NULL, /* unimplemented */
+	/* 286 */	NULL, /* unimplemented */
+	/* 287 */	NULL, /* unimplemented */
+	/* 288 */	NULL, /* unimplemented */
+	/* 289 */	NULL, /* unimplemented */
+	/* 290 */	NULL, /* unimplemented */
+	/* 291 */	NULL, /* unimplemented */
+	/* 292 */	NULL, /* unimplemented */
+	/* 293 */	NULL, /* unimplemented */
+	/* 294 */	NULL, /* unimplemented */
+	/* 295 */	NULL, /* unimplemented */
+	/* 296 */	NULL, /* unimplemented */
+	/* 297 */	NULL, /* unimplemented */
+	/* 298 */	NULL, /* unimplemented */
+	/* 299 */	NULL, /* unimplemented */
+	/* 300 */	NULL, /* unimplemented bdflush */
+	/* 301 */	NULL, /* unimplemented sethae */
+	/* 302 */	NULL, /* unimplemented mount */
+	/* 303 */	NULL, /* unimplemented old_adjtimex */
+	/* 304 */	NULL, /* swapoff */
+	/* 305 */	NULL, /* getdents */
+	/* 306 */	NULL, /* unimplemented alpha_create_module */
+	/* 307 */	NULL, /* unimplemented init_module */
+	/* 308 */	NULL, /* unimplemented delete_module */
+	/* 309 */	NULL, /* unimplemented get_kernel_syms */
+	/* 310 */	NULL, /* unimplemented syslog */
+	/* 311 */	NULL, /* reboot */
+	/* 312 */	NULL, /* clone */
+#ifdef EXEC_AOUT
+	/* 313 */	NULL, /* uselib */
+#else
+	/* 313 */	NULL, /* unimplemented sys_uselib */
+#endif
+	/* 314 */	NULL, /* mlock */
+	/* 315 */	NULL, /* munlock */
+	/* 316 */	NULL, /* mlockall */
+	/* 317 */	NULL, /* munlockall */
+	/* 318 */	NULL, /* sysinfo */
+	/* 319 */	NULL, /* __sysctl */
+	/* 320 */	NULL, /* unimplemented idle */
+	/* 321 */	NULL, /* unimplemented oldumount */
+	/* 322 */	NULL, /* swapon */
+	/* 323 */	NULL, /* times */
+	/* 324 */	NULL, /* personality */
+	/* 325 */	NULL, /* setfsuid */
+	/* 326 */	NULL, /* setfsgid */
+	/* 327 */	NULL, /* unimplemented ustat */
+	/* 328 */	NULL, /* statfs */
+	/* 329 */	NULL, /* fstatfs */
+	/* 330 */	NULL, /* sched_setparam */
+	/* 331 */	NULL, /* sched_getparam */
+	/* 332 */	NULL, /* sched_setscheduler */
+	/* 333 */	NULL, /* sched_getscheduler */
+	/* 334 */	NULL, /* sched_yield */
+	/* 335 */	NULL, /* sched_get_priority_max */
+	/* 336 */	NULL, /* sched_get_priority_min */
+	/* 337 */	NULL, /* unimplemented sched_rr_get_interval */
+	/* 338 */	NULL, /* unimplemented afs_syscall */
+	/* 339 */	NULL, /* uname */
+	/* 340 */	NULL, /* nanosleep */
+	/* 341 */	NULL, /* mremap */
+	/* 342 */	NULL, /* unimplemented nfsservctl */
+	/* 343 */	NULL, /* setresuid */
+	/* 344 */	NULL, /* getresuid */
+	/* 345 */	NULL, /* unimplemented pciconfig_read */
+	/* 346 */	NULL, /* unimplemented pciconfig_write */
+	/* 347 */	NULL, /* unimplemented query_module */
+	/* 348 */	NULL, /* unimplemented prctl */
+	/* 349 */	NULL, /* pread */
+	/* 350 */	NULL, /* pwrite */
+	/* 351 */	NULL, /* rt_sigreturn */
+	/* 352 */	NULL, /* rt_sigaction */
+	/* 353 */	NULL, /* rt_sigprocmask */
+	/* 354 */	NULL, /* rt_sigpending */
+	/* 355 */	NULL, /* rt_sigtimedwait */
+	/* 356 */	NULL, /* rt_queueinfo */
+	/* 357 */	NULL, /* rt_sigsuspend */
+	/* 358 */	NULL, /* select */
+	/* 359 */	NULL, /* gettimeofday */
+	/* 360 */	NULL, /* settimeofday */
+	/* 361 */	NULL, /* getitimer */
+	/* 362 */	NULL, /* setitimer */
+	/* 363 */	NULL, /* utimes */
+	/* 364 */	NULL, /* getrusage */
+	/* 365 */	NULL, /* wait4 */
+	/* 366 */	NULL, /* unimplemented adjtimex */
+	/* 367 */	NULL, /* __getcwd */
+	/* 368 */	NULL, /* unimplemented capget */
+	/* 369 */	NULL, /* unimplemented capset */
+	/* 370 */	NULL, /* unimplemented sendfile */
+	/* 371 */	NULL, /* unimplemented setresgid */
+	/* 372 */	NULL, /* unimplemented getresgid */
+	/* 373 */	NULL, /* unimplemented sys_dipc */
+	/* 374 */	NULL, /* unimplemented pivot_root */
+	/* 375 */	NULL, /* mincore */
+	/* 376 */	NULL, /* unimplemented pciconfig_iobase */
+	/* 377 */	NULL, /* getdents64 */
+	/* 378 */	NULL, /* gettid */
+	/* 379 */	NULL, /* unimplemented readahead */
+	/* 380 */	NULL, /* unimplemented / * unused * / */
+	/* 381 */	NULL, /* tkill */
+	/* 382 */	NULL, /* setxattr */
+	/* 383 */	NULL, /* lsetxattr */
+	/* 384 */	NULL, /* fsetxattr */
+	/* 385 */	NULL, /* getxattr */
+	/* 386 */	NULL, /* lgetxattr */
+	/* 387 */	NULL, /* fgetxattr */
+	/* 388 */	NULL, /* listxattr */
+	/* 389 */	NULL, /* llistxattr */
+	/* 390 */	NULL, /* flistxattr */
+	/* 391 */	NULL, /* removexattr */
+	/* 392 */	NULL, /* lremovexattr */
+	/* 393 */	NULL, /* fremovexattr */
+	/* 394 */	NULL, /* futex */
+	/* 395 */	NULL, /* sched_setaffinity */
+	/* 396 */	NULL, /* sched_getaffinity */
+	/* 397 */	NULL, /* unimplemented tuxcall */
+	/* 398 */	NULL, /* unimplemented io_setup */
+	/* 399 */	NULL, /* unimplemented io_destroy */
+	/* 400 */	NULL, /* unimplemented io_getevents */
+	/* 401 */	NULL, /* unimplemented io_submit */
+	/* 402 */	NULL, /* unimplemented io_cancel */
+	/* 403 */	NULL, /* unimplemented / * unused * / */
+	/* 404 */	NULL, /* unimplemented / * unused * / */
+	/* 405 */	NULL, /* exit_group */
+	/* 406 */	NULL, /* unimplemented lookup_dcookie */
+	/* 407 */	NULL, /* unimplemented sys_epoll_create */
+	/* 408 */	NULL, /* unimplemented sys_epoll_ctl */
+	/* 409 */	NULL, /* unimplemented sys_epoll_wait */
+	/* 410 */	NULL, /* unimplemented remap_file_pages */
+	/* 411 */	NULL, /* set_tid_address */
+	/* 412 */	NULL, /* unimplemented restart_syscall */
+	/* 413 */	NULL, /* fadvise64 */
+	/* 414 */	NULL, /* unimplemented timer_create */
+	/* 415 */	NULL, /* unimplemented timer_settime */
+	/* 416 */	NULL, /* unimplemented timer_gettime */
+	/* 417 */	NULL, /* unimplemented timer_getoverrun */
+	/* 418 */	NULL, /* unimplemented timer_delete */
+	/* 419 */	NULL, /* clock_settime */
+	/* 420 */	NULL, /* clock_gettime */
+	/* 421 */	NULL, /* clock_getres */
+	/* 422 */	NULL, /* clock_nanosleep */
+	/* 423 */	NULL, /* unimplemented semtimedop */
+	/* 424 */	NULL, /* tgkill */
+	/* 425 */	NULL, /* stat64 */
+	/* 426 */	NULL, /* lstat64 */
+	/* 427 */	NULL, /* fstat64 */
+	/* 428 */	NULL, /* unimplemented vserver */
+	/* 429 */	NULL, /* unimplemented mbind */
+	/* 430 */	NULL, /* unimplemented get_mempolicy */
+	/* 431 */	NULL, /* unimplemented set_mempolicy */
+	/* 432 */	NULL, /* unimplemented mq_open */
+	/* 433 */	NULL, /* unimplemented mq_unlink */
+	/* 434 */	NULL, /* unimplemented mq_timedsend */
+	/* 435 */	NULL, /* unimplemented mq_timedreceive */
+	/* 436 */	NULL, /* unimplemented mq_notify */
+	/* 437 */	NULL, /* unimplemented mq_getsetattr */
+	/* 438 */	NULL, /* unimplemented waitid */
+	/* 439 */	NULL, /* unimplemented add_key */
+	/* 440 */	NULL, /* unimplemented request_key */
+	/* 441 */	NULL, /* unimplemented keyctl */
+	/* 442 */	NULL, /* unimplemented ioprio_set */
+	/* 443 */	NULL, /* unimplemented ioprio_get */
+	/* 444 */	NULL, /* unimplemented inotify_init */
+	/* 445 */	NULL, /* unimplemented inotify_add_watch */
+	/* 446 */	NULL, /* unimplemented inotify_rm_watch */
+	/* 447 */	NULL, /* unimplemented fdatasync */
+	/* 448 */	NULL, /* unimplemented kexec_load */
+	/* 449 */	NULL, /* unimplemented migrate_pages */
+	/* 450 */	NULL, /* openat */
+	/* 451 */	NULL, /* mkdirat */
+	/* 452 */	NULL, /* mknodat */
+	/* 453 */	NULL, /* fchownat */
+	/* 454 */	NULL, /* unimplemented futimesat */
+	/* 455 */	NULL, /* fstatat64 */
+	/* 456 */	NULL, /* unlinkat */
+	/* 457 */	NULL, /* renameat */
+	/* 458 */	NULL, /* linkat */
+	/* 459 */	NULL, /* symlinkat */
+	/* 460 */	NULL, /* readlinkat */
+	/* 461 */	NULL, /* fchmodat */
+	/* 462 */	NULL, /* faccessat */
+	/* 463 */	NULL, /* unimplemented pselect6 */
+	/* 464 */	NULL, /* ppoll */
+	/* 465 */	NULL, /* unimplemented unshare */
+	/* 466 */	NULL, /* set_robust_list */
+	/* 467 */	NULL, /* get_robust_list */
+	/* 468 */	NULL, /* unimplemented splice */
+	/* 469 */	NULL, /* unimplemented sync_file_range */
+	/* 470 */	NULL, /* unimplemented tee */
+	/* 471 */	NULL, /* unimplemented vmsplice */
+	/* 472 */	NULL, /* unimplemented move_pages */
+	/* 473 */	NULL, /* unimplemented getcpu */
+	/* 474 */	NULL, /* unimplemented epoll_wait */
+	/* 475 */	NULL, /* utimensat */
+	/* 476 */	NULL, /* unimplemented signalfd */
+	/* 477 */	NULL, /* unimplemented timerfd */
+	/* 478 */	NULL, /* unimplemented eventfd */
+	/* 479 */	NULL, /* unimplemented recvmmsg */
+	/* 480 */	NULL, /* unimplemented fallocate */
+	/* 481 */	NULL, /* unimplemented timerfd_create */
+	/* 482 */	NULL, /* unimplemented timerfd_settime */
+	/* 483 */	NULL, /* unimplemented timerfd_gettime */
+	/* 484 */	NULL, /* unimplemented signalfd4 */
+	/* 485 */	NULL, /* unimplemented eventfd2 */
+	/* 486 */	NULL, /* unimplemented epoll_create1 */
+	/* 487 */	NULL, /* dup3 */
+	/* 488 */	NULL, /* pipe2 */
+	/* 489 */	NULL, /* unimplemented inotify_init1 */
+	/* 490 */	NULL, /* unimplemented preadv */
+	/* 491 */	NULL, /* unimplemented pwritev */
+	/* 492 */	NULL, /* unimplemented rt_tgsigqueueinfo */
+	/* 493 */	NULL, /* unimplemented perf_counter_open */
+	/* 494 */	NULL, /* filler */
+	/* 495 */	NULL, /* filler */
+	/* 496 */	NULL, /* filler */
+	/* 497 */	NULL, /* filler */
+	/* 498 */	NULL, /* filler */
+	/* 499 */	NULL, /* filler */
+	/* 500 */	NULL, /* filler */
+	/* 501 */	NULL, /* filler */
+	/* 502 */	NULL, /* filler */
+	/* 503 */	NULL, /* filler */
+	/* 504 */	NULL, /* filler */
+	/* 505 */	NULL, /* filler */
+	/* 506 */	NULL, /* filler */
+	/* 507 */	NULL, /* filler */
+	/* 508 */	NULL, /* filler */
+	/* 509 */	NULL, /* filler */
+	/* 510 */	NULL, /* filler */
+	/* 511 */	NULL, /* filler */
+};

Index: src/sys/compat/linux/arch/amd64/linux_syscall.h
diff -u src/sys/compat/linux/arch/amd64/linux_syscall.h:1.59 src/sys/compat/linux/arch/amd64/linux_syscall.h:1.60
--- src/sys/compat/linux/arch/amd64/linux_syscall.h:1.59	Tue Oct 27 07:16:00 2015
+++ src/sys/compat/linux/arch/amd64/linux_syscall.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.59 2015/10/27 07:16:00 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.60 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.56 2015/10/27 07:15:38 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.57 2016/07/24 13:22:01 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -288,7 +288,7 @@
 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
 #define	LINUX_SYS_symlink	88
 
-/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
+/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */
 #define	LINUX_SYS_readlink	89
 
 /* syscall: "chmod" ret: "int" args: "const char *" "linux_umode_t" */
@@ -621,7 +621,7 @@
 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
 #define	LINUX_SYS_symlinkat	266
 
-/* 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	267
 
 /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
Index: src/sys/compat/linux/arch/amd64/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.59 src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.60
--- src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.59	Tue Oct 27 07:16:00 2015
+++ src/sys/compat/linux/arch/amd64/linux_syscallargs.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.59 2015/10/27 07:16:00 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.60 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.56 2015/10/27 07:15:38 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.57 2016/07/24 13:22:01 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
Index: src/sys/compat/linux/arch/amd64/linux_syscalls.c
diff -u src/sys/compat/linux/arch/amd64/linux_syscalls.c:1.59 src/sys/compat/linux/arch/amd64/linux_syscalls.c:1.60
--- src/sys/compat/linux/arch/amd64/linux_syscalls.c:1.59	Tue Oct 27 07:16:00 2015
+++ src/sys/compat/linux/arch/amd64/linux_syscalls.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.59 2015/10/27 07:16:00 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.60 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.56 2015/10/27 07:15:38 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.57 2016/07/24 13:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.59 2015/10/27 07:16:00 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.60 2016/07/24 13:23:25 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
Index: src/sys/compat/linux/arch/amd64/linux_sysent.c
diff -u src/sys/compat/linux/arch/amd64/linux_sysent.c:1.59 src/sys/compat/linux/arch/amd64/linux_sysent.c:1.60
--- src/sys/compat/linux/arch/amd64/linux_sysent.c:1.59	Tue Oct 27 07:16:00 2015
+++ src/sys/compat/linux/arch/amd64/linux_sysent.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.59 2015/10/27 07:16:00 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.60 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.56 2015/10/27 07:15:38 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.57 2016/07/24 13:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.59 2015/10/27 07:16:00 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.60 2016/07/24 13:23:25 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"

Index: src/sys/compat/linux/arch/amd64/linux_systrace_args.c
diff -u src/sys/compat/linux/arch/amd64/linux_systrace_args.c:1.4 src/sys/compat/linux/arch/amd64/linux_systrace_args.c:1.5
--- src/sys/compat/linux/arch/amd64/linux_systrace_args.c:1.4	Tue Oct 27 07:16:00 2015
+++ src/sys/compat/linux/arch/amd64/linux_systrace_args.c	Sun Jul 24 13:23:25 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_systrace_args.c,v 1.4 2015/10/27 07:16:00 njoly Exp $ */
+/* $NetBSD: linux_systrace_args.c,v 1.5 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -5099,7 +5099,7 @@ systrace_return_setargdesc(int sysnum, i
 	/* sys_readlink */
 	case 89:
 		if (ndx == 0 || ndx == 1)
-			p = "int";
+			p = "ssize_t";
 		break;
 	/* sys_chmod */
 	case 90:
@@ -5622,7 +5622,7 @@ systrace_return_setargdesc(int sysnum, i
 	/* sys_readlinkat */
 	case 267:
 		if (ndx == 0 || ndx == 1)
-			p = "int";
+			p = "ssize_t";
 		break;
 	/* linux_sys_fchmodat */
 	case 268:

Index: src/sys/compat/linux/arch/arm/linux_syscall.h
diff -u src/sys/compat/linux/arch/arm/linux_syscall.h:1.68 src/sys/compat/linux/arch/arm/linux_syscall.h:1.69
--- src/sys/compat/linux/arch/arm/linux_syscall.h:1.68	Mon Mar 23 07:54:44 2015
+++ src/sys/compat/linux/arch/arm/linux_syscall.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.69 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.63 2015/03/23 07:50:03 ozaki-r Exp
+ * created from	NetBSD: syscalls.master,v 1.64 2016/07/24 13:22:01 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -236,7 +236,7 @@
 /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
 #define	LINUX_SYS_oolstat	84
 
-/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
+/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */
 #define	LINUX_SYS_readlink	85
 
 #ifdef EXEC_AOUT
@@ -679,7 +679,7 @@
 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
 #define	LINUX_SYS_symlinkat	331
 
-/* 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	332
 
 /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
Index: src/sys/compat/linux/arch/arm/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.68 src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.69
--- src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.68	Mon Mar 23 07:54:44 2015
+++ src/sys/compat/linux/arch/arm/linux_syscallargs.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.69 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.63 2015/03/23 07:50:03 ozaki-r Exp
+ * created from	NetBSD: syscalls.master,v 1.64 2016/07/24 13:22:01 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
Index: src/sys/compat/linux/arch/arm/linux_syscalls.c
diff -u src/sys/compat/linux/arch/arm/linux_syscalls.c:1.68 src/sys/compat/linux/arch/arm/linux_syscalls.c:1.69
--- src/sys/compat/linux/arch/arm/linux_syscalls.c:1.68	Mon Mar 23 07:54:44 2015
+++ src/sys/compat/linux/arch/arm/linux_syscalls.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.69 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.63 2015/03/23 07:50:03 ozaki-r Exp
+ * created from	NetBSD: syscalls.master,v 1.64 2016/07/24 13:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.69 2016/07/24 13:23:25 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -25,6 +25,8 @@ __KERNEL_RCSID(0, "$NetBSD: linux_syscal
 #include <compat/linux/common/linux_siginfo.h>
 #include <compat/linux/common/linux_machdep.h>
 #include <compat/linux/linux_syscallargs.h>
+#else /* _KERNEL_OPT */
+#include <sys/null.h>
 #endif /* _KERNEL_OPT */
 
 const char *const linux_syscallnames[] = {
@@ -546,3 +548,525 @@ const char *const linux_syscallnames[] =
 	/* 510 */	"# filler",
 	/* 511 */	"# filler",
 };
+
+
+/* libc style syscall names */
+const char *const altlinux_syscallnames[] = {
+	/*   0 */	NULL, /* nosys */
+	/*   1 */	NULL, /* exit */
+	/*   2 */	NULL, /* fork */
+	/*   3 */	NULL, /* read */
+	/*   4 */	NULL, /* write */
+	/*   5 */	NULL, /* open */
+	/*   6 */	NULL, /* close */
+	/*   7 */	NULL, /* waitpid */
+	/*   8 */	NULL, /* creat */
+	/*   9 */	NULL, /* link */
+	/*  10 */	NULL, /* unlink */
+	/*  11 */	NULL, /* execve */
+	/*  12 */	NULL, /* chdir */
+	/*  13 */	NULL, /* time */
+	/*  14 */	NULL, /* mknod */
+	/*  15 */	NULL, /* chmod */
+	/*  16 */	NULL, /* lchown16 */
+	/*  17 */	NULL, /* obsolete break */
+	/*  18 */	NULL, /* obsolete ostat */
+	/*  19 */	NULL, /* lseek */
+	/*  20 */	NULL, /* getpid */
+	/*  21 */	NULL, /* unimplemented mount */
+	/*  22 */	NULL, /* obsolete umount */
+	/*  23 */	NULL, /* setuid */
+	/*  24 */	NULL, /* getuid */
+	/*  25 */	NULL, /* stime */
+	/*  26 */	NULL, /* ptrace */
+	/*  27 */	NULL, /* alarm */
+	/*  28 */	NULL, /* obsolete ofstat */
+	/*  29 */	NULL, /* pause */
+	/*  30 */	NULL, /* utime */
+	/*  31 */	NULL, /* obsolete stty */
+	/*  32 */	NULL, /* obsolete gtty */
+	/*  33 */	NULL, /* access */
+	/*  34 */	NULL, /* nice */
+	/*  35 */	NULL, /* obsolete ftime */
+	/*  36 */	NULL, /* sync */
+	/*  37 */	NULL, /* kill */
+	/*  38 */	NULL, /* __posix_rename */
+	/*  39 */	NULL, /* mkdir */
+	/*  40 */	NULL, /* rmdir */
+	/*  41 */	NULL, /* dup */
+	/*  42 */	NULL, /* pipe */
+	/*  43 */	NULL, /* times */
+	/*  44 */	NULL, /* obsolete prof */
+	/*  45 */	NULL, /* brk */
+	/*  46 */	NULL, /* setgid */
+	/*  47 */	NULL, /* getgid */
+	/*  48 */	NULL, /* signal */
+	/*  49 */	NULL, /* geteuid */
+	/*  50 */	NULL, /* getegid */
+	/*  51 */	NULL, /* acct */
+	/*  52 */	NULL, /* unimplemented umount */
+	/*  53 */	NULL, /* obsolete lock */
+	/*  54 */	NULL, /* ioctl */
+	/*  55 */	NULL, /* fcntl */
+	/*  56 */	NULL, /* obsolete mpx */
+	/*  57 */	NULL, /* setpgid */
+	/*  58 */	NULL, /* obsolete ulimit */
+	/*  59 */	NULL, /* oldolduname */
+	/*  60 */	NULL, /* umask */
+	/*  61 */	NULL, /* chroot */
+	/*  62 */	NULL, /* unimplemented ustat */
+	/*  63 */	NULL, /* dup2 */
+	/*  64 */	NULL, /* getppid */
+	/*  65 */	NULL, /* getpgrp */
+	/*  66 */	NULL, /* setsid */
+	/*  67 */	NULL, /* sigaction */
+	/*  68 */	NULL, /* siggetmask */
+	/*  69 */	NULL, /* sigsetmask */
+	/*  70 */	NULL, /* setreuid16 */
+	/*  71 */	NULL, /* setregid16 */
+	/*  72 */	NULL, /* sigsuspend */
+	/*  73 */	NULL, /* sigpending */
+	/*  74 */	NULL, /* sethostname */
+	/*  75 */	NULL, /* setrlimit */
+	/*  76 */	NULL, /* getrlimit */
+	/*  77 */	NULL, /* getrusage */
+	/*  78 */	NULL, /* gettimeofday */
+	/*  79 */	NULL, /* settimeofday */
+	/*  80 */	NULL, /* getgroups16 */
+	/*  81 */	NULL, /* setgroups16 */
+	/*  82 */	NULL, /* oldselect */
+	/*  83 */	NULL, /* symlink */
+	/*  84 */	"lstat",
+	/*  85 */	NULL, /* readlink */
+#ifdef EXEC_AOUT
+	/*  86 */	NULL, /* uselib */
+#else
+	/*  86 */	NULL, /* excluded uselib */
+#endif
+	/*  87 */	NULL, /* swapon */
+	/*  88 */	NULL, /* reboot */
+	/*  89 */	NULL, /* readdir */
+	/*  90 */	NULL, /* old_mmap */
+	/*  91 */	NULL, /* munmap */
+	/*  92 */	NULL, /* truncate */
+	/*  93 */	NULL, /* ftruncate */
+	/*  94 */	NULL, /* fchmod */
+	/*  95 */	NULL, /* fchown16 */
+	/*  96 */	NULL, /* getpriority */
+	/*  97 */	NULL, /* setpriority */
+	/*  98 */	NULL, /* profil */
+	/*  99 */	NULL, /* statfs */
+	/* 100 */	NULL, /* fstatfs */
+	/* 101 */	NULL, /* unimplemented */
+	/* 102 */	NULL, /* socketcall */
+	/* 103 */	NULL, /* unimplemented syslog */
+	/* 104 */	NULL, /* setitimer */
+	/* 105 */	NULL, /* getitimer */
+	/* 106 */	NULL, /* stat */
+	/* 107 */	NULL, /* lstat */
+	/* 108 */	NULL, /* fstat */
+	/* 109 */	NULL, /* olduname */
+	/* 110 */	NULL, /* unimplemented */
+	/* 111 */	NULL, /* unimplemented vhangup */
+	/* 112 */	NULL, /* unimplemented idle */
+	/* 113 */	NULL, /* unimplemented syscall */
+	/* 114 */	NULL, /* wait4 */
+	/* 115 */	NULL, /* swapoff */
+	/* 116 */	NULL, /* sysinfo */
+	/* 117 */	NULL, /* ipc */
+	/* 118 */	NULL, /* fsync */
+	/* 119 */	NULL, /* sigreturn */
+	/* 120 */	NULL, /* clone */
+	/* 121 */	NULL, /* setdomainname */
+	/* 122 */	NULL, /* uname */
+	/* 123 */	NULL, /* unimplemented modify_ldt */
+	/* 124 */	NULL, /* unimplemented adjtimex */
+	/* 125 */	NULL, /* mprotect */
+	/* 126 */	NULL, /* sigprocmask */
+	/* 127 */	NULL, /* unimplemented create_module */
+	/* 128 */	NULL, /* unimplemented init_module */
+	/* 129 */	NULL, /* unimplemented delete_module */
+	/* 130 */	NULL, /* unimplemented get_kernel_syms */
+	/* 131 */	NULL, /* unimplemented quotactl */
+	/* 132 */	NULL, /* getpgid */
+	/* 133 */	NULL, /* fchdir */
+	/* 134 */	NULL, /* unimplemented bdflush */
+	/* 135 */	NULL, /* unimplemented sysfs */
+	/* 136 */	NULL, /* personality */
+	/* 137 */	NULL, /* unimplemented afs_syscall */
+	/* 138 */	NULL, /* setfsuid */
+	/* 139 */	NULL, /* setfsgid */
+	/* 140 */	NULL, /* llseek */
+	/* 141 */	NULL, /* getdents */
+	/* 142 */	NULL, /* select */
+	/* 143 */	NULL, /* flock */
+	/* 144 */	"msync",
+	/* 145 */	NULL, /* readv */
+	/* 146 */	NULL, /* writev */
+	/* 147 */	NULL, /* getsid */
+	/* 148 */	NULL, /* fdatasync */
+	/* 149 */	NULL, /* __sysctl */
+	/* 150 */	NULL, /* mlock */
+	/* 151 */	NULL, /* munlock */
+	/* 152 */	NULL, /* mlockall */
+	/* 153 */	NULL, /* munlockall */
+	/* 154 */	NULL, /* sched_setparam */
+	/* 155 */	NULL, /* sched_getparam */
+	/* 156 */	NULL, /* sched_setscheduler */
+	/* 157 */	NULL, /* sched_getscheduler */
+	/* 158 */	NULL, /* sched_yield */
+	/* 159 */	NULL, /* sched_get_priority_max */
+	/* 160 */	NULL, /* sched_get_priority_min */
+	/* 161 */	NULL, /* unimplemented sched_rr_get_interval */
+	/* 162 */	NULL, /* nanosleep */
+	/* 163 */	NULL, /* mremap */
+	/* 164 */	NULL, /* setresuid16 */
+	/* 165 */	NULL, /* getresuid16 */
+	/* 166 */	NULL, /* unimplemented */
+	/* 167 */	NULL, /* unimplemented query_module */
+	/* 168 */	NULL, /* poll */
+	/* 169 */	NULL, /* unimplemented nfsservctl */
+	/* 170 */	NULL, /* setresgid16 */
+	/* 171 */	NULL, /* getresgid16 */
+	/* 172 */	NULL, /* unimplemented prctl */
+	/* 173 */	NULL, /* unimplemented rt_sigreturn */
+	/* 174 */	NULL, /* rt_sigaction */
+	/* 175 */	NULL, /* rt_sigprocmask */
+	/* 176 */	NULL, /* rt_sigpending */
+	/* 177 */	NULL, /* rt_sigtimedwait */
+	/* 178 */	NULL, /* rt_queueinfo */
+	/* 179 */	NULL, /* rt_sigsuspend */
+	/* 180 */	NULL, /* pread */
+	/* 181 */	NULL, /* pwrite */
+	/* 182 */	NULL, /* chown16 */
+	/* 183 */	NULL, /* __getcwd */
+	/* 184 */	NULL, /* unimplemented capget */
+	/* 185 */	NULL, /* unimplemented capset */
+	/* 186 */	NULL, /* sigaltstack */
+	/* 187 */	NULL, /* unimplemented sendfile */
+	/* 188 */	NULL, /* unimplemented getpmsg */
+	/* 189 */	NULL, /* unimplemented putpmsg */
+	/* 190 */	NULL, /* vfork */
+	/* 191 */	NULL, /* ugetrlimit */
+#define linux_sys_mmap2_args linux_sys_mmap_args
+	/* 192 */	NULL, /* mmap2 */
+	/* 193 */	NULL, /* truncate64 */
+	/* 194 */	NULL, /* ftruncate64 */
+	/* 195 */	NULL, /* stat64 */
+	/* 196 */	NULL, /* lstat64 */
+	/* 197 */	NULL, /* fstat64 */
+	/* 198 */	NULL, /* __posix_lchown */
+	/* 199 */	"getuid",
+	/* 200 */	"getgid",
+	/* 201 */	"geteuid",
+	/* 202 */	"getegid",
+	/* 203 */	"setreuid",
+	/* 204 */	"setregid",
+	/* 205 */	"getgroups",
+	/* 206 */	"setgroups",
+	/* 207 */	"__posix_fchown",
+	/* 208 */	"setresuid",
+	/* 209 */	"getresuid",
+	/* 210 */	"setresgid",
+	/* 211 */	"getresgid",
+	/* 212 */	"__posix_chown",
+	/* 213 */	"setuid",
+	/* 214 */	"setgid",
+	/* 215 */	"setfsuid",
+	/* 216 */	"setfsgid",
+	/* 217 */	NULL, /* getdents64 */
+	/* 218 */	NULL, /* unimplemented pivot_root */
+	/* 219 */	NULL, /* mincore */
+	/* 220 */	NULL, /* madvise */
+	/* 221 */	NULL, /* fcntl64 */
+	/* 222 */	NULL, /* unimplemented / * for tux * / */
+	/* 223 */	NULL, /* unimplemented / * unused * / */
+	/* 224 */	NULL, /* gettid */
+	/* 225 */	NULL, /* unimplemented readahead */
+	/* 226 */	NULL, /* setxattr */
+	/* 227 */	NULL, /* lsetxattr */
+	/* 228 */	NULL, /* fsetxattr */
+	/* 229 */	NULL, /* getxattr */
+	/* 230 */	NULL, /* lgetxattr */
+	/* 231 */	NULL, /* fgetxattr */
+	/* 232 */	NULL, /* listxattr */
+	/* 233 */	NULL, /* llistxattr */
+	/* 234 */	NULL, /* flistxattr */
+	/* 235 */	NULL, /* removexattr */
+	/* 236 */	NULL, /* lremovexattr */
+	/* 237 */	NULL, /* fremovexattr */
+	/* 238 */	NULL, /* tkill */
+	/* 239 */	NULL, /* unimplemented sendfile64 */
+	/* 240 */	NULL, /* futex */
+	/* 241 */	NULL, /* sched_setaffinity */
+	/* 242 */	NULL, /* sched_getaffinity */
+	/* 243 */	NULL, /* unimplemented io_setup */
+	/* 244 */	NULL, /* unimplemented io_destroy */
+	/* 245 */	NULL, /* unimplemented io_getevents */
+	/* 246 */	NULL, /* unimplemented io_submit */
+	/* 247 */	NULL, /* unimplemented io_cancel */
+	/* 248 */	NULL, /* exit_group */
+	/* 249 */	NULL, /* unimplemented lookup_dcookie */
+	/* 250 */	NULL, /* unimplemented epoll_create */
+	/* 251 */	NULL, /* unimplemented epoll_ctl */
+	/* 252 */	NULL, /* unimplemented epoll_wait */
+	/* 253 */	NULL, /* unimplemented remap_file_pages */
+	/* 254 */	NULL, /* unimplemented set_thread_area */
+	/* 255 */	NULL, /* unimplemented get_thread_area */
+	/* 256 */	NULL, /* set_tid_address */
+	/* 257 */	NULL, /* unimplemented timer_create */
+	/* 258 */	NULL, /* unimplemented timer_settime */
+	/* 259 */	NULL, /* unimplemented timer_gettime */
+	/* 260 */	NULL, /* unimplemented timer_getoverrun */
+	/* 261 */	NULL, /* unimplemented timer_delete */
+	/* 262 */	NULL, /* clock_settime */
+	/* 263 */	NULL, /* clock_gettime */
+	/* 264 */	NULL, /* clock_getres */
+	/* 265 */	NULL, /* clock_nanosleep */
+	/* 266 */	NULL, /* statfs64 */
+	/* 267 */	NULL, /* fstatfs64 */
+	/* 268 */	NULL, /* tgkill */
+	/* 269 */	NULL, /* utimes */
+	/* 270 */	NULL, /* fadvise64_64 */
+	/* 271 */	NULL, /* unimplemented pciconfig_iobase */
+	/* 272 */	NULL, /* unimplemented pciconfig_read */
+	/* 273 */	NULL, /* unimplemented pciconfig_write */
+	/* 274 */	NULL, /* unimplemented mq_open */
+	/* 275 */	NULL, /* unimplemented mq_unlink */
+	/* 276 */	NULL, /* unimplemented mq_timedsend */
+	/* 277 */	NULL, /* unimplemented mq_timedreceive */
+	/* 278 */	NULL, /* unimplemented mq_notify */
+	/* 279 */	NULL, /* unimplemented mq_getsetattr */
+	/* 280 */	NULL, /* unimplemented waitid */
+	/* 281 */	NULL, /* unimplemented socket */
+	/* 282 */	NULL, /* unimplemented bind */
+	/* 283 */	NULL, /* unimplemented connect */
+	/* 284 */	NULL, /* unimplemented listen */
+	/* 285 */	NULL, /* unimplemented accept */
+	/* 286 */	NULL, /* unimplemented getsockname */
+	/* 287 */	NULL, /* unimplemented getpeername */
+	/* 288 */	NULL, /* unimplemented socketpair */
+	/* 289 */	NULL, /* unimplemented send */
+	/* 290 */	NULL, /* unimplemented sendto */
+	/* 291 */	NULL, /* unimplemented recv */
+	/* 292 */	NULL, /* unimplemented recvfrom */
+	/* 293 */	NULL, /* unimplemented shutdown */
+	/* 294 */	NULL, /* unimplemented setsockopt */
+	/* 295 */	NULL, /* unimplemented getsockopt */
+	/* 296 */	NULL, /* unimplemented sendmsg */
+	/* 297 */	NULL, /* unimplemented recvmsg */
+	/* 298 */	NULL, /* unimplemented semop */
+	/* 299 */	NULL, /* unimplemented semget */
+	/* 300 */	NULL, /* unimplemented semctl */
+	/* 301 */	NULL, /* unimplemented msgsnd */
+	/* 302 */	NULL, /* unimplemented msgrcv */
+	/* 303 */	NULL, /* unimplemented msgget */
+	/* 304 */	NULL, /* unimplemented msgctl */
+	/* 305 */	NULL, /* unimplemented shmat */
+	/* 306 */	NULL, /* unimplemented shmdt */
+	/* 307 */	NULL, /* unimplemented shmget */
+	/* 308 */	NULL, /* unimplemented shmctl */
+	/* 309 */	NULL, /* unimplemented add_key */
+	/* 310 */	NULL, /* unimplemented request_key */
+	/* 311 */	NULL, /* unimplemented keyctl */
+	/* 312 */	NULL, /* unimplemented semtimedop */
+	/* 313 */	NULL, /* unimplemented vserver */
+	/* 314 */	NULL, /* unimplemented ioptio_set */
+	/* 315 */	NULL, /* unimplemented ioptio_get */
+	/* 316 */	NULL, /* unimplemented inotify_init */
+	/* 317 */	NULL, /* unimplemented inotify_add_watch */
+	/* 318 */	NULL, /* unimplemented inotify_rm_watch */
+	/* 319 */	NULL, /* unimplemented mbind */
+	/* 320 */	NULL, /* unimplemented get_mempolicy */
+	/* 321 */	NULL, /* unimplemented set_mempolicy */
+	/* 322 */	NULL, /* openat */
+	/* 323 */	NULL, /* mkdirat */
+	/* 324 */	NULL, /* mknodat */
+	/* 325 */	NULL, /* fchownat */
+	/* 326 */	NULL, /* unimplemented futimesat */
+	/* 327 */	NULL, /* fstatat64 */
+	/* 328 */	NULL, /* unlinkat */
+	/* 329 */	NULL, /* renameat */
+	/* 330 */	NULL, /* linkat */
+	/* 331 */	NULL, /* symlinkat */
+	/* 332 */	NULL, /* readlinkat */
+	/* 333 */	NULL, /* fchmodat */
+	/* 334 */	NULL, /* faccessat */
+	/* 335 */	NULL, /* unimplemented pselect6 */
+	/* 336 */	NULL, /* ppoll */
+	/* 337 */	NULL, /* unimplemented unshare */
+	/* 338 */	NULL, /* set_robust_list */
+	/* 339 */	NULL, /* get_robust_list */
+	/* 340 */	NULL, /* unimplemented splice */
+	/* 341 */	NULL, /* unimplemented sync_file_range2 */
+	/* 342 */	NULL, /* unimplemented tee */
+	/* 343 */	NULL, /* unimplemented vmsplice */
+	/* 344 */	NULL, /* unimplemented move_pages */
+	/* 345 */	NULL, /* unimplemented getcpu */
+	/* 346 */	NULL, /* unimplemented epoll_wait */
+	/* 347 */	NULL, /* unimplemented kexec_load */
+	/* 348 */	NULL, /* utimensat */
+	/* 349 */	NULL, /* unimplemented signalfd */
+	/* 350 */	NULL, /* unimplemented timerfd_create */
+	/* 351 */	NULL, /* unimplemented eventfd */
+	/* 352 */	NULL, /* unimplemented fallocate */
+	/* 353 */	NULL, /* unimplemented timerfd_settime */
+	/* 354 */	NULL, /* unimplemented timerfd_gettime */
+	/* 355 */	NULL, /* unimplemented signalfd4 */
+	/* 356 */	NULL, /* unimplemented eventfd2 */
+	/* 357 */	NULL, /* unimplemented epoll_create1 */
+	/* 358 */	NULL, /* dup3 */
+	/* 359 */	NULL, /* pipe2 */
+	/* 360 */	NULL, /* unimplemented inotify_init1 */
+	/* 361 */	NULL, /* unimplemented preadv */
+	/* 362 */	NULL, /* unimplemented pwritev */
+	/* 363 */	NULL, /* unimplemented rt_tgsigqueueinfo */
+	/* 364 */	NULL, /* unimplemented perf_counter_open */
+	/* 365 */	NULL, /* unimplemented recvmmsg */
+	/* 366 */	NULL, /* unimplemented */
+	/* 367 */	NULL, /* unimplemented */
+	/* 368 */	NULL, /* unimplemented */
+	/* 369 */	NULL, /* unimplemented */
+	/* 370 */	NULL, /* unimplemented */
+	/* 371 */	NULL, /* unimplemented */
+	/* 372 */	NULL, /* unimplemented */
+	/* 373 */	NULL, /* unimplemented */
+	/* 374 */	NULL, /* unimplemented */
+	/* 375 */	NULL, /* unimplemented */
+	/* 376 */	NULL, /* unimplemented */
+	/* 377 */	NULL, /* unimplemented */
+	/* 378 */	NULL, /* unimplemented */
+	/* 379 */	NULL, /* unimplemented */
+	/* 380 */	NULL, /* unimplemented */
+	/* 381 */	NULL, /* unimplemented */
+	/* 382 */	NULL, /* unimplemented */
+	/* 383 */	NULL, /* unimplemented */
+	/* 384 */	NULL, /* unimplemented / * base * / */
+	/* 385 */	NULL, /* breakpoint */
+	/* 386 */	NULL, /* cacheflush */
+	/* 387 */	NULL, /* unimplemented usr26 */
+	/* 388 */	NULL, /* unimplemented usr32 */
+	/* 389 */	NULL, /* set_tls */
+	/* 390 */	NULL, /* filler */
+	/* 391 */	NULL, /* filler */
+	/* 392 */	NULL, /* filler */
+	/* 393 */	NULL, /* filler */
+	/* 394 */	NULL, /* filler */
+	/* 395 */	NULL, /* filler */
+	/* 396 */	NULL, /* filler */
+	/* 397 */	NULL, /* filler */
+	/* 398 */	NULL, /* filler */
+	/* 399 */	NULL, /* filler */
+	/* 400 */	NULL, /* filler */
+	/* 401 */	NULL, /* filler */
+	/* 402 */	NULL, /* filler */
+	/* 403 */	NULL, /* filler */
+	/* 404 */	NULL, /* filler */
+	/* 405 */	NULL, /* filler */
+	/* 406 */	NULL, /* filler */
+	/* 407 */	NULL, /* filler */
+	/* 408 */	NULL, /* filler */
+	/* 409 */	NULL, /* filler */
+	/* 410 */	NULL, /* filler */
+	/* 411 */	NULL, /* filler */
+	/* 412 */	NULL, /* filler */
+	/* 413 */	NULL, /* filler */
+	/* 414 */	NULL, /* filler */
+	/* 415 */	NULL, /* filler */
+	/* 416 */	NULL, /* filler */
+	/* 417 */	NULL, /* filler */
+	/* 418 */	NULL, /* filler */
+	/* 419 */	NULL, /* filler */
+	/* 420 */	NULL, /* filler */
+	/* 421 */	NULL, /* filler */
+	/* 422 */	NULL, /* filler */
+	/* 423 */	NULL, /* filler */
+	/* 424 */	NULL, /* filler */
+	/* 425 */	NULL, /* filler */
+	/* 426 */	NULL, /* filler */
+	/* 427 */	NULL, /* filler */
+	/* 428 */	NULL, /* filler */
+	/* 429 */	NULL, /* filler */
+	/* 430 */	NULL, /* filler */
+	/* 431 */	NULL, /* filler */
+	/* 432 */	NULL, /* filler */
+	/* 433 */	NULL, /* filler */
+	/* 434 */	NULL, /* filler */
+	/* 435 */	NULL, /* filler */
+	/* 436 */	NULL, /* filler */
+	/* 437 */	NULL, /* filler */
+	/* 438 */	NULL, /* filler */
+	/* 439 */	NULL, /* filler */
+	/* 440 */	NULL, /* filler */
+	/* 441 */	NULL, /* filler */
+	/* 442 */	NULL, /* filler */
+	/* 443 */	NULL, /* filler */
+	/* 444 */	NULL, /* filler */
+	/* 445 */	NULL, /* filler */
+	/* 446 */	NULL, /* filler */
+	/* 447 */	NULL, /* filler */
+	/* 448 */	NULL, /* filler */
+	/* 449 */	NULL, /* filler */
+	/* 450 */	NULL, /* filler */
+	/* 451 */	NULL, /* filler */
+	/* 452 */	NULL, /* filler */
+	/* 453 */	NULL, /* filler */
+	/* 454 */	NULL, /* filler */
+	/* 455 */	NULL, /* filler */
+	/* 456 */	NULL, /* filler */
+	/* 457 */	NULL, /* filler */
+	/* 458 */	NULL, /* filler */
+	/* 459 */	NULL, /* filler */
+	/* 460 */	NULL, /* filler */
+	/* 461 */	NULL, /* filler */
+	/* 462 */	NULL, /* filler */
+	/* 463 */	NULL, /* filler */
+	/* 464 */	NULL, /* filler */
+	/* 465 */	NULL, /* filler */
+	/* 466 */	NULL, /* filler */
+	/* 467 */	NULL, /* filler */
+	/* 468 */	NULL, /* filler */
+	/* 469 */	NULL, /* filler */
+	/* 470 */	NULL, /* filler */
+	/* 471 */	NULL, /* filler */
+	/* 472 */	NULL, /* filler */
+	/* 473 */	NULL, /* filler */
+	/* 474 */	NULL, /* filler */
+	/* 475 */	NULL, /* filler */
+	/* 476 */	NULL, /* filler */
+	/* 477 */	NULL, /* filler */
+	/* 478 */	NULL, /* filler */
+	/* 479 */	NULL, /* filler */
+	/* 480 */	NULL, /* filler */
+	/* 481 */	NULL, /* filler */
+	/* 482 */	NULL, /* filler */
+	/* 483 */	NULL, /* filler */
+	/* 484 */	NULL, /* filler */
+	/* 485 */	NULL, /* filler */
+	/* 486 */	NULL, /* filler */
+	/* 487 */	NULL, /* filler */
+	/* 488 */	NULL, /* filler */
+	/* 489 */	NULL, /* filler */
+	/* 490 */	NULL, /* filler */
+	/* 491 */	NULL, /* filler */
+	/* 492 */	NULL, /* filler */
+	/* 493 */	NULL, /* filler */
+	/* 494 */	NULL, /* filler */
+	/* 495 */	NULL, /* filler */
+	/* 496 */	NULL, /* filler */
+	/* 497 */	NULL, /* filler */
+	/* 498 */	NULL, /* filler */
+	/* 499 */	NULL, /* filler */
+	/* 500 */	NULL, /* filler */
+	/* 501 */	NULL, /* filler */
+	/* 502 */	NULL, /* filler */
+	/* 503 */	NULL, /* filler */
+	/* 504 */	NULL, /* filler */
+	/* 505 */	NULL, /* filler */
+	/* 506 */	NULL, /* filler */
+	/* 507 */	NULL, /* filler */
+	/* 508 */	NULL, /* filler */
+	/* 509 */	NULL, /* filler */
+	/* 510 */	NULL, /* filler */
+	/* 511 */	NULL, /* filler */
+};
Index: src/sys/compat/linux/arch/arm/linux_sysent.c
diff -u src/sys/compat/linux/arch/arm/linux_sysent.c:1.68 src/sys/compat/linux/arch/arm/linux_sysent.c:1.69
--- src/sys/compat/linux/arch/arm/linux_sysent.c:1.68	Mon Mar 23 07:54:44 2015
+++ src/sys/compat/linux/arch/arm/linux_sysent.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.69 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.63 2015/03/23 07:50:03 ozaki-r Exp
+ * created from	NetBSD: syscalls.master,v 1.64 2016/07/24 13:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.69 2016/07/24 13:23:25 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/poll.h>

Index: src/sys/compat/linux/arch/arm/linux_systrace_args.c
diff -u src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.1 src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.2
--- src/sys/compat/linux/arch/arm/linux_systrace_args.c:1.1	Mon Mar 23 07:54:44 2015
+++ src/sys/compat/linux/arch/arm/linux_systrace_args.c	Sun Jul 24 13:23:25 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_systrace_args.c,v 1.1 2015/03/23 07:54:44 ozaki-r Exp $ */
+/* $NetBSD: linux_systrace_args.c,v 1.2 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -5227,7 +5227,7 @@ systrace_return_setargdesc(int sysnum, i
 	/* sys_readlink */
 	case 85:
 		if (ndx == 0 || ndx == 1)
-			p = "int";
+			p = "ssize_t";
 		break;
 #ifdef EXEC_AOUT
 	/* linux_sys_uselib */
@@ -5937,7 +5937,7 @@ systrace_return_setargdesc(int sysnum, i
 	/* sys_readlinkat */
 	case 332:
 		if (ndx == 0 || ndx == 1)
-			p = "int";
+			p = "ssize_t";
 		break;
 	/* linux_sys_fchmodat */
 	case 333:

Index: src/sys/compat/linux/arch/i386/linux_syscall.h
diff -u src/sys/compat/linux/arch/i386/linux_syscall.h:1.107 src/sys/compat/linux/arch/i386/linux_syscall.h:1.108
--- src/sys/compat/linux/arch/i386/linux_syscall.h:1.107	Thu Sep 24 14:42:45 2015
+++ src/sys/compat/linux/arch/i386/linux_syscall.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.107 2015/09/24 14:42:45 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.108 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.120 2015/03/23 07:30:15 ozaki-r Exp
+ * created from	NetBSD: syscalls.master,v 1.121 2016/07/24 13:22:01 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -238,7 +238,7 @@
 /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
 #define	LINUX_SYS_oolstat	84
 
-/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
+/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */
 #define	LINUX_SYS_readlink	85
 
 #ifdef EXEC_AOUT
@@ -701,7 +701,7 @@
 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
 #define	LINUX_SYS_symlinkat	304
 
-/* 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	305
 
 /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
Index: src/sys/compat/linux/arch/i386/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/i386/linux_syscallargs.h:1.107 src/sys/compat/linux/arch/i386/linux_syscallargs.h:1.108
--- src/sys/compat/linux/arch/i386/linux_syscallargs.h:1.107	Thu Sep 24 14:42:45 2015
+++ src/sys/compat/linux/arch/i386/linux_syscallargs.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.107 2015/09/24 14:42:45 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.108 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.120 2015/03/23 07:30:15 ozaki-r Exp
+ * created from	NetBSD: syscalls.master,v 1.121 2016/07/24 13:22:01 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
Index: src/sys/compat/linux/arch/i386/linux_sysent.c
diff -u src/sys/compat/linux/arch/i386/linux_sysent.c:1.107 src/sys/compat/linux/arch/i386/linux_sysent.c:1.108
--- src/sys/compat/linux/arch/i386/linux_sysent.c:1.107	Thu Sep 24 14:42:45 2015
+++ src/sys/compat/linux/arch/i386/linux_sysent.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.107 2015/09/24 14:42:45 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.108 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.120 2015/03/23 07:30:15 ozaki-r Exp
+ * created from	NetBSD: syscalls.master,v 1.121 2016/07/24 13:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.107 2015/09/24 14:42:45 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.108 2016/07/24 13:23:25 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/poll.h>

Index: src/sys/compat/linux/arch/i386/linux_syscalls.c
diff -u src/sys/compat/linux/arch/i386/linux_syscalls.c:1.108 src/sys/compat/linux/arch/i386/linux_syscalls.c:1.109
--- src/sys/compat/linux/arch/i386/linux_syscalls.c:1.108	Thu Sep 24 14:42:45 2015
+++ src/sys/compat/linux/arch/i386/linux_syscalls.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.108 2015/09/24 14:42:45 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.109 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.120 2015/03/23 07:30:15 ozaki-r Exp
+ * created from	NetBSD: syscalls.master,v 1.121 2016/07/24 13:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.108 2015/09/24 14:42:45 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.109 2016/07/24 13:23:25 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>

Index: src/sys/compat/linux/arch/i386/linux_systrace_args.c
diff -u src/sys/compat/linux/arch/i386/linux_systrace_args.c:1.3 src/sys/compat/linux/arch/i386/linux_systrace_args.c:1.4
--- src/sys/compat/linux/arch/i386/linux_systrace_args.c:1.3	Thu Sep 24 14:42:45 2015
+++ src/sys/compat/linux/arch/i386/linux_systrace_args.c	Sun Jul 24 13:23:25 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_systrace_args.c,v 1.3 2015/09/24 14:42:45 christos Exp $ */
+/* $NetBSD: linux_systrace_args.c,v 1.4 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -5346,7 +5346,7 @@ systrace_return_setargdesc(int sysnum, i
 	/* sys_readlink */
 	case 85:
 		if (ndx == 0 || ndx == 1)
-			p = "int";
+			p = "ssize_t";
 		break;
 #ifdef EXEC_AOUT
 	/* linux_sys_uselib */
@@ -6091,7 +6091,7 @@ systrace_return_setargdesc(int sysnum, i
 	/* sys_readlinkat */
 	case 305:
 		if (ndx == 0 || ndx == 1)
-			p = "int";
+			p = "ssize_t";
 		break;
 	/* linux_sys_fchmodat */
 	case 306:

Index: src/sys/compat/linux/arch/m68k/linux_syscall.h
diff -u src/sys/compat/linux/arch/m68k/linux_syscall.h:1.97 src/sys/compat/linux/arch/m68k/linux_syscall.h:1.98
--- src/sys/compat/linux/arch/m68k/linux_syscall.h:1.97	Thu Sep 24 14:42:45 2015
+++ src/sys/compat/linux/arch/m68k/linux_syscall.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.97 2015/09/24 14:42:45 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.98 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.89 2014/11/22 13:18:45 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.90 2016/07/24 13:22:01 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -242,7 +242,7 @@
 
 #else
 #endif
-/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
+/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */
 #define	LINUX_SYS_readlink	85
 
 #ifdef EXEC_AOUT
@@ -684,7 +684,7 @@
 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
 #define	LINUX_SYS_symlinkat	297
 
-/* 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	298
 
 /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
Index: src/sys/compat/linux/arch/m68k/linux_syscalls.c
diff -u src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.97 src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.98
--- src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.97	Thu Sep 24 14:42:45 2015
+++ src/sys/compat/linux/arch/m68k/linux_syscalls.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.97 2015/09/24 14:42:45 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.98 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.89 2014/11/22 13:18:45 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.90 2016/07/24 13:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.97 2015/09/24 14:42:45 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.98 2016/07/24 13:23:25 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
Index: src/sys/compat/linux/arch/m68k/linux_sysent.c
diff -u src/sys/compat/linux/arch/m68k/linux_sysent.c:1.97 src/sys/compat/linux/arch/m68k/linux_sysent.c:1.98
--- src/sys/compat/linux/arch/m68k/linux_sysent.c:1.97	Thu Sep 24 14:42:45 2015
+++ src/sys/compat/linux/arch/m68k/linux_sysent.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.97 2015/09/24 14:42:45 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.98 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.89 2014/11/22 13:18:45 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.90 2016/07/24 13:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.97 2015/09/24 14:42:45 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.98 2016/07/24 13:23:25 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"

Index: src/sys/compat/linux/arch/m68k/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.96 src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.97
--- src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.96	Thu Sep 24 14:42:45 2015
+++ src/sys/compat/linux/arch/m68k/linux_syscallargs.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.96 2015/09/24 14:42:45 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.97 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.89 2014/11/22 13:18:45 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.90 2016/07/24 13:22:01 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_

Index: src/sys/compat/linux/arch/mips/linux_syscall.h
diff -u src/sys/compat/linux/arch/mips/linux_syscall.h:1.66 src/sys/compat/linux/arch/mips/linux_syscall.h:1.67
--- src/sys/compat/linux/arch/mips/linux_syscall.h:1.66	Tue Oct 27 06:30:10 2015
+++ src/sys/compat/linux/arch/mips/linux_syscall.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.66 2015/10/27 06:30:10 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.67 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.59 2015/10/27 06:29:35 njoly Exp  
+ * created from	NetBSD: syscalls.master,v 1.60 2016/07/24 13:22:01 njoly Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -226,7 +226,7 @@
 /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
 #define	LINUX_SYS_oolstat	84
 
-/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
+/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */
 #define	LINUX_SYS_readlink	85
 
 /* syscall: "swapon" ret: "int" args: "char *" */
@@ -658,7 +658,7 @@
 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
 #define	LINUX_SYS_symlinkat	297
 
-/* 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	298
 
 /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */

Index: src/sys/compat/linux/arch/mips/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.65 src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.66
--- src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.65	Tue Oct 27 06:30:10 2015
+++ src/sys/compat/linux/arch/mips/linux_syscallargs.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.65 2015/10/27 06:30:10 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.66 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.59 2015/10/27 06:29:35 njoly Exp  
+ * created from	NetBSD: syscalls.master,v 1.60 2016/07/24 13:22:01 njoly Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
Index: src/sys/compat/linux/arch/mips/linux_syscalls.c
diff -u src/sys/compat/linux/arch/mips/linux_syscalls.c:1.65 src/sys/compat/linux/arch/mips/linux_syscalls.c:1.66
--- src/sys/compat/linux/arch/mips/linux_syscalls.c:1.65	Tue Oct 27 06:30:10 2015
+++ src/sys/compat/linux/arch/mips/linux_syscalls.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.65 2015/10/27 06:30:10 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.66 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.59 2015/10/27 06:29:35 njoly Exp  
+ * created from	NetBSD: syscalls.master,v 1.60 2016/07/24 13:22:01 njoly Exp  
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.65 2015/10/27 06:30:10 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.66 2016/07/24 13:23:25 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
Index: src/sys/compat/linux/arch/mips/linux_sysent.c
diff -u src/sys/compat/linux/arch/mips/linux_sysent.c:1.65 src/sys/compat/linux/arch/mips/linux_sysent.c:1.66
--- src/sys/compat/linux/arch/mips/linux_sysent.c:1.65	Tue Oct 27 06:30:10 2015
+++ src/sys/compat/linux/arch/mips/linux_sysent.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.65 2015/10/27 06:30:10 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.66 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.59 2015/10/27 06:29:35 njoly Exp  
+ * created from	NetBSD: syscalls.master,v 1.60 2016/07/24 13:22:01 njoly Exp  
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.65 2015/10/27 06:30:10 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.66 2016/07/24 13:23:25 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/poll.h>

Index: src/sys/compat/linux/arch/powerpc/linux_syscall.h
diff -u src/sys/compat/linux/arch/powerpc/linux_syscall.h:1.75 src/sys/compat/linux/arch/powerpc/linux_syscall.h:1.76
--- src/sys/compat/linux/arch/powerpc/linux_syscall.h:1.75	Tue Oct 27 06:30:10 2015
+++ src/sys/compat/linux/arch/powerpc/linux_syscall.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.75 2015/10/27 06:30:10 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.76 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.68 2015/10/27 06:29:35 njoly Exp  
+ * created from	NetBSD: syscalls.master,v 1.69 2016/07/24 13:22:01 njoly Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -236,7 +236,7 @@
 /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
 #define	LINUX_SYS_oolstat	84
 
-/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
+/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */
 #define	LINUX_SYS_readlink	85
 
 #ifdef EXEC_AOUT
@@ -630,7 +630,7 @@
 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
 #define	LINUX_SYS_symlinkat	295
 
-/* 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	296
 
 /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
Index: src/sys/compat/linux/arch/powerpc/linux_sysent.c
diff -u src/sys/compat/linux/arch/powerpc/linux_sysent.c:1.75 src/sys/compat/linux/arch/powerpc/linux_sysent.c:1.76
--- src/sys/compat/linux/arch/powerpc/linux_sysent.c:1.75	Tue Oct 27 06:30:10 2015
+++ src/sys/compat/linux/arch/powerpc/linux_sysent.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.75 2015/10/27 06:30:10 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.76 2016/07/24 13:23:25 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.68 2015/10/27 06:29:35 njoly Exp  
+ * created from	NetBSD: syscalls.master,v 1.69 2016/07/24 13:22:01 njoly Exp  
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.75 2015/10/27 06:30:10 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.76 2016/07/24 13:23:25 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/poll.h>

Index: src/sys/compat/linux/arch/powerpc/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/powerpc/linux_syscallargs.h:1.74 src/sys/compat/linux/arch/powerpc/linux_syscallargs.h:1.75
--- src/sys/compat/linux/arch/powerpc/linux_syscallargs.h:1.74	Tue Oct 27 06:30:10 2015
+++ src/sys/compat/linux/arch/powerpc/linux_syscallargs.h	Sun Jul 24 13:23:25 2016
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.74 2015/10/27 06:30:10 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.75 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.68 2015/10/27 06:29:35 njoly Exp  
+ * created from	NetBSD: syscalls.master,v 1.69 2016/07/24 13:22:01 njoly Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
Index: src/sys/compat/linux/arch/powerpc/linux_syscalls.c
diff -u src/sys/compat/linux/arch/powerpc/linux_syscalls.c:1.74 src/sys/compat/linux/arch/powerpc/linux_syscalls.c:1.75
--- src/sys/compat/linux/arch/powerpc/linux_syscalls.c:1.74	Tue Oct 27 06:30:10 2015
+++ src/sys/compat/linux/arch/powerpc/linux_syscalls.c	Sun Jul 24 13:23:25 2016
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.74 2015/10/27 06:30:10 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.75 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.68 2015/10/27 06:29:35 njoly Exp  
+ * created from	NetBSD: syscalls.master,v 1.69 2016/07/24 13:22:01 njoly Exp  
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.74 2015/10/27 06:30:10 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.75 2016/07/24 13:23:25 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>

Reply via email to