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
details: https://anonhg.NetBSD.org/src/rev/e6b221dc0562
branches: trunk
changeset: 350032:e6b221dc0562
user: manu <manu%NetBSD.org@localhost>
date: Mon Jan 02 16:32:38 2017 +0000
description:
Regen
diffstat:
sys/compat/linux/arch/alpha/linux_syscall.h | 5 +-
sys/compat/linux/arch/alpha/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/alpha/linux_syscalls.c | 549 +---
sys/compat/linux/arch/alpha/linux_sysent.c | 3004 +++++++-------------
sys/compat/linux/arch/amd64/linux_syscall.h | 5 +-
sys/compat/linux/arch/amd64/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/amd64/linux_syscalls.c | 552 +---
sys/compat/linux/arch/amd64/linux_sysent.c | 2960 +++++++-------------
sys/compat/linux/arch/arm/linux_syscall.h | 5 +-
sys/compat/linux/arch/arm/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/arm/linux_syscalls.c | 530 +---
sys/compat/linux/arch/arm/linux_sysent.c | 2933 +++++++-------------
sys/compat/linux/arch/i386/linux_syscall.h | 5 +-
sys/compat/linux/arch/i386/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/i386/linux_syscalls.c | 530 +---
sys/compat/linux/arch/i386/linux_sysent.c | 2944 +++++++-------------
sys/compat/linux/arch/m68k/linux_syscall.h | 5 +-
sys/compat/linux/arch/m68k/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/m68k/linux_syscalls.c | 546 +---
sys/compat/linux/arch/m68k/linux_sysent.c | 2958 +++++++-------------
sys/compat/linux/arch/mips/linux_syscall.h | 5 +-
sys/compat/linux/arch/mips/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/mips/linux_syscalls.c | 525 +---
sys/compat/linux/arch/mips/linux_sysent.c | 2933 +++++++-------------
sys/compat/linux/arch/powerpc/linux_syscall.h | 5 +-
sys/compat/linux/arch/powerpc/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/powerpc/linux_syscalls.c | 530 +---
sys/compat/linux/arch/powerpc/linux_sysent.c | 2912 +++++++-------------
28 files changed, 7399 insertions(+), 17140 deletions(-)
diffs (truncated from 25204 to 300 lines):
diff -r 31678236efee -r e6b221dc0562 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h Mon Jan 02 16:32:09 2017 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h Mon Jan 02 16:32:38 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.h,v 1.99 2016/07/24 13:23:25 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.100 2017/01/02 16:32:38 manu Exp $ */
/*
* System call numbers.
@@ -639,6 +639,9 @@
/* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */
#define LINUX_SYS_faccessat 462
+/* syscall: "pselect6" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct linux_timespec *" "linux_sized_sigset_t *" */
+#define LINUX_SYS_pselect6 463
+
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
#define LINUX_SYS_ppoll 464
diff -r 31678236efee -r e6b221dc0562 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h Mon Jan 02 16:32:09 2017 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h Mon Jan 02 16:32:38 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscallargs.h,v 1.98 2016/07/24 13:23:25 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.99 2017/01/02 16:32:38 manu Exp $ */
/*
* System call argument lists.
@@ -1075,6 +1075,16 @@
};
check_syscall_args(linux_sys_faccessat)
+struct linux_sys_pselect6_args {
+ syscallarg(int) nfds;
+ syscallarg(fd_set *) readfds;
+ syscallarg(fd_set *) writefds;
+ syscallarg(fd_set *) exceptfds;
+ syscallarg(struct linux_timespec *) timeout;
+ syscallarg(linux_sized_sigset_t *) ss;
+};
+check_syscall_args(linux_sys_pselect6)
+
struct linux_sys_ppoll_args {
syscallarg(struct pollfd *) fds;
syscallarg(u_int) nfds;
@@ -1573,6 +1583,8 @@
int linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *);
+int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, register_t *);
+
int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
diff -r 31678236efee -r e6b221dc0562 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c Mon Jan 02 16:32:09 2017 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c Mon Jan 02 16:32:38 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscalls.c,v 1.100 2016/07/24 13:23:25 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.101 2017/01/02 16:32:38 manu Exp $ */
/*
* System call names.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.100 2016/07/24 13:23:25 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.101 2017/01/02 16:32:38 manu Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -29,8 +29,6 @@
#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[] = {
@@ -521,7 +519,7 @@
/* 460 */ "readlinkat",
/* 461 */ "fchmodat",
/* 462 */ "faccessat",
- /* 463 */ "#463 (unimplemented pselect6)",
+ /* 463 */ "pselect6",
/* 464 */ "ppoll",
/* 465 */ "#465 (unimplemented unshare)",
/* 466 */ "set_robust_list",
@@ -571,544 +569,3 @@
/* 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 */
Home |
Main Index |
Thread Index |
Old Index