diff --git a/sys/compat/linux/arch/alpha/linux_syscall.h b/sys/compat/linux/arch/alpha/linux_syscall.h index 55a9c7147d3c..ebc28c18e385 100644 --- a/sys/compat/linux/arch/alpha/linux_syscall.h +++ b/sys/compat/linux/arch/alpha/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.92 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.93 2014/05/17 09:25:06 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.86 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.87 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -576,7 +576,7 @@ /* syscall: "set_tid_address" ret: "int" args: "int *" */ #define LINUX_SYS_set_tid_address 411 -/* syscall: "fadvise64" ret: "int" args: "int" "linux_off_t" "size_t" "int" */ +/* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */ #define LINUX_SYS_fadvise64 413 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */ diff --git a/sys/compat/linux/arch/alpha/linux_syscallargs.h b/sys/compat/linux/arch/alpha/linux_syscallargs.h index f68872082fe1..cdb1e6ca884a 100644 --- a/sys/compat/linux/arch/alpha/linux_syscallargs.h +++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.91 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.92 2014/05/17 09:25:06 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.86 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.87 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -951,7 +951,7 @@ check_syscall_args(linux_sys_set_tid_address) struct linux_sys_fadvise64_args { syscallarg(int) fd; - syscallarg(linux_off_t) offset; + syscallarg(off_t) offset; syscallarg(size_t) len; syscallarg(int) advice; }; diff --git a/sys/compat/linux/arch/alpha/linux_syscalls.c b/sys/compat/linux/arch/alpha/linux_syscalls.c index e0fa900d610f..fbc41fa95aa7 100644 --- a/sys/compat/linux/arch/alpha/linux_syscalls.c +++ b/sys/compat/linux/arch/alpha/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.93 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.94 2014/05/17 09:25:06 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.86 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.87 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.93 2014/05/06 17:34:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.94 2014/05/17 09:25:06 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) diff --git a/sys/compat/linux/arch/alpha/linux_sysent.c b/sys/compat/linux/arch/alpha/linux_sysent.c index 1ddb6db0fd40..57b244ba9f7f 100644 --- a/sys/compat/linux/arch/alpha/linux_sysent.c +++ b/sys/compat/linux/arch/alpha/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.92 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.93 2014/05/17 09:25:06 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.86 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.87 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.92 2014/05/06 17:34:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.93 2014/05/17 09:25:06 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_sysv.h" @@ -896,7 +896,7 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_set_tid_address },/* 411 = set_tid_address */ { 0, 0, 0, linux_sys_nosys }, /* 412 = unimplemented restart_syscall */ - { ns(struct linux_sys_fadvise64_args), 0, + { ns(struct linux_sys_fadvise64_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG1_64, (sy_call_t *)linux_sys_fadvise64 }, /* 413 = fadvise64 */ { 0, 0, 0, linux_sys_nosys }, /* 414 = unimplemented timer_create */ diff --git a/sys/compat/linux/arch/amd64/linux_syscall.h b/sys/compat/linux/arch/amd64/linux_syscall.h index 59ef41c2a049..12ed61f925c2 100644 --- a/sys/compat/linux/arch/amd64/linux_syscall.h +++ b/sys/compat/linux/arch/amd64/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.50 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.51 2014/05/17 09:25:06 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.48 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.49 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -570,7 +570,7 @@ /* syscall: "set_tid_address" ret: "int" args: "int *" */ #define LINUX_SYS_set_tid_address 218 -/* syscall: "fadvise64" ret: "int" args: "int" "linux_off_t" "size_t" "int" */ +/* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */ #define LINUX_SYS_fadvise64 221 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */ diff --git a/sys/compat/linux/arch/amd64/linux_syscallargs.h b/sys/compat/linux/arch/amd64/linux_syscallargs.h index b3e6eab3e1ab..6226dc8d5334 100644 --- a/sys/compat/linux/arch/amd64/linux_syscallargs.h +++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.50 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.51 2014/05/17 09:25:06 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.48 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.49 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -848,7 +848,7 @@ check_syscall_args(linux_sys_set_tid_address) struct linux_sys_fadvise64_args { syscallarg(int) fd; - syscallarg(linux_off_t) offset; + syscallarg(off_t) offset; syscallarg(size_t) len; syscallarg(int) advice; }; diff --git a/sys/compat/linux/arch/amd64/linux_syscalls.c b/sys/compat/linux/arch/amd64/linux_syscalls.c index b7093c7192fc..76904fadaa56 100644 --- a/sys/compat/linux/arch/amd64/linux_syscalls.c +++ b/sys/compat/linux/arch/amd64/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.50 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.51 2014/05/17 09:25:06 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.48 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.49 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.50 2014/05/04 10:10:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.51 2014/05/17 09:25:06 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) diff --git a/sys/compat/linux/arch/amd64/linux_sysent.c b/sys/compat/linux/arch/amd64/linux_sysent.c index 6fb72620bbb1..301b52db1d4b 100644 --- a/sys/compat/linux/arch/amd64/linux_sysent.c +++ b/sys/compat/linux/arch/amd64/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.50 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.51 2014/05/17 09:25:06 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.48 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.49 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.50 2014/05/04 10:10:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.51 2014/05/17 09:25:06 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_sysv.h" @@ -520,7 +520,7 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 219 = unimplemented restart_syscall */ { 0, 0, 0, linux_sys_nosys }, /* 220 = unimplemented semtimedop */ - { ns(struct linux_sys_fadvise64_args), 0, + { ns(struct linux_sys_fadvise64_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG1_64, (sy_call_t *)linux_sys_fadvise64 }, /* 221 = fadvise64 */ { 0, 0, 0, linux_sys_nosys }, /* 222 = unimplemented timer_create */ diff --git a/sys/compat/linux/arch/arm/linux_syscall.h b/sys/compat/linux/arch/arm/linux_syscall.h index e277260e76c9..4670a7d3ead8 100644 --- a/sys/compat/linux/arch/arm/linux_syscall.h +++ b/sys/compat/linux/arch/arm/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.60 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.61 2014/05/17 09:25:06 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.58 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -649,7 +649,7 @@ /* syscall: "utimes" ret: "int" args: "const char *" "struct linux_timeval *" */ #define LINUX_SYS_utimes 269 -/* syscall: "fadvise64_64" ret: "int" args: "int" "linux_off_t" "linux_off_t" "int" */ +/* syscall: "fadvise64_64" ret: "int" args: "int" "off_t" "off_t" "int" */ #define LINUX_SYS_fadvise64_64 270 /* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */ diff --git a/sys/compat/linux/arch/arm/linux_syscallargs.h b/sys/compat/linux/arch/arm/linux_syscallargs.h index 50ca556adbb2..80884398515e 100644 --- a/sys/compat/linux/arch/arm/linux_syscallargs.h +++ b/sys/compat/linux/arch/arm/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.60 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.61 2014/05/17 09:25:06 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.58 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -966,8 +966,8 @@ check_syscall_args(linux_sys_utimes) struct linux_sys_fadvise64_64_args { syscallarg(int) fd; - syscallarg(linux_off_t) offset; - syscallarg(linux_off_t) len; + syscallarg(off_t) offset; + syscallarg(off_t) len; syscallarg(int) advice; }; check_syscall_args(linux_sys_fadvise64_64) diff --git a/sys/compat/linux/arch/arm/linux_syscalls.c b/sys/compat/linux/arch/arm/linux_syscalls.c index 7598545f99d1..3b0d677fe148 100644 --- a/sys/compat/linux/arch/arm/linux_syscalls.c +++ b/sys/compat/linux/arch/arm/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.60 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.61 2014/05/17 09:25:06 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.58 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.60 2014/05/06 17:34:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.61 2014/05/17 09:25:06 njoly Exp $"); #if defined(_KERNEL_OPT) #include diff --git a/sys/compat/linux/arch/arm/linux_sysent.c b/sys/compat/linux/arch/arm/linux_sysent.c index e9accddcca1b..56edb1bec2d9 100644 --- a/sys/compat/linux/arch/arm/linux_sysent.c +++ b/sys/compat/linux/arch/arm/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.60 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.61 2014/05/17 09:25:06 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.58 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.60 2014/05/06 17:34:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.61 2014/05/17 09:25:06 njoly Exp $"); #include #include @@ -576,7 +576,7 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_tgkill }, /* 268 = tgkill */ { ns(struct linux_sys_utimes_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_utimes }, /* 269 = utimes */ - { ns(struct linux_sys_fadvise64_64_args), 0, + { ns(struct linux_sys_fadvise64_64_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG2_64 | SYCALL_ARG1_64, (sy_call_t *)linux_sys_fadvise64_64 },/* 270 = fadvise64_64 */ { 0, 0, 0, linux_sys_nosys }, /* 271 = unimplemented pciconfig_iobase */ diff --git a/sys/compat/linux/arch/i386/linux_syscall.h b/sys/compat/linux/arch/i386/linux_syscall.h index 784fbe8c1631..c9de71e4ca63 100644 --- a/sys/compat/linux/arch/i386/linux_syscall.h +++ b/sys/compat/linux/arch/i386/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.99 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.100 2014/05/17 09:25:06 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.114 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.115 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -638,7 +638,7 @@ /* syscall: "get_thread_area" ret: "int" args: "struct linux_user_desc *" */ #define LINUX_SYS_get_thread_area 244 -/* syscall: "fadvise64" ret: "int" args: "int" "linux_off_t" "size_t" "int" */ +/* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */ #define LINUX_SYS_fadvise64 250 /* syscall: "exit_group" ret: "int" args: "int" */ @@ -671,7 +671,7 @@ /* syscall: "utimes" ret: "int" args: "const char *" "struct linux_timeval *" */ #define LINUX_SYS_utimes 271 -/* syscall: "fadvise64_64" ret: "int" args: "int" "linux_off_t" "linux_off_t" "int" */ +/* syscall: "fadvise64_64" ret: "int" args: "int" "off_t" "off_t" "int" */ #define LINUX_SYS_fadvise64_64 272 /* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */ diff --git a/sys/compat/linux/arch/i386/linux_syscallargs.h b/sys/compat/linux/arch/i386/linux_syscallargs.h index 353bb9efa88b..ee62f525fe58 100644 --- a/sys/compat/linux/arch/i386/linux_syscallargs.h +++ b/sys/compat/linux/arch/i386/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.99 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.100 2014/05/17 09:25:06 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.114 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.115 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -942,7 +942,7 @@ check_syscall_args(linux_sys_get_thread_area) struct linux_sys_fadvise64_args { syscallarg(int) fd; - syscallarg(linux_off_t) offset; + syscallarg(off_t) offset; syscallarg(size_t) len; syscallarg(int) advice; }; @@ -1013,8 +1013,8 @@ check_syscall_args(linux_sys_utimes) struct linux_sys_fadvise64_64_args { syscallarg(int) fd; - syscallarg(linux_off_t) offset; - syscallarg(linux_off_t) len; + syscallarg(off_t) offset; + syscallarg(off_t) len; syscallarg(int) advice; }; check_syscall_args(linux_sys_fadvise64_64) diff --git a/sys/compat/linux/arch/i386/linux_syscalls.c b/sys/compat/linux/arch/i386/linux_syscalls.c index 9bb096a03c83..bfb4eb37855e 100644 --- a/sys/compat/linux/arch/i386/linux_syscalls.c +++ b/sys/compat/linux/arch/i386/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.100 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.101 2014/05/17 09:25:06 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.114 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.115 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.100 2014/05/04 10:10:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.101 2014/05/17 09:25:06 njoly Exp $"); #if defined(_KERNEL_OPT) #include diff --git a/sys/compat/linux/arch/i386/linux_sysent.c b/sys/compat/linux/arch/i386/linux_sysent.c index 7828163c127a..1a61841ebcb4 100644 --- a/sys/compat/linux/arch/i386/linux_sysent.c +++ b/sys/compat/linux/arch/i386/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.99 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.100 2014/05/17 09:25:06 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.114 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.115 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.99 2014/05/04 10:10:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.100 2014/05/17 09:25:06 njoly Exp $"); #include #include @@ -535,7 +535,7 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 248 = unimplemented io_submit */ { 0, 0, 0, linux_sys_nosys }, /* 249 = unimplemented io_cancel */ - { ns(struct linux_sys_fadvise64_args), 0, + { ns(struct linux_sys_fadvise64_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG1_64, (sy_call_t *)linux_sys_fadvise64 }, /* 250 = fadvise64 */ { 0, 0, 0, linux_sys_nosys }, /* 251 = unimplemented / * unused * / */ @@ -579,7 +579,7 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_tgkill }, /* 270 = tgkill */ { ns(struct linux_sys_utimes_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_utimes }, /* 271 = utimes */ - { ns(struct linux_sys_fadvise64_64_args), 0, + { ns(struct linux_sys_fadvise64_64_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG2_64 | SYCALL_ARG1_64, (sy_call_t *)linux_sys_fadvise64_64 },/* 272 = fadvise64_64 */ { 0, 0, 0, linux_sys_nosys }, /* 273 = unimplemented vserver */ diff --git a/sys/compat/linux/arch/m68k/linux_syscall.h b/sys/compat/linux/arch/m68k/linux_syscall.h index e27d3094417a..0e3f4442eab1 100644 --- a/sys/compat/linux/arch/m68k/linux_syscall.h +++ b/sys/compat/linux/arch/m68k/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.90 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.91 2014/05/17 09:25:06 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.84 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.85 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -624,7 +624,7 @@ /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */ #define LINUX_SYS_fcntl64 239 -/* syscall: "fadvise64" ret: "int" args: "int" "linux_off_t" "size_t" "int" */ +/* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */ #define LINUX_SYS_fadvise64 246 /* syscall: "set_tid_address" ret: "int" args: "int *" */ @@ -654,7 +654,7 @@ /* syscall: "utimes" ret: "int" args: "const char *" "struct linux_timeval *" */ #define LINUX_SYS_utimes 266 -/* syscall: "fadvise64_64" ret: "int" args: "int" "linux_off_t" "linux_off_t" "int" */ +/* syscall: "fadvise64_64" ret: "int" args: "int" "off_t" "off_t" "int" */ #define LINUX_SYS_fadvise64_64 267 /* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */ diff --git a/sys/compat/linux/arch/m68k/linux_syscallargs.h b/sys/compat/linux/arch/m68k/linux_syscallargs.h index 7b03ac3ef801..f186c6a57735 100644 --- a/sys/compat/linux/arch/m68k/linux_syscallargs.h +++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.89 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.90 2014/05/17 09:25:06 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.84 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.85 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -894,7 +894,7 @@ check_syscall_args(linux_sys_fcntl64) struct linux_sys_fadvise64_args { syscallarg(int) fd; - syscallarg(linux_off_t) offset; + syscallarg(off_t) offset; syscallarg(size_t) len; syscallarg(int) advice; }; @@ -960,8 +960,8 @@ check_syscall_args(linux_sys_utimes) struct linux_sys_fadvise64_64_args { syscallarg(int) fd; - syscallarg(linux_off_t) offset; - syscallarg(linux_off_t) len; + syscallarg(off_t) offset; + syscallarg(off_t) len; syscallarg(int) advice; }; check_syscall_args(linux_sys_fadvise64_64) diff --git a/sys/compat/linux/arch/m68k/linux_syscalls.c b/sys/compat/linux/arch/m68k/linux_syscalls.c index 69b9345b2ee6..9e04c25767e6 100644 --- a/sys/compat/linux/arch/m68k/linux_syscalls.c +++ b/sys/compat/linux/arch/m68k/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.90 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.91 2014/05/17 09:25:06 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.84 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.85 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.90 2014/05/06 17:34:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.91 2014/05/17 09:25:06 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) diff --git a/sys/compat/linux/arch/m68k/linux_sysent.c b/sys/compat/linux/arch/m68k/linux_sysent.c index 80a6da6960fa..042421a9e208 100644 --- a/sys/compat/linux/arch/m68k/linux_sysent.c +++ b/sys/compat/linux/arch/m68k/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.90 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.91 2014/05/17 09:25:06 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.84 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.85 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.90 2014/05/06 17:34:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.91 2014/05/17 09:25:06 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -551,7 +551,7 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 244 = unimplemented io_submit */ { 0, 0, 0, linux_sys_nosys }, /* 245 = unimplemented io_cancel */ - { ns(struct linux_sys_fadvise64_args), 0, + { ns(struct linux_sys_fadvise64_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG1_64, (sy_call_t *)linux_sys_fadvise64 }, /* 246 = fadvise64 */ { 0, 0, 0, linux_sys_nosys }, /* 247 = unimplemented exit_group */ @@ -593,7 +593,7 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_tgkill }, /* 265 = tgkill */ { ns(struct linux_sys_utimes_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_utimes }, /* 266 = utimes */ - { ns(struct linux_sys_fadvise64_64_args), 0, + { ns(struct linux_sys_fadvise64_64_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG2_64 | SYCALL_ARG1_64, (sy_call_t *)linux_sys_fadvise64_64 },/* 267 = fadvise64_64 */ { 0, 0, 0, linux_sys_nosys }, /* 268 = unimplemented mbind */ diff --git a/sys/compat/linux/arch/mips/linux_syscall.h b/sys/compat/linux/arch/mips/linux_syscall.h index 6a69dea0c6c5..d5f6a4488fb4 100644 --- a/sys/compat/linux/arch/mips/linux_syscall.h +++ b/sys/compat/linux/arch/mips/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.57 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.58 2014/05/17 09:25:07 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -601,7 +601,7 @@ /* syscall: "set_tid_address" ret: "int" args: "int *" */ #define LINUX_SYS_set_tid_address 252 -/* syscall: "fadvise64" ret: "int" args: "int" "linux_off_t" "size_t" "int" */ +/* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */ #define LINUX_SYS_fadvise64 254 /* syscall: "statfs64" ret: "int" args: "const char *" "size_t" "struct linux_statfs64 *" */ diff --git a/sys/compat/linux/arch/mips/linux_syscallargs.h b/sys/compat/linux/arch/mips/linux_syscallargs.h index 598a76d31800..07d1e38adc02 100644 --- a/sys/compat/linux/arch/mips/linux_syscallargs.h +++ b/sys/compat/linux/arch/mips/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.56 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.57 2014/05/17 09:25:07 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -866,7 +866,7 @@ check_syscall_args(linux_sys_set_tid_address) struct linux_sys_fadvise64_args { syscallarg(int) fd; - syscallarg(linux_off_t) offset; + syscallarg(off_t) offset; syscallarg(size_t) len; syscallarg(int) advice; }; diff --git a/sys/compat/linux/arch/mips/linux_syscalls.c b/sys/compat/linux/arch/mips/linux_syscalls.c index b89a45fb2149..6aee6bc15b11 100644 --- a/sys/compat/linux/arch/mips/linux_syscalls.c +++ b/sys/compat/linux/arch/mips/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.56 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.57 2014/05/17 09:25:07 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.56 2014/05/06 17:34:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.57 2014/05/17 09:25:07 njoly Exp $"); #if defined(_KERNEL_OPT) #include diff --git a/sys/compat/linux/arch/mips/linux_sysent.c b/sys/compat/linux/arch/mips/linux_sysent.c index 082d0e7f2cf4..a9ad3d0fd3b3 100644 --- a/sys/compat/linux/arch/mips/linux_sysent.c +++ b/sys/compat/linux/arch/mips/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.56 2014/05/06 17:34:39 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.57 2014/05/17 09:25:07 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.56 2014/05/06 17:34:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.57 2014/05/17 09:25:07 njoly Exp $"); #include #include @@ -538,7 +538,7 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_set_tid_address },/* 252 = set_tid_address */ { 0, 0, 0, linux_sys_nosys }, /* 253 = unimplemented restart_syscall */ - { ns(struct linux_sys_fadvise64_args), 0, + { ns(struct linux_sys_fadvise64_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG1_64, (sy_call_t *)linux_sys_fadvise64 }, /* 254 = fadvise64 */ { ns(struct linux_sys_statfs64_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_statfs64 }, /* 255 = statfs64 */ diff --git a/sys/compat/linux/arch/powerpc/linux_syscall.h b/sys/compat/linux/arch/powerpc/linux_syscall.h index d7b87192fefe..48fbeedc2671 100644 --- a/sys/compat/linux/arch/powerpc/linux_syscall.h +++ b/sys/compat/linux/arch/powerpc/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.67 2014/05/06 17:34:40 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.68 2014/05/17 09:25:07 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.61 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.62 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -567,7 +567,7 @@ /* syscall: "set_tid_address" ret: "int" args: "int *" */ #define LINUX_SYS_set_tid_address 232 -/* syscall: "fadvise64" ret: "int" args: "int" "linux_off_t" "size_t" "int" */ +/* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */ #define LINUX_SYS_fadvise64 233 /* syscall: "exit_group" ret: "int" args: "int" */ @@ -597,7 +597,7 @@ /* syscall: "fstatfs64" ret: "int" args: "int" "size_t" "struct linux_statfs64 *" */ #define LINUX_SYS_fstatfs64 253 -/* syscall: "fadvise64_64" ret: "int" args: "int" "linux_off_t" "linux_off_t" "int" */ +/* syscall: "fadvise64_64" ret: "int" args: "int" "off_t" "off_t" "int" */ #define LINUX_SYS_fadvise64_64 254 /* syscall: "ppoll" ret: "int" args: "struct pollfd *" "int" "struct linux_timespec *" "linux_sigset_t *" */ diff --git a/sys/compat/linux/arch/powerpc/linux_syscallargs.h b/sys/compat/linux/arch/powerpc/linux_syscallargs.h index 62bb32c52c12..ef7728087787 100644 --- a/sys/compat/linux/arch/powerpc/linux_syscallargs.h +++ b/sys/compat/linux/arch/powerpc/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.66 2014/05/06 17:34:40 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.67 2014/05/17 09:25:07 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.61 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.62 2014/05/17 09:23:51 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -833,7 +833,7 @@ check_syscall_args(linux_sys_set_tid_address) struct linux_sys_fadvise64_args { syscallarg(int) fd; - syscallarg(linux_off_t) offset; + syscallarg(off_t) offset; syscallarg(size_t) len; syscallarg(int) advice; }; @@ -899,8 +899,8 @@ check_syscall_args(linux_sys_fstatfs64) struct linux_sys_fadvise64_64_args { syscallarg(int) fd; - syscallarg(linux_off_t) offset; - syscallarg(linux_off_t) len; + syscallarg(off_t) offset; + syscallarg(off_t) len; syscallarg(int) advice; }; check_syscall_args(linux_sys_fadvise64_64) diff --git a/sys/compat/linux/arch/powerpc/linux_syscalls.c b/sys/compat/linux/arch/powerpc/linux_syscalls.c index 4f9617400220..f923bfc2e128 100644 --- a/sys/compat/linux/arch/powerpc/linux_syscalls.c +++ b/sys/compat/linux/arch/powerpc/linux_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.66 2014/05/06 17:34:40 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.67 2014/05/17 09:25:07 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.61 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.62 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.66 2014/05/06 17:34:40 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.67 2014/05/17 09:25:07 njoly Exp $"); #if defined(_KERNEL_OPT) #include diff --git a/sys/compat/linux/arch/powerpc/linux_sysent.c b/sys/compat/linux/arch/powerpc/linux_sysent.c index 2e8ba993417f..365026cdb2bc 100644 --- a/sys/compat/linux/arch/powerpc/linux_sysent.c +++ b/sys/compat/linux/arch/powerpc/linux_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.67 2014/05/06 17:34:40 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.68 2014/05/17 09:25:07 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.61 2014/05/06 17:33:35 njoly Exp + * created from NetBSD: syscalls.master,v 1.62 2014/05/17 09:23:51 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.67 2014/05/06 17:34:40 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.68 2014/05/17 09:25:07 njoly Exp $"); #include #include @@ -500,7 +500,7 @@ struct sysent linux_sysent[] = { linux_sys_nosys }, /* 231 = unimplemented io_cancel */ { ns(struct linux_sys_set_tid_address_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_set_tid_address },/* 232 = set_tid_address */ - { ns(struct linux_sys_fadvise64_args), 0, + { ns(struct linux_sys_fadvise64_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG1_64, (sy_call_t *)linux_sys_fadvise64 }, /* 233 = fadvise64 */ { ns(struct linux_sys_exit_group_args), 0, (sy_call_t *)linux_sys_exit_group },/* 234 = exit_group */ @@ -542,7 +542,7 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_statfs64 }, /* 252 = statfs64 */ { ns(struct linux_sys_fstatfs64_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fstatfs64 }, /* 253 = fstatfs64 */ - { ns(struct linux_sys_fadvise64_64_args), 0, + { ns(struct linux_sys_fadvise64_64_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG2_64 | SYCALL_ARG1_64, (sy_call_t *)linux_sys_fadvise64_64 },/* 254 = fadvise64_64 */ { 0, 0, 0, linux_sys_nosys }, /* 255 = unimplemented rtas */