Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux32/arch/amd64 regen
details: https://anonhg.NetBSD.org/src/rev/46bd2d970fb5
branches: trunk
changeset: 336645:46bd2d970fb5
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 08 17:10:59 2015 +0000
description:
regen
diffstat:
sys/compat/linux32/arch/amd64/linux32_syscall.h | 6 +-
sys/compat/linux32/arch/amd64/linux32_syscallargs.h | 6 +-
sys/compat/linux32/arch/amd64/linux32_syscalls.c | 6 +-
sys/compat/linux32/arch/amd64/linux32_sysent.c | 2796 ++++++++++------
sys/compat/linux32/arch/amd64/linux32_systrace_args.c | 10 +-
5 files changed, 1782 insertions(+), 1042 deletions(-)
diffs (truncated from 2936 to 300 lines):
diff -r abb24044995d -r 46bd2d970fb5 sys/compat/linux32/arch/amd64/linux32_syscall.h
--- a/sys/compat/linux32/arch/amd64/linux32_syscall.h Sun Mar 08 17:10:44 2015 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_syscall.h Sun Mar 08 17:10:59 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux32_syscall.h,v 1.74 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux32_syscall.h,v 1.75 2015/03/08 17:10:59 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.69 2015/03/08 17:10:44 christos Exp
*/
#ifndef _LINUX32_SYS_SYSCALL_H_
@@ -138,7 +138,7 @@
/* syscall: "linux_getgid16" ret: "gid_t" args: */
#define LINUX32_SYS_linux_getgid16 47
-/* syscall: "signal" ret: "int" args: "int" "linux32_handler_t" */
+/* syscall: "signal" ret: "int" args: "int" "linux32_handlerp_t" */
#define LINUX32_SYS_signal 48
/* syscall: "linux_geteuid16" ret: "uid_t" args: */
diff -r abb24044995d -r 46bd2d970fb5 sys/compat/linux32/arch/amd64/linux32_syscallargs.h
--- a/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Sun Mar 08 17:10:44 2015 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Sun Mar 08 17:10:59 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux32_syscallargs.h,v 1.74 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux32_syscallargs.h,v 1.75 2015/03/08 17:10:59 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.69 2015/03/08 17:10:44 christos Exp
*/
#ifndef _LINUX32_SYS_SYSCALLARGS_H_
@@ -167,7 +167,7 @@
struct linux32_sys_signal_args {
syscallarg(int) signum;
- syscallarg(linux32_handler_t) handler;
+ syscallarg(linux32_handlerp_t) handler;
};
check_syscall_args(linux32_sys_signal)
diff -r abb24044995d -r 46bd2d970fb5 sys/compat/linux32/arch/amd64/linux32_syscalls.c
--- a/sys/compat/linux32/arch/amd64/linux32_syscalls.c Sun Mar 08 17:10:44 2015 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_syscalls.c Sun Mar 08 17:10:59 2015 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux32_syscalls.c,v 1.74 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux32_syscalls.c,v 1.75 2015/03/08 17:10:59 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.69 2015/03/08 17:10:44 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.74 2015/03/07 16:41:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.75 2015/03/08 17:10:59 christos Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
diff -r abb24044995d -r 46bd2d970fb5 sys/compat/linux32/arch/amd64/linux32_sysent.c
--- a/sys/compat/linux32/arch/amd64/linux32_sysent.c Sun Mar 08 17:10:44 2015 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_sysent.c Sun Mar 08 17:10:59 2015 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux32_sysent.c,v 1.74 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux32_sysent.c,v 1.75 2015/03/08 17:10:59 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.69 2015/03/08 17:10:44 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.74 2015/03/07 16:41:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.75 2015/03/08 17:10:59 christos Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@@ -34,1033 +34,1773 @@
#define s(type) sizeof(type)
#define n(type) (sizeof(type)/sizeof (register32_t))
-#define ns(type) n(type), s(type)
+#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
struct sysent linux32_sysent[] = {
- { 0, 0, 0,
- (sy_call_t *)linux_sys_nosys, 0, 0 }, /* 0 = syscall */
- { ns(struct linux32_sys_exit_args), 0,
- (sy_call_t *)linux32_sys_exit, 0, 0 }, /* 1 = exit */
- { 0, 0, 0,
- (sy_call_t *)sys_fork, 0, 0 }, /* 2 = fork */
- { ns(struct netbsd32_read_args), 0,
- (sy_call_t *)netbsd32_read, 0, 0 }, /* 3 = netbsd32_read */
- { ns(struct netbsd32_write_args), 0,
- (sy_call_t *)netbsd32_write, 0, 0 }, /* 4 = netbsd32_write */
- { ns(struct linux32_sys_open_args), 0,
- (sy_call_t *)linux32_sys_open, 0, 0 }, /* 5 = open */
- { ns(struct netbsd32_close_args), 0,
- (sy_call_t *)netbsd32_close, 0, 0 }, /* 6 = netbsd32_close */
- { ns(struct linux32_sys_waitpid_args), 0,
- (sy_call_t *)linux32_sys_waitpid, 0, 0 }, /* 7 = waitpid */
- { ns(struct linux32_sys_creat_args), 0,
- (sy_call_t *)linux32_sys_creat, 0, 0 }, /* 8 = creat */
- { ns(struct netbsd32_link_args), 0,
- (sy_call_t *)netbsd32_link, 0, 0 }, /* 9 = netbsd32_link */
- { ns(struct linux32_sys_unlink_args), 0,
- (sy_call_t *)linux32_sys_unlink, 0, 0 }, /* 10 = unlink */
- { ns(struct netbsd32_execve_args), 0,
- (sy_call_t *)netbsd32_execve, 0, 0 }, /* 11 = netbsd32_execve */
- { ns(struct netbsd32_chdir_args), 0,
- (sy_call_t *)netbsd32_chdir, 0, 0 }, /* 12 = netbsd32_chdir */
- { ns(struct linux32_sys_time_args), 0,
- (sy_call_t *)linux32_sys_time, 0, 0 }, /* 13 = time */
- { ns(struct linux32_sys_mknod_args), 0,
- (sy_call_t *)linux32_sys_mknod, 0, 0 }, /* 14 = mknod */
- { ns(struct netbsd32_chmod_args), 0,
- (sy_call_t *)netbsd32_chmod, 0, 0 }, /* 15 = netbsd32_chmod */
- { ns(struct linux32_sys_lchown16_args), 0,
- (sy_call_t *)linux32_sys_lchown16, 0, 0 },/* 16 = lchown16 */
- { ns(struct linux32_sys_break_args), 0,
- (sy_call_t *)linux32_sys_break, 0, 0 }, /* 17 = break */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 18 = obsolete ostat */
- { ns(struct compat_43_netbsd32_olseek_args), 0,
- (sy_call_t *)compat_43_netbsd32_olseek, 0, 0 },/* 19 = compat_43_netbsd32_olseek */
- { 0, 0, 0,
- (sy_call_t *)sys_getpid, 0, 0 }, /* 20 = getpid */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 21 = unimplemented mount */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 22 = unimplemented umount */
- { ns(struct netbsd32_setuid_args), 0,
- (sy_call_t *)netbsd32_setuid, 0, 0 }, /* 23 = linux_setuid16 */
- { 0, 0, 0,
- (sy_call_t *)sys_getuid, 0, 0 }, /* 24 = linux_getuid16 */
- { ns(struct linux32_sys_stime_args), 0,
- (sy_call_t *)linux32_sys_stime, 0, 0 }, /* 25 = stime */
- { ns(struct linux32_sys_ptrace_args), 0,
- (sy_call_t *)linux32_sys_ptrace, 0, 0 }, /* 26 = ptrace */
- { ns(struct linux32_sys_alarm_args), 0,
- (sy_call_t *)linux32_sys_alarm, 0, 0 }, /* 27 = alarm */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 28 = obsolete ofstat */
- { 0, 0, 0,
- (sy_call_t *)linux_sys_pause, 0, 0 }, /* 29 = pause */
- { ns(struct linux32_sys_utime_args), 0,
- (sy_call_t *)linux32_sys_utime, 0, 0 }, /* 30 = utime */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 31 = obsolete stty */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 32 = obsolete gtty */
- { ns(struct netbsd32_access_args), 0,
- (sy_call_t *)netbsd32_access, 0, 0 }, /* 33 = netbsd32_access */
- { ns(struct linux32_sys_nice_args), 0,
- (sy_call_t *)linux32_sys_nice, 0, 0 }, /* 34 = nice */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 35 = obsolete ftime */
- { 0, 0, 0,
- (sy_call_t *)sys_sync, 0, 0 }, /* 36 = sync */
- { ns(struct linux32_sys_kill_args), 0,
- (sy_call_t *)linux32_sys_kill, 0, 0 }, /* 37 = kill */
- { ns(struct netbsd32___posix_rename_args), 0,
- (sy_call_t *)netbsd32___posix_rename, 0, 0 },/* 38 = netbsd32___posix_rename */
- { ns(struct netbsd32_mkdir_args), 0,
- (sy_call_t *)netbsd32_mkdir, 0, 0 }, /* 39 = netbsd32_mkdir */
- { ns(struct netbsd32_rmdir_args), 0,
- (sy_call_t *)netbsd32_rmdir, 0, 0 }, /* 40 = netbsd32_rmdir */
- { ns(struct netbsd32_dup_args), 0,
- (sy_call_t *)netbsd32_dup, 0, 0 }, /* 41 = netbsd32_dup */
- { ns(struct linux32_sys_pipe_args), 0,
- (sy_call_t *)linux32_sys_pipe, 0, 0 }, /* 42 = pipe */
- { ns(struct linux32_sys_times_args), 0,
- (sy_call_t *)linux32_sys_times, 0, 0 }, /* 43 = times */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 44 = obsolete prof */
- { ns(struct linux32_sys_brk_args), 0,
- (sy_call_t *)linux32_sys_brk, 0, 0 }, /* 45 = brk */
- { ns(struct netbsd32_setgid_args), 0,
- (sy_call_t *)netbsd32_setgid, 0, 0 }, /* 46 = linux_setgid16 */
- { 0, 0, 0,
- (sy_call_t *)sys_getgid, 0, 0 }, /* 47 = linux_getgid16 */
- { ns(struct linux32_sys_signal_args), 0,
- (sy_call_t *)linux32_sys_signal, 0, 0 }, /* 48 = signal */
- { 0, 0, 0,
- (sy_call_t *)sys_geteuid, 0, 0 }, /* 49 = linux_geteuid16 */
- { 0, 0, 0,
- (sy_call_t *)sys_getegid, 0, 0 }, /* 50 = linux_getegid16 */
- { ns(struct netbsd32_acct_args), 0,
- (sy_call_t *)netbsd32_acct, 0, 0 }, /* 51 = netbsd32_acct */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 52 = obsolete phys */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 53 = obsolete lock */
- { ns(struct linux32_sys_ioctl_args), 0,
- (sy_call_t *)linux32_sys_ioctl, 0, 0 }, /* 54 = ioctl */
- { ns(struct linux32_sys_fcntl_args), 0,
- (sy_call_t *)linux32_sys_fcntl, 0, 0 }, /* 55 = fcntl */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 56 = obsolete mpx */
- { ns(struct netbsd32_setpgid_args), 0,
- (sy_call_t *)netbsd32_setpgid, 0, 0 }, /* 57 = netbsd32_setpgid */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 58 = obsolete ulimit */
- { ns(struct linux32_sys_oldolduname_args), 0,
- (sy_call_t *)linux32_sys_oldolduname, 0, 0 },/* 59 = oldolduname */
- { ns(struct netbsd32_umask_args), 0,
- (sy_call_t *)netbsd32_umask, 0, 0 }, /* 60 = netbsd32_umask */
- { ns(struct netbsd32_chroot_args), 0,
- (sy_call_t *)netbsd32_chroot, 0, 0 }, /* 61 = netbsd32_chroot */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 62 = unimplemented ustat */
- { ns(struct netbsd32_dup2_args), 0,
- (sy_call_t *)netbsd32_dup2, 0, 0 }, /* 63 = netbsd32_dup2 */
- { 0, 0, 0,
- (sy_call_t *)sys_getppid, 0, 0 }, /* 64 = getppid */
- { 0, 0, 0,
- (sy_call_t *)sys_getpgrp, 0, 0 }, /* 65 = getpgrp */
- { 0, 0, 0,
- (sy_call_t *)sys_setsid, 0, 0 }, /* 66 = setsid */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 67 = unimplemented sigaction */
- { 0, 0, 0,
- (sy_call_t *)linux32_sys_siggetmask, 0, 0 },/* 68 = siggetmask */
- { ns(struct linux32_sys_sigsetmask_args), 0,
- (sy_call_t *)linux32_sys_sigsetmask, 0, 0 },/* 69 = sigsetmask */
- { ns(struct linux32_sys_setreuid16_args), 0,
- (sy_call_t *)linux32_sys_setreuid16, 0, 0 },/* 70 = setreuid16 */
- { ns(struct linux32_sys_setregid16_args), 0,
- (sy_call_t *)linux32_sys_setregid16, 0, 0 },/* 71 = setregid16 */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 72 = unimplemented sigsuspend */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 73 = unimplemented sigpending */
- { ns(struct compat_43_netbsd32_osethostname_args), 0,
- (sy_call_t *)compat_43_netbsd32_osethostname, 0, 0 },/* 74 = compat_43_netbsd32_osethostname */
- { ns(struct linux32_sys_setrlimit_args), 0,
- (sy_call_t *)linux32_sys_setrlimit, 0, 0 },/* 75 = setrlimit */
- { ns(struct linux32_sys_getrlimit_args), 0,
- (sy_call_t *)linux32_sys_getrlimit, 0, 0 },/* 76 = getrlimit */
- { ns(struct compat_50_netbsd32_getrusage_args), 0,
- (sy_call_t *)compat_50_netbsd32_getrusage, 0, 0 },/* 77 = compat_50_netbsd32_getrusage */
- { ns(struct linux32_sys_gettimeofday_args), 0,
- (sy_call_t *)linux32_sys_gettimeofday, 0, 0 },/* 78 = gettimeofday */
- { ns(struct linux32_sys_settimeofday_args), 0,
- (sy_call_t *)linux32_sys_settimeofday, 0, 0 },/* 79 = settimeofday */
- { ns(struct linux32_sys_getgroups16_args), 0,
- (sy_call_t *)linux32_sys_getgroups16, 0, 0 },/* 80 = getgroups16 */
- { ns(struct linux32_sys_setgroups16_args), 0,
- (sy_call_t *)linux32_sys_setgroups16, 0, 0 },/* 81 = setgroups16 */
- { ns(struct linux32_sys_oldselect_args), 0,
- (sy_call_t *)linux32_sys_oldselect, 0, 0 },/* 82 = oldselect */
- { ns(struct netbsd32_symlink_args), 0,
- (sy_call_t *)netbsd32_symlink, 0, 0 }, /* 83 = netbsd32_symlink */
- { ns(struct compat_43_netbsd32_lstat43_args), 0,
- (sy_call_t *)compat_43_netbsd32_lstat43, 0, 0 },/* 84 = compat_43_netbsd32_lstat43 */
- { ns(struct netbsd32_readlink_args), 0,
- (sy_call_t *)netbsd32_readlink, 0, 0 }, /* 85 = netbsd32_readlink */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 86 = unimplemented uselib */
- { ns(struct linux32_sys_swapon_args), 0,
- (sy_call_t *)linux32_sys_swapon, 0, 0 }, /* 87 = swapon */
- { ns(struct linux32_sys_reboot_args), 0,
- (sy_call_t *)linux32_sys_reboot, 0, 0 }, /* 88 = reboot */
- { ns(struct linux32_sys_readdir_args), 0,
- (sy_call_t *)linux32_sys_readdir, 0, 0 }, /* 89 = readdir */
- { ns(struct linux32_sys_old_mmap_args), 0,
- (sy_call_t *)linux32_sys_old_mmap, 0, 0 },/* 90 = old_mmap */
- { ns(struct netbsd32_munmap_args), 0,
- (sy_call_t *)netbsd32_munmap, 0, 0 }, /* 91 = netbsd32_munmap */
- { ns(struct compat_43_netbsd32_otruncate_args), 0,
- (sy_call_t *)compat_43_netbsd32_otruncate, 0, 0 },/* 92 = compat_43_netbsd32_otruncate */
- { ns(struct compat_43_netbsd32_oftruncate_args), 0,
- (sy_call_t *)compat_43_netbsd32_oftruncate, 0, 0 },/* 93 = compat_43_netbsd32_oftruncate */
- { ns(struct netbsd32_fchmod_args), 0,
- (sy_call_t *)netbsd32_fchmod, 0, 0 }, /* 94 = netbsd32_fchmod */
- { ns(struct linux32_sys_fchown16_args), 0,
- (sy_call_t *)linux32_sys_fchown16, 0, 0 },/* 95 = fchown16 */
- { ns(struct linux32_sys_getpriority_args), 0,
- (sy_call_t *)linux32_sys_getpriority, 0, 0 },/* 96 = getpriority */
- { ns(struct netbsd32_setpriority_args), 0,
- (sy_call_t *)netbsd32_setpriority, 0, 0 },/* 97 = netbsd32_setpriority */
- { ns(struct netbsd32_profil_args), 0,
- (sy_call_t *)netbsd32_profil, 0, 0 }, /* 98 = netbsd32_profil */
- { ns(struct linux32_sys_statfs_args), 0,
- (sy_call_t *)linux32_sys_statfs, 0, 0 }, /* 99 = statfs */
Home |
Main Index |
Thread Index |
Old Index