Tue Oct 27 07:16:00 2015 UTC ()
Regen


(njoly)
diff -r1.58 -r1.59 src/sys/compat/linux/arch/amd64/linux_syscall.h
diff -r1.58 -r1.59 src/sys/compat/linux/arch/amd64/linux_syscallargs.h
diff -r1.58 -r1.59 src/sys/compat/linux/arch/amd64/linux_syscalls.c
diff -r1.58 -r1.59 src/sys/compat/linux/arch/amd64/linux_sysent.c
diff -r1.3 -r1.4 src/sys/compat/linux/arch/amd64/linux_systrace_args.c

cvs diff -r1.58 -r1.59 src/sys/compat/linux/arch/amd64/linux_syscall.h (expand / switch to unified diff)

--- src/sys/compat/linux/arch/amd64/linux_syscall.h 2015/09/24 14:42:45 1.58
+++ src/sys/compat/linux/arch/amd64/linux_syscall.h 2015/10/27 07:16:00 1.59
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1/* $NetBSD: linux_syscall.h,v 1.58 2015/09/24 14:42:45 christos Exp $ */ 1/* $NetBSD: linux_syscall.h,v 1.59 2015/10/27 07:16:00 njoly Exp $ */
2 2
3/* 3/*
4 * System call numbers. 4 * System call numbers.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.55 2015/05/31 10:49:27 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.56 2015/10/27 07:15:38 njoly Exp
8 */ 8 */
9 9
10#ifndef _LINUX_SYS_SYSCALL_H_ 10#ifndef _LINUX_SYS_SYSCALL_H_
11#define _LINUX_SYS_SYSCALL_H_ 11#define _LINUX_SYS_SYSCALL_H_
12 12
13#define LINUX_SYS_MAXSYSARGS 8 13#define LINUX_SYS_MAXSYSARGS 8
14 14
15/* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */ 15/* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
16#define LINUX_SYS_read 0 16#define LINUX_SYS_read 0
17 17
18/* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */ 18/* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
19#define LINUX_SYS_write 1 19#define LINUX_SYS_write 1
20 20
@@ -323,30 +323,30 @@ @@ -323,30 +323,30 @@
323 323
324/* syscall: "times" ret: "int" args: "struct times *" */ 324/* syscall: "times" ret: "int" args: "struct times *" */
325#define LINUX_SYS_times 100 325#define LINUX_SYS_times 100
326 326
327/* syscall: "ptrace" ret: "int" args: "long" "long" "long" "long" */ 327/* syscall: "ptrace" ret: "int" args: "long" "long" "long" "long" */
328#define LINUX_SYS_ptrace 101 328#define LINUX_SYS_ptrace 101
329 329
330/* syscall: "getuid" ret: "uid_t" args: */ 330/* syscall: "getuid" ret: "uid_t" args: */
331#define LINUX_SYS_getuid 102 331#define LINUX_SYS_getuid 102
332 332
333/* syscall: "getgid" ret: "gid_t" args: */ 333/* syscall: "getgid" ret: "gid_t" args: */
334#define LINUX_SYS_getgid 104 334#define LINUX_SYS_getgid 104
335 335
336/* syscall: "setuid" ret: "void" args: "uid_t" */ 336/* syscall: "setuid" ret: "int" args: "uid_t" */
337#define LINUX_SYS_setuid 105 337#define LINUX_SYS_setuid 105
338 338
339/* syscall: "setgid" ret: "void" args: "gid_t" */ 339/* syscall: "setgid" ret: "int" args: "gid_t" */
340#define LINUX_SYS_setgid 106 340#define LINUX_SYS_setgid 106
341 341
342/* syscall: "geteuid" ret: "uid_t" args: */ 342/* syscall: "geteuid" ret: "uid_t" args: */
343#define LINUX_SYS_geteuid 107 343#define LINUX_SYS_geteuid 107
344 344
345/* syscall: "getegid" ret: "gid_t" args: */ 345/* syscall: "getegid" ret: "gid_t" args: */
346#define LINUX_SYS_getegid 108 346#define LINUX_SYS_getegid 108
347 347
348/* syscall: "setpgid" ret: "int" args: "int" "int" */ 348/* syscall: "setpgid" ret: "int" args: "int" "int" */
349#define LINUX_SYS_setpgid 109 349#define LINUX_SYS_setpgid 109
350 350
351/* syscall: "getppid" ret: "pid_t" args: */ 351/* syscall: "getppid" ret: "pid_t" args: */
352#define LINUX_SYS_getppid 110 352#define LINUX_SYS_getppid 110

cvs diff -r1.58 -r1.59 src/sys/compat/linux/arch/amd64/linux_syscallargs.h (expand / switch to unified diff)

--- src/sys/compat/linux/arch/amd64/linux_syscallargs.h 2015/09/24 14:42:45 1.58
+++ src/sys/compat/linux/arch/amd64/linux_syscallargs.h 2015/10/27 07:16:00 1.59
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1/* $NetBSD: linux_syscallargs.h,v 1.58 2015/09/24 14:42:45 christos Exp $ */ 1/* $NetBSD: linux_syscallargs.h,v 1.59 2015/10/27 07:16:00 njoly Exp $ */
2 2
3/* 3/*
4 * System call argument lists. 4 * System call argument lists.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.55 2015/05/31 10:49:27 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.56 2015/10/27 07:15:38 njoly Exp
8 */ 8 */
9 9
10#ifndef _LINUX_SYS_SYSCALLARGS_H_ 10#ifndef _LINUX_SYS_SYSCALLARGS_H_
11#define _LINUX_SYS_SYSCALLARGS_H_ 11#define _LINUX_SYS_SYSCALLARGS_H_
12 12
13#define LINUX_SYS_MAXSYSARGS 8 13#define LINUX_SYS_MAXSYSARGS 8
14 14
15#undef syscallarg 15#undef syscallarg
16#define syscallarg(x) \ 16#define syscallarg(x) \
17 union { \ 17 union { \
18 register_t pad; \ 18 register_t pad; \
19 struct { x datum; } le; \ 19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \ 20 struct { /* LINTED zero array dimension */ \

cvs diff -r1.58 -r1.59 src/sys/compat/linux/arch/amd64/linux_syscalls.c (expand / switch to unified diff)

--- src/sys/compat/linux/arch/amd64/linux_syscalls.c 2015/09/24 14:42:45 1.58
+++ src/sys/compat/linux/arch/amd64/linux_syscalls.c 2015/10/27 07:16:00 1.59
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1/* $NetBSD: linux_syscalls.c,v 1.58 2015/09/24 14:42:45 christos Exp $ */ 1/* $NetBSD: linux_syscalls.c,v 1.59 2015/10/27 07:16:00 njoly Exp $ */
2 2
3/* 3/*
4 * System call names. 4 * System call names.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.55 2015/05/31 10:49:27 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.56 2015/10/27 07:15:38 njoly Exp
8 */ 8 */
9 9
10#include <sys/cdefs.h> 10#include <sys/cdefs.h>
11__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.58 2015/09/24 14:42:45 christos Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.59 2015/10/27 07:16:00 njoly Exp $");
12 12
13#if defined(_KERNEL_OPT) 13#if defined(_KERNEL_OPT)
14#if defined(_KERNEL_OPT) 14#if defined(_KERNEL_OPT)
15#include "opt_sysv.h" 15#include "opt_sysv.h"
16#include "opt_compat_43.h" 16#include "opt_compat_43.h"
17#include "opt_compat_netbsd.h" 17#include "opt_compat_netbsd.h"
18#endif 18#endif
19#include <sys/param.h> 19#include <sys/param.h>
20#include <sys/poll.h> 20#include <sys/poll.h>
21#include <sys/systm.h> 21#include <sys/systm.h>
22#include <sys/signal.h> 22#include <sys/signal.h>
23#include <sys/mount.h> 23#include <sys/mount.h>
24#include <sys/syscallargs.h> 24#include <sys/syscallargs.h>

cvs diff -r1.58 -r1.59 src/sys/compat/linux/arch/amd64/linux_sysent.c (expand / switch to unified diff)

--- src/sys/compat/linux/arch/amd64/linux_sysent.c 2015/09/24 14:42:45 1.58
+++ src/sys/compat/linux/arch/amd64/linux_sysent.c 2015/10/27 07:16:00 1.59
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1/* $NetBSD: linux_sysent.c,v 1.58 2015/09/24 14:42:45 christos Exp $ */ 1/* $NetBSD: linux_sysent.c,v 1.59 2015/10/27 07:16:00 njoly Exp $ */
2 2
3/* 3/*
4 * System call switch table. 4 * System call switch table.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.55 2015/05/31 10:49:27 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.56 2015/10/27 07:15:38 njoly Exp
8 */ 8 */
9 9
10#include <sys/cdefs.h> 10#include <sys/cdefs.h>
11__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.58 2015/09/24 14:42:45 christos Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.59 2015/10/27 07:16:00 njoly Exp $");
12 12
13#if defined(_KERNEL_OPT) 13#if defined(_KERNEL_OPT)
14#include "opt_sysv.h" 14#include "opt_sysv.h"
15#include "opt_compat_43.h" 15#include "opt_compat_43.h"
16#include "opt_compat_netbsd.h" 16#include "opt_compat_netbsd.h"
17#endif 17#endif
18#include <sys/param.h> 18#include <sys/param.h>
19#include <sys/poll.h> 19#include <sys/poll.h>
20#include <sys/systm.h> 20#include <sys/systm.h>
21#include <sys/signal.h> 21#include <sys/signal.h>
22#include <sys/mount.h> 22#include <sys/mount.h>
23#include <sys/syscallargs.h> 23#include <sys/syscallargs.h>
24#include <sys/time.h> 24#include <sys/time.h>

cvs diff -r1.3 -r1.4 src/sys/compat/linux/arch/amd64/linux_systrace_args.c (expand / switch to unified diff)

--- src/sys/compat/linux/arch/amd64/linux_systrace_args.c 2015/09/24 14:42:45 1.3
+++ src/sys/compat/linux/arch/amd64/linux_systrace_args.c 2015/10/27 07:16:00 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: linux_systrace_args.c,v 1.3 2015/09/24 14:42:45 christos Exp $ */ 1/* $NetBSD: linux_systrace_args.c,v 1.4 2015/10/27 07:16:00 njoly Exp $ */
2 2
3/* 3/*
4 * System call argument to DTrace register array converstion. 4 * System call argument to DTrace register array converstion.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * This file is part of the DTrace syscall provider. 7 * This file is part of the DTrace syscall provider.
8 */ 8 */
9 9
10static void 10static void
11systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args) 11systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args)
12{ 12{
13 intptr_t *iarg = (intptr_t *)uarg; 13 intptr_t *iarg = (intptr_t *)uarg;
14 switch (sysnum) { 14 switch (sysnum) {
@@ -5158,32 +5158,32 @@ systrace_return_setargdesc(int sysnum, i @@ -5158,32 +5158,32 @@ systrace_return_setargdesc(int sysnum, i
5158 break; 5158 break;
5159 /* linux_sys_ptrace */ 5159 /* linux_sys_ptrace */
5160 case 101: 5160 case 101:
5161 if (ndx == 0 || ndx == 1) 5161 if (ndx == 0 || ndx == 1)
5162 p = "int"; 5162 p = "int";
5163 break; 5163 break;
5164 /* sys_getuid */ 5164 /* sys_getuid */
5165 case 102: 5165 case 102:
5166 /* sys_getgid */ 5166 /* sys_getgid */
5167 case 104: 5167 case 104:
5168 /* sys_setuid */ 5168 /* sys_setuid */
5169 case 105: 5169 case 105:
5170 if (ndx == 0 || ndx == 1) 5170 if (ndx == 0 || ndx == 1)
5171 p = "void"; 5171 p = "int";
5172 break; 5172 break;
5173 /* sys_setgid */ 5173 /* sys_setgid */
5174 case 106: 5174 case 106:
5175 if (ndx == 0 || ndx == 1) 5175 if (ndx == 0 || ndx == 1)
5176 p = "void"; 5176 p = "int";
5177 break; 5177 break;
5178 /* sys_geteuid */ 5178 /* sys_geteuid */
5179 case 107: 5179 case 107:
5180 /* sys_getegid */ 5180 /* sys_getegid */
5181 case 108: 5181 case 108:
5182 /* sys_setpgid */ 5182 /* sys_setpgid */
5183 case 109: 5183 case 109:
5184 if (ndx == 0 || ndx == 1) 5184 if (ndx == 0 || ndx == 1)
5185 p = "int"; 5185 p = "int";
5186 break; 5186 break;
5187 /* sys_getppid */ 5187 /* sys_getppid */
5188 case 110: 5188 case 110:
5189 /* sys_getpgrp */ 5189 /* sys_getpgrp */