CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: thorpej Date: Sun Apr 26 19:20:58 UTC 2020 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c linux32_systrace_args.c Log Message: Regen for native futex calls. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.c cvs rdiff -u -r1.7 -r1.8 \ src/sys/compat/linux32/arch/amd64/linux32_systrace_args.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.80 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.81 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.80 Sat Nov 9 23:45:08 2019 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Sun Apr 26 19:20:58 2020 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.80 2019/11/09 23:45:08 jdolecek Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.81 2020/04/26 19:20:58 thorpej Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.70 2019/11/09 23:44:31 jdolecek Exp + * created from NetBSD: syscalls.master,v 1.71 2020/04/26 18:53:33 thorpej Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -693,11 +693,11 @@ /* syscall: "ppoll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "linux32_timespecp_t" "linux32_sigsetp_t" */ #define LINUX32_SYS_ppoll 309 -/* syscall: "set_robust_list" ret: "int" args: "linux32_robust_list_headp_t" "linux32_size_t" */ -#define LINUX32_SYS_set_robust_list 311 +/* syscall: "netbsd32___futex_set_robust_list" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ +#define LINUX32_SYS_netbsd32___futex_set_robust_list 311 -/* syscall: "get_robust_list" ret: "int" args: "linux32_pid_t" "linux32_robust_list_headpp_t" "linux32_sizep_t" */ -#define LINUX32_SYS_get_robust_list 312 +/* syscall: "netbsd32___futex_get_robust_list" ret: "int" args: "lwpid_t" "netbsd32_voidp" "netbsd32_size_tp" */ +#define LINUX32_SYS_netbsd32___futex_get_robust_list 312 /* syscall: "utimensat" ret: "int" args: "int" "netbsd32_charp" "linux32_timespecp_t" "int" */ #define LINUX32_SYS_utimensat 320 Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.80 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.81 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.80 Sat Nov 9 23:45:08 2019 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Sun Apr 26 19:20:58 2020 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.80 2019/11/09 23:45:08 jdolecek Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.81 2020/04/26 19:20:58 thorpej Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.70 2019/11/09 23:44:31 jdolecek Exp + * created from NetBSD: syscalls.master,v 1.71 2020/04/26 18:53:33 thorpej Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -992,18 +992,9 @@ struct linux32_sys_ppoll_args { }; check_syscall_args(linux32_sys_ppoll) -struct linux32_sys_set_robust_list_args { - syscallarg(linux32_robust_list_headp_t) head; - syscallarg(linux32_size_t) len; -}; -check_syscall_args(linux32_sys_set_robust_list) +struct netbsd32___futex_set_robust_list_args; -struct linux32_sys_get_robust_list_args { - syscallarg(linux32_pid_t) pid; - syscallarg(linux32_robust_list_headpp_t) head; - syscallarg(linux32_sizep_t) len; -}; -check_syscall_args(linux32_sys_get_robust_list) +struct netbsd32___futex_get_robust_list_args; struct linux32_sys_utimensat_args { syscallarg(int) fd; @@ -1470,9 +1461,9 @@ int linux32_sys_faccessat(struct lwp *, int linux32_sys_ppoll(struct lwp *, const struct linux32_sys_ppoll_args *, register_t *); -int linux32_sys_set_robust_list(struct lwp *, const struct linux32_sys_set_robust_list_args *, register_t *); +int netbsd32___futex_set_robust_list(struct lwp *, const struct netbsd32___futex_set_robust_list_args *, register_t *); -int linux32_sys_get_robust_list(struct lwp *, const struct linux32_sys_get_robust_list_args *, register_t *); +int netbsd32___futex_get_robust_list(struct lwp *, const struct netbsd32___futex_get_robust_list_args *, register_t *); int linux32_sys_utimensat(struct lwp *, const struct linux32_sys_utimensat_args *, register_t *); Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.80 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.81 --- src/sys/compat
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Wed Apr 26 22:41:59 UTC 2017 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_exec.h Log Message: catch up with unit fixes for es_arglen; consistently use bytes. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux32/arch/amd64/linux32_exec.h 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/linux32/arch/amd64/linux32_exec.h diff -u src/sys/compat/linux32/arch/amd64/linux32_exec.h:1.6 src/sys/compat/linux32/arch/amd64/linux32_exec.h:1.7 --- src/sys/compat/linux32/arch/amd64/linux32_exec.h:1.6 Fri Feb 21 02:53:53 2014 +++ src/sys/compat/linux32/arch/amd64/linux32_exec.h Wed Apr 26 18:41:59 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_exec.h,v 1.6 2014/02/21 07:53:53 maxv Exp $ */ +/* $NetBSD: linux32_exec.h,v 1.7 2017/04/26 22:41:59 christos Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -75,10 +75,12 @@ struct linux32_extra_stack_data { }; #define LINUX32_ELF_AUX_ARGSIZ sizeof(struct linux32_extra_stack_data) -#endif +#else #define LINUX32_ELF_AUX_ARGSIZ \ - (howmany(LINUX32_ELF_AUX_ENTRIES * sizeof(Aux32Info), sizeof(Elf32_Addr)) + LINUX32_RANDOM_BYTES) +(LINUX32_ELF_AUX_ENTRIES * sizeof(Aux32Info) + LINUX32_RANDOM_BYTES) + +#endif #ifdef _KERNEL int linux32_exec_setup_stack(struct lwp *, struct exec_package *);
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Sun Mar 8 17:10:59 UTC 2015 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c linux32_systrace_args.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.c cvs rdiff -u -r1.1 -r1.2 \ src/sys/compat/linux32/arch/amd64/linux32_systrace_args.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.74 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.75 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.74 Sat Mar 7 11:41:53 2015 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Sun Mar 8 13:10:59 2015 @@ -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: */ Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.74 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.75 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.74 Sat Mar 7 11:41:53 2015 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Sun Mar 8 13:10:59 2015 @@ -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 netbsd32_setgid_args; struct linux32_sys_signal_args { syscallarg(int) signum; - syscallarg(linux32_handler_t) handler; + syscallarg(linux32_handlerp_t) handler; }; check_syscall_args(linux32_sys_signal) Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.74 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.75 --- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.74 Sat Mar 7 11:41:53 2015 +++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c Sun Mar 8 13:10:59 2015 @@ -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 -__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 Index: src/sys/compat/linux32/arch/amd64/linux32_sysent.c diff -u src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.74 src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.75 --- src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.74 Sat Mar 7 11:41:53 2015 +++ src/sys/compat/linux32/arch/amd64/linux32_sysent.c Sun Mar 8 13:10:59 2015 @@ -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 -__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
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: njoly Date: Sat Nov 22 13:13:10 UTC 2014 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: Regen for ppoll(2) To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.72 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.73 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.72 Thu May 29 10:47:23 2014 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Sat Nov 22 13:13:10 2014 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.72 2014/05/29 10:47:23 njoly Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.73 2014/11/22 13:13:10 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp + * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -690,6 +690,9 @@ /* syscall: "faccessat" ret: "int" args: "int" "netbsd32_charp" "int" */ #define LINUX32_SYS_faccessat 307 +/* syscall: "ppoll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "linux32_timespecp_t" "linux32_sigsetp_t" */ +#define LINUX32_SYS_ppoll 309 + /* syscall: "set_robust_list" ret: "int" args: "linux32_robust_list_headp_t" "linux32_size_t" */ #define LINUX32_SYS_set_robust_list 311 Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.72 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.73 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.72 Thu May 29 10:47:23 2014 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Sat Nov 22 13:13:10 2014 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.72 2014/05/29 10:47:23 njoly Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.73 2014/11/22 13:13:10 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp + * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -981,6 +981,14 @@ struct linux32_sys_faccessat_args { }; check_syscall_args(linux32_sys_faccessat) +struct linux32_sys_ppoll_args { + syscallarg(netbsd32_pollfdp_t) fds; + syscallarg(u_int) nfds; + syscallarg(linux32_timespecp_t) timeout; + syscallarg(linux32_sigsetp_t) sigset; +}; +check_syscall_args(linux32_sys_ppoll) + struct linux32_sys_set_robust_list_args { syscallarg(linux32_robust_list_headp_t) head; syscallarg(linux32_size_t) len; @@ -1449,6 +1457,8 @@ int linux32_sys_fchmodat(struct lwp *, c int linux32_sys_faccessat(struct lwp *, const struct linux32_sys_faccessat_args *, register_t *); +int linux32_sys_ppoll(struct lwp *, const struct linux32_sys_ppoll_args *, register_t *); + int linux32_sys_set_robust_list(struct lwp *, const struct linux32_sys_set_robust_list_args *, register_t *); int linux32_sys_get_robust_list(struct lwp *, const struct linux32_sys_get_robust_list_args *, register_t *); Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.72 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.73 --- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.72 Thu May 29 10:47:23 2014 +++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c Sat Nov 22 13:13:10 2014 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.72 2014/05/29 10:47:23 njoly Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.73 2014/11/22 13:13:10 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp + * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.72 2014/05/29 10:47:23 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.73 2014/11/22 13:13:10 njoly Exp $"); #if defined(_KERNEL_OPT) #include @@ -346,7 +346,7 @@ const char *const linux32_syscallnames[] /* 306 */ "fchmodat", /* 307 */ "faccessat", /* 308 */ "#308 (unimplemented pselect6)", - /* 309 */ "#309 (unimplemented ppoll)", + /* 309 */ "ppoll", /* 310 */ "#310 (unimplemented unshare)", /* 311 */ "set_robust_list", /* 312 */ "g
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: njoly Date: Thu May 29 10:47:23 UTC 2014 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: Regen for utimes(2). To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.71 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.72 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.71 Sun May 4 10:10:39 2014 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Thu May 29 10:47:23 2014 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.71 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.72 2014/05/29 10:47:23 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.66 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -648,6 +648,9 @@ /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */ #define LINUX32_SYS_tgkill 270 +/* syscall: "compat_50_netbsd32_utimes" ret: "int" args: "netbsd32_charp" "netbsd32_timeval50p_t" */ +#define LINUX32_SYS_compat_50_netbsd32_utimes 271 + /* syscall: "fadvise64_64" ret: "int" args: "int" "uint32_t" "uint32_t" "uint32_t" "uint32_t" "int" */ #define LINUX32_SYS_fadvise64_64 272 Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.71 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.72 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.71 Sun May 4 10:10:39 2014 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Thu May 29 10:47:23 2014 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.71 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.72 2014/05/29 10:47:23 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.66 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -898,6 +898,8 @@ struct linux32_sys_tgkill_args { }; check_syscall_args(linux32_sys_tgkill) +struct compat_50_netbsd32_utimes_args; + struct linux32_sys_fadvise64_64_args { syscallarg(int) fd; syscallarg(uint32_t) offlo; @@ -1419,6 +1421,8 @@ int linux32_sys_fstatfs64(struct lwp *, int linux32_sys_tgkill(struct lwp *, const struct linux32_sys_tgkill_args *, register_t *); +int compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *); + int linux32_sys_fadvise64_64(struct lwp *, const struct linux32_sys_fadvise64_64_args *, register_t *); int linux32_sys_openat(struct lwp *, const struct linux32_sys_openat_args *, register_t *); Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.71 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.72 --- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.71 Sun May 4 10:10:39 2014 +++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c Thu May 29 10:47:23 2014 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.71 2014/05/04 10:10:39 njoly Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.72 2014/05/29 10:47:23 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.66 2014/05/04 10:08:53 njoly Exp + * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.71 2014/05/04 10:10:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.72 2014/05/29 10:47:23 njoly Exp $"); #if defined(_KERNEL_OPT) #include @@ -308,7 +308,7 @@ const char *const linux32_syscallnames[] /* 268 */ "statfs64", /* 269 */ "fstatfs64", /* 270 */ "tgkill", - /* 271 */ "#271 (unimplemented utimes)", + /* 271 */ "compat_50_netbsd32_utimes", /* 272 */ "fadvise64_64", /* 273 */ "#273 (unimplemented vserver)", /* 274 */ "#274 (unimplemented mbind)", Index: src/sys/compat/linux32/arch/amd64/linux32_sysent.c diff -u src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.71 src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.72 --- src/sys/compat/linux32/arch/amd64/
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: njoly Date: Thu May 29 10:47:00 UTC 2014 Modified Files: src/sys/compat/linux32/arch/amd64: syscalls.master Log Message: Add utimes(2) support. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/compat/linux32/arch/amd64/syscalls.master 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/linux32/arch/amd64/syscalls.master diff -u src/sys/compat/linux32/arch/amd64/syscalls.master:1.66 src/sys/compat/linux32/arch/amd64/syscalls.master:1.67 --- src/sys/compat/linux32/arch/amd64/syscalls.master:1.66 Sun May 4 10:08:53 2014 +++ src/sys/compat/linux32/arch/amd64/syscalls.master Thu May 29 10:47:00 2014 @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.66 2014/05/04 10:08:53 njoly Exp $ + $NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp $ ; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file. ; (See syscalls.conf to see what it is processed into.) @@ -472,7 +472,8 @@ 269 STD { int|linux32_sys||fstatfs64(int fd, \ netbsd32_size_t sz, linux32_statfs64p sp); } 270 STD { int|linux32_sys||tgkill(int tgid, int tid, int sig); } -271 UNIMPL utimes +271 NOARGS { int|compat_50_netbsd32||utimes(netbsd32_charp path, \ + netbsd32_timeval50p_t tptr); } 272 STD { int|linux32_sys||fadvise64_64(int fd, uint32_t offlo, \ uint32_t offhi, uint32_t lenlo, uint32_t lenhi, int advice); } 273 UNIMPL vserver
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: njoly Date: Sun May 4 10:03:55 UTC 2014 Modified Files: src/sys/compat/linux32/arch/amd64: Makefile Log Message: Remove now unneeded bsd.kinc.mk. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux32/arch/amd64/Makefile 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/linux32/arch/amd64/Makefile diff -u src/sys/compat/linux32/arch/amd64/Makefile:1.1 src/sys/compat/linux32/arch/amd64/Makefile:1.2 --- src/sys/compat/linux32/arch/amd64/Makefile:1.1 Thu Feb 9 19:18:57 2006 +++ src/sys/compat/linux32/arch/amd64/Makefile Sun May 4 10:03:55 2014 @@ -1,4 +1,3 @@ -# $NetBSD: Makefile,v 1.1 2006/02/09 19:18:57 manu Exp $ +# $NetBSD: Makefile,v 1.2 2014/05/04 10:03:55 njoly Exp $ .include <../../Makefile.inc> -.include
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: dsl Date: Wed Feb 19 21:45:01 UTC 2014 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_machdep.c Log Message: Explicitly include x86/fpu.h instead of relying in x86/frame.h including it. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 \ src/sys/compat/linux32/arch/amd64/linux32_machdep.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/linux32/arch/amd64/linux32_machdep.c diff -u src/sys/compat/linux32/arch/amd64/linux32_machdep.c:1.35 src/sys/compat/linux32/arch/amd64/linux32_machdep.c:1.36 --- src/sys/compat/linux32/arch/amd64/linux32_machdep.c:1.35 Sat Feb 15 10:11:15 2014 +++ src/sys/compat/linux32/arch/amd64/linux32_machdep.c Wed Feb 19 21:45:01 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_machdep.c,v 1.35 2014/02/15 10:11:15 dsl Exp $ */ +/* $NetBSD: linux32_machdep.c,v 1.36 2014/02/19 21:45:01 dsl Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.35 2014/02/15 10:11:15 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.36 2014/02/19 21:45:01 dsl Exp $"); #include #include @@ -41,6 +41,8 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_mach #include #include +#include + #include #include
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Mon Nov 18 19:23:27 UTC 2013 Modified Files: src/sys/compat/linux32/arch/amd64: syscalls.master Log Message: Fix extended attribute syscalls to use the proper types and call their netbsd32 counterparts for now. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/compat/linux32/arch/amd64/syscalls.master 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/linux32/arch/amd64/syscalls.master diff -u src/sys/compat/linux32/arch/amd64/syscalls.master:1.64 src/sys/compat/linux32/arch/amd64/syscalls.master:1.65 --- src/sys/compat/linux32/arch/amd64/syscalls.master:1.64 Sun Nov 17 20:32:52 2013 +++ src/sys/compat/linux32/arch/amd64/syscalls.master Mon Nov 18 14:23:27 2013 @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.64 2013/11/18 01:32:52 chs Exp $ + $NetBSD: syscalls.master,v 1.65 2013/11/18 19:23:27 christos Exp $ ; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file. ; (See syscalls.conf to see what it is processed into.) @@ -401,27 +401,33 @@ 223 UNIMPL /* unused */ 224 NOARGS { pid_t|linux_sys||gettid(void); } 225 UNIMPL readahead -226 NOARGS { int|linux_sys||setxattr(char *path, char *name, \ - void *value, size_t size, int flags); } -227 NOARGS { int|linux_sys||lsetxattr(char *path, char *name, \ - void *value, size_t size, int flags); } -228 NOARGS { int|linux_sys||fsetxattr(int fd, char *name, \ - void *value, size_t size, int flags); } -229 NOARGS { ssize_t|linux_sys||getxattr(char *path, char *name, \ - void *value, size_t size); } -230 NOARGS { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ - void *value, size_t size); } -231 NOARGS { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ - void *value, size_t size); } -232 NOARGS { ssize_t|linux_sys||listxattr(char *path, char *list, \ - size_t size); } -233 NOARGS { ssize_t|linux_sys||llistxattr(char *path, char *list, \ - size_t size); } -234 NOARGS { ssize_t|linux_sys||flistxattr(int fd, char *list, \ - size_t size); } -235 NOARGS { int|linux_sys||removexattr(char *path, char *name); } -236 NOARGS { int|linux_sys||lremovexattr(char *path, char *name); } -237 NOARGS { int|linux_sys||fremovexattr(int fd, char *name); } +226 NOARGS { int|netbsd32||setxattr(netbsd32_charp path, \ + netbsd32_charp name, netbsd32_voidp value, \ + netbsd32_size_t size, int flags); } +227 NOARGS { int|netbsd32||lsetxattr(netbsd32_charp path, \ + netbsd32_charp name, netbsd32_voidp value, \ + netbsd32_size_t size, int flags); } +228 NOARGS { int|netbsd32||fsetxattr(int fd, netbsd32_charp name, \ + netbsd32_voidp value, netbsd32_size_t size, int flags); } +229 NOARGS { ssize_t|netbsd32||getxattr(netbsd32_charp path, \ + netbsd32_charp name, netbsd32_voidp value, \ + netbsd32_size_t size); } +230 NOARGS { ssize_t|netbsd32||lgetxattr(netbsd32_charp path, \ + netbsd32_charp name, netbsd32_voidp value, \ + netbsd32_size_t size); } +231 NOARGS { ssize_t|netbsd32||fgetxattr(int fd, netbsd32_charp name, \ + netbsd32_voidp value, netbsd32_size_t size); } +232 NOARGS { ssize_t|netbsd32||listxattr(netbsd32_charp path, \ + netbsd32_charp list, netbsd32_size_t size); } +233 NOARGS { ssize_t|netbsd32||llistxattr(netbsd32_charp path, \ + netbsd32_charp list, netbsd32_size_t size); } +234 NOARGS { ssize_t|netbsd32||flistxattr(int fd, netbsd32_charp list, \ + netbsd32_size_t size); } +235 NOARGS { int|netbsd32||removexattr(netbsd32_charp path, \ + netbsd32_charp name); } +236 NOARGS { int|netbsd32||lremovexattr(netbsd32_charp path, \ + netbsd32_charp name); } +237 NOARGS { int|netbsd32||fremovexattr(int fd, netbsd32_charp name); } 238 STD { int|linux32_sys||tkill(int tid, int sig); } 239 UNIMPL sendfile64 240 STD { int|linux32_sys||futex(linux32_intp_t uaddr, int op, int val, \
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Mon Nov 18 19:23:35 UTC 2013 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.69 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.70 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.69 Sun Nov 17 20:36:35 2013 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Mon Nov 18 14:23:35 2013 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.69 2013/11/18 01:36:35 chs Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.70 2013/11/18 19:23:35 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.64 2013/11/18 01:32:52 chs Exp + * created from NetBSD: syscalls.master,v 1.65 2013/11/18 19:23:27 christos Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -564,41 +564,41 @@ /* syscall: "gettid" ret: "pid_t" args: */ #define LINUX32_SYS_gettid 224 -/* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ -#define LINUX32_SYS_setxattr 226 +/* syscall: "netbsd32_setxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ +#define LINUX32_SYS_netbsd32_setxattr 226 -/* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ -#define LINUX32_SYS_lsetxattr 227 +/* syscall: "netbsd32_lsetxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ +#define LINUX32_SYS_netbsd32_lsetxattr 227 -/* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */ -#define LINUX32_SYS_fsetxattr 228 +/* syscall: "netbsd32_fsetxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ +#define LINUX32_SYS_netbsd32_fsetxattr 228 -/* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */ -#define LINUX32_SYS_getxattr 229 +/* syscall: "netbsd32_getxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ +#define LINUX32_SYS_netbsd32_getxattr 229 -/* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */ -#define LINUX32_SYS_lgetxattr 230 +/* syscall: "netbsd32_lgetxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ +#define LINUX32_SYS_netbsd32_lgetxattr 230 -/* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */ -#define LINUX32_SYS_fgetxattr 231 +/* syscall: "netbsd32_fgetxattr" ret: "ssize_t" args: "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ +#define LINUX32_SYS_netbsd32_fgetxattr 231 -/* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */ -#define LINUX32_SYS_listxattr 232 +/* syscall: "netbsd32_listxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ +#define LINUX32_SYS_netbsd32_listxattr 232 -/* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */ -#define LINUX32_SYS_llistxattr 233 +/* syscall: "netbsd32_llistxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ +#define LINUX32_SYS_netbsd32_llistxattr 233 -/* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */ -#define LINUX32_SYS_flistxattr 234 +/* syscall: "netbsd32_flistxattr" ret: "ssize_t" args: "int" "netbsd32_charp" "netbsd32_size_t" */ +#define LINUX32_SYS_netbsd32_flistxattr 234 -/* syscall: "removexattr" ret: "int" args: "char *" "char *" */ -#define LINUX32_SYS_removexattr 235 +/* syscall: "netbsd32_removexattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ +#define LINUX32_SYS_netbsd32_removexattr 235 -/* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */ -#define LINUX32_SYS_lremovexattr 236 +/* syscall: "netbsd32_lremovexattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ +#define LINUX32_SYS_netbsd32_lremovexattr 236 -/* syscall: "fremovexattr" ret: "int" args: "int" "char *" */ -#define LINUX32_SYS_fremovexattr 237 +/* syscall: "netbsd32_fremovexattr" ret: "int" args: "int" "netbsd32_charp" */ +#define LINUX32_SYS_netbsd32_fremovexattr 237 /* syscall: "tkill" ret: "int" args: "int" "int" */ #define LINUX32_SYS_tkill 238 Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/comp
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Fri Jul 13 18:21:45 UTC 2012 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.66 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.67 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.66 Thu May 10 15:41:52 2012 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Fri Jul 13 14:21:45 2012 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.66 2012/05/10 19:41:52 christos Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.67 2012/07/13 18:21:45 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.61 2012/05/10 19:40:46 christos Exp + * created from NetBSD: syscalls.master,v 1.62 2012/07/13 18:21:33 christos Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -564,6 +564,42 @@ /* syscall: "gettid" ret: "pid_t" args: */ #define LINUX32_SYS_gettid 224 +/* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ +#define LINUX32_SYS_setxattr 226 + +/* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ +#define LINUX32_SYS_lsetxattr 227 + +/* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */ +#define LINUX32_SYS_fsetxattr 228 + +/* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */ +#define LINUX32_SYS_getxattr 229 + +/* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */ +#define LINUX32_SYS_lgetxattr 230 + +/* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */ +#define LINUX32_SYS_fgetxattr 231 + +/* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */ +#define LINUX32_SYS_listxattr 232 + +/* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */ +#define LINUX32_SYS_llistxattr 233 + +/* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */ +#define LINUX32_SYS_flistxattr 234 + +/* syscall: "removexattr" ret: "int" args: "char *" "char *" */ +#define LINUX32_SYS_removexattr 235 + +/* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */ +#define LINUX32_SYS_lremovexattr 236 + +/* syscall: "fremovexattr" ret: "int" args: "int" "char *" */ +#define LINUX32_SYS_fremovexattr 237 + /* syscall: "tkill" ret: "int" args: "int" "int" */ #define LINUX32_SYS_tkill 238 Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.66 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.67 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.66 Thu May 10 15:41:52 2012 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Fri Jul 13 14:21:45 2012 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.66 2012/05/10 19:41:52 christos Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.67 2012/07/13 18:21:45 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.61 2012/05/10 19:40:46 christos Exp + * created from NetBSD: syscalls.master,v 1.62 2012/07/13 18:21:33 christos Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -768,6 +768,30 @@ check_syscall_args(linux32_sys_getdents6 struct linux32_sys_fcntl64_args; +struct linux_sys_setxattr_args; + +struct linux_sys_lsetxattr_args; + +struct linux_sys_fsetxattr_args; + +struct linux_sys_getxattr_args; + +struct linux_sys_lgetxattr_args; + +struct linux_sys_fgetxattr_args; + +struct linux_sys_listxattr_args; + +struct linux_sys_llistxattr_args; + +struct linux_sys_flistxattr_args; + +struct linux_sys_removexattr_args; + +struct linux_sys_lremovexattr_args; + +struct linux_sys_fremovexattr_args; + struct linux32_sys_tkill_args { syscallarg(int) tid; syscallarg(int) sig; @@ -1260,6 +1284,30 @@ int linux32_sys_fcntl64(struct lwp *, co int linux_sys_gettid(struct lwp *, const void *, register_t *); +int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *); + +int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *); + +int linux_sys_fsetxattr(struct lwp *, const struct linux_sys_fsetxattr_args *, register_t *); + +int linux_sys_getxattr(struct lwp *, const
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Fri Jul 13 18:21:33 UTC 2012 Modified Files: src/sys/compat/linux32/arch/amd64: syscalls.master Log Message: add xattr stubs To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/compat/linux32/arch/amd64/syscalls.master 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/linux32/arch/amd64/syscalls.master diff -u src/sys/compat/linux32/arch/amd64/syscalls.master:1.61 src/sys/compat/linux32/arch/amd64/syscalls.master:1.62 --- src/sys/compat/linux32/arch/amd64/syscalls.master:1.61 Thu May 10 15:40:46 2012 +++ src/sys/compat/linux32/arch/amd64/syscalls.master Fri Jul 13 14:21:33 2012 @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.61 2012/05/10 19:40:46 christos Exp $ + $NetBSD: syscalls.master,v 1.62 2012/07/13 18:21:33 christos Exp $ ; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file. ; (See syscalls.conf to see what it is processed into.) @@ -400,18 +400,27 @@ 223 UNIMPL /* unused */ 224 NOARGS { pid_t|linux_sys||gettid(void); } 225 UNIMPL readahead -226 UNIMPL setxattr -227 UNIMPL lsetxattr -228 UNIMPL fsetxattr -229 UNIMPL getxattr -230 UNIMPL lgetxattr -231 UNIMPL fgetxattr -232 UNIMPL listxattr -233 UNIMPL llistxattr -234 UNIMPL flistxattr -235 UNIMPL removexattr -236 UNIMPL lremovexattr -237 UNIMPL fremovexattr +226 NOARGS { int|linux_sys||setxattr(char *path, char *name, \ + void *value, size_t size, int flags); } +227 NOARGS { int|linux_sys||lsetxattr(char *path, char *name, \ + void *value, size_t size, int flags); } +228 NOARGS { int|linux_sys||fsetxattr(int fd, char *name, \ + void *value, size_t size, int flags); } +229 NOARGS { ssize_t|linux_sys||getxattr(char *path, char *name, \ + void *value, size_t size); } +230 NOARGS { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ + void *value, size_t size); } +231 NOARGS { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ + void *value, size_t size); } +232 NOARGS { ssize_t|linux_sys||listxattr(char *path, char *list, \ + size_t size); } +233 NOARGS { ssize_t|linux_sys||llistxattr(char *path, char *list, \ + size_t size); } +234 NOARGS { ssize_t|linux_sys||flistxattr(int fd, char *list, \ + size_t size); } +235 NOARGS { int|linux_sys||removexattr(char *path, char *name); } +236 NOARGS { int|linux_sys||lremovexattr(char *path, char *name); } +237 NOARGS { int|linux_sys||fremovexattr(int fd, char *name); } 238 STD { int|linux32_sys||tkill(int tid, int sig); } 239 UNIMPL sendfile64 240 STD { int|linux32_sys||futex(linux32_intp_t uaddr, int op, int val, \
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Thu May 10 19:41:52 UTC 2012 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.65 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.66 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.65 Thu Nov 17 23:20:16 2011 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Thu May 10 15:41:52 2012 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.65 2011/11/18 04:20:16 christos Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.66 2012/05/10 19:41:52 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.60 2011/11/18 04:08:56 christos Exp + * created from NetBSD: syscalls.master,v 1.61 2012/05/10 19:40:46 christos Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -445,7 +445,7 @@ /* syscall: "rt_sigpending" ret: "int" args: "linux32_sigsetp_t" "netbsd32_size_t" */ #define LINUX32_SYS_rt_sigpending 176 -/* syscall: "rt_sigtimedwait" ret: "int" args: "const linux32_sigset_t *" "linux32_siginfo_t *" "const struct linux_timespec32 *" */ +/* syscall: "rt_sigtimedwait" ret: "int" args: "const linux32_sigsetp_t" "linux32_siginfop_t" "const linux32_timespecp_t" */ #define LINUX32_SYS_rt_sigtimedwait 177 /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux32_siginfop_t" */ Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.65 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.66 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.65 Thu Nov 17 23:20:16 2011 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Thu May 10 15:41:52 2012 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.65 2011/11/18 04:20:16 christos Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.66 2012/05/10 19:41:52 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.60 2011/11/18 04:08:56 christos Exp + * created from NetBSD: syscalls.master,v 1.61 2012/05/10 19:40:46 christos Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -605,9 +605,9 @@ struct linux32_sys_rt_sigpending_args { check_syscall_args(linux32_sys_rt_sigpending) struct linux32_sys_rt_sigtimedwait_args { - syscallarg(const linux32_sigset_t *) set; - syscallarg(linux32_siginfo_t *) info; - syscallarg(const struct linux_timespec32 *) timeout; + syscallarg(const linux32_sigsetp_t) set; + syscallarg(linux32_siginfop_t) info; + syscallarg(const linux32_timespecp_t) timeout; }; check_syscall_args(linux32_sys_rt_sigtimedwait) Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.65 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.66 --- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.65 Thu Nov 17 23:20:16 2011 +++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c Thu May 10 15:41:52 2012 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.65 2011/11/18 04:20:16 christos Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.66 2012/05/10 19:41:52 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.60 2011/11/18 04:08:56 christos Exp + * created from NetBSD: syscalls.master,v 1.61 2012/05/10 19:40:46 christos Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.65 2011/11/18 04:20:16 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.66 2012/05/10 19:41:52 christos Exp $"); #if defined(_KERNEL_OPT) #include Index: src/sys/compat/linux32/arch/amd64/linux32_sysent.c diff -u src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.65 src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.66 --- src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.65 Thu Nov 17 23:20:16 2011 +++ src/sys/compat/linux32/arch/amd64/linux32_sysent.c Thu May 10 15:41:52 2012 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_sysent.c,v 1.65 2011/11/18 04:20:16 christos Exp $ */ +/* $NetBSD: linux32_sysent.c,v 1.66 2012/05/10 19:41:52 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created fro
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Fri Nov 18 04:20:16 UTC 2011 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.64 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.65 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.64 Thu Nov 17 23:08:56 2011 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Thu Nov 17 23:20:16 2011 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.64 2011/11/18 04:08:56 christos Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.65 2011/11/18 04:20:16 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.59 2011/05/30 17:50:32 alnsn Exp + * created from NetBSD: syscalls.master,v 1.60 2011/11/18 04:08:56 christos Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.64 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.65 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.64 Thu Nov 17 23:08:56 2011 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Thu Nov 17 23:20:16 2011 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.64 2011/11/18 04:08:56 christos Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.65 2011/11/18 04:20:16 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.59 2011/05/30 17:50:32 alnsn Exp + * created from NetBSD: syscalls.master,v 1.60 2011/11/18 04:08:56 christos Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.64 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.65 --- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.64 Thu Nov 17 23:08:56 2011 +++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c Thu Nov 17 23:20:16 2011 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.64 2011/11/18 04:08:56 christos Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.65 2011/11/18 04:20:16 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.59 2011/05/30 17:50:32 alnsn Exp + * created from NetBSD: syscalls.master,v 1.60 2011/11/18 04:08:56 christos Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.64 2011/11/18 04:08:56 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.65 2011/11/18 04:20:16 christos Exp $"); #if defined(_KERNEL_OPT) #include Index: src/sys/compat/linux32/arch/amd64/linux32_sysent.c diff -u src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.64 src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.65 --- src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.64 Thu Nov 17 23:08:56 2011 +++ src/sys/compat/linux32/arch/amd64/linux32_sysent.c Thu Nov 17 23:20:16 2011 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_sysent.c,v 1.64 2011/11/18 04:08:56 christos Exp $ */ +/* $NetBSD: linux32_sysent.c,v 1.65 2011/11/18 04:20:16 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.59 2011/05/30 17:50:32 alnsn Exp + * created from NetBSD: syscalls.master,v 1.60 2011/11/18 04:08:56 christos Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.64 2011/11/18 04:08:56 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.65 2011/11/18 04:20:16 christos Exp $"); #include #include
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Sun Apr 10 15:48:01 UTC 2011 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: Regen: XXX: produces errors because of rump changes! To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.60 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.61 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.60 Tue Nov 2 14:15:39 2010 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Sun Apr 10 11:48:01 2011 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.60 2010/11/02 18:15:39 chs Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.61 2011/04/10 15:48:01 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp + * created from NetBSD: syscalls.master,v 1.58 2011/04/10 15:47:21 christos Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -612,6 +612,12 @@ /* syscall: "get_robust_list" ret: "int" args: "linux32_pid_t" "linux32_robust_list_headpp_t" "linux32_sizep_t" */ #define LINUX32_SYS_get_robust_list 312 +/* syscall: "dup3" ret: "int" args: "int" "int" "int" */ +#define LINUX32_SYS_dup3 330 + +/* syscall: "pipe2" ret: "int" args: "netbsd32_intp" "int" */ +#define LINUX32_SYS_pipe2 331 + #define LINUX32_SYS_MAXSYSCALL 338 #define LINUX32_SYS_NSYSENT 512 #endif /* _LINUX32_SYS_SYSCALL_H_ */ Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.60 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.61 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.60 Tue Nov 2 14:15:39 2010 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Sun Apr 10 11:48:01 2011 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.60 2010/11/02 18:15:39 chs Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.61 2011/04/10 15:48:01 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp + * created from NetBSD: syscalls.master,v 1.58 2011/04/10 15:47:21 christos Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -27,7 +27,7 @@ } #undef check_syscall_args -#define check_syscall_args(call) \ +#define check_syscall_args(call) /*LINTED*/ \ typedef char call##_check_args[sizeof (struct call##_args) \ <= LINUX32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1]; @@ -871,6 +871,19 @@ }; check_syscall_args(linux32_sys_get_robust_list) +struct linux32_sys_dup3_args { + syscallarg(int) from; + syscallarg(int) to; + syscallarg(int) flags; +}; +check_syscall_args(linux32_sys_dup3) + +struct linux32_sys_pipe2_args { + syscallarg(netbsd32_intp) fd; + syscallarg(int) flags; +}; +check_syscall_args(linux32_sys_pipe2) + /* * System call prototypes. */ @@ -1253,4 +1266,8 @@ int linux32_sys_get_robust_list(struct lwp *, const struct linux32_sys_get_robust_list_args *, register_t *); +int linux32_sys_dup3(struct lwp *, const struct linux32_sys_dup3_args *, register_t *); + +int linux32_sys_pipe2(struct lwp *, const struct linux32_sys_pipe2_args *, register_t *); + #endif /* _LINUX32_SYS_SYSCALLARGS_H_ */ Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.60 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.61 --- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.60 Tue Nov 2 14:15:39 2010 +++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c Sun Apr 10 11:48:01 2011 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.60 2010/11/02 18:15:39 chs Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.61 2011/04/10 15:48:01 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp + * created from NetBSD: syscalls.master,v 1.58 2011/04/10 15:47:21 christos Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.60 2010/11/02 18:15:39 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.61 2011/04/10 15:48:01 christos Exp $"); #if defined(_KERNEL_OPT) #include @@ -367,12 +367,186 @@ /* 327 */ "#327 (unimplemented signalfd4)", /* 328 */ "#328 (unimplemented eventfd2)", /* 329 */
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Sun Apr 10 15:47:21 UTC 2011 Modified Files: src/sys/compat/linux32/arch/amd64: syscalls.master Log Message: add pipe2 and dup3 To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/compat/linux32/arch/amd64/syscalls.master 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/linux32/arch/amd64/syscalls.master diff -u src/sys/compat/linux32/arch/amd64/syscalls.master:1.57 src/sys/compat/linux32/arch/amd64/syscalls.master:1.58 --- src/sys/compat/linux32/arch/amd64/syscalls.master:1.57 Tue Nov 2 14:14:06 2010 +++ src/sys/compat/linux32/arch/amd64/syscalls.master Sun Apr 10 11:47:21 2011 @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp $ + $NetBSD: syscalls.master,v 1.58 2011/04/10 15:47:21 christos Exp $ ; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file. ; (See syscalls.conf to see what it is processed into.) @@ -513,8 +513,8 @@ 327 UNIMPL signalfd4 328 UNIMPL eventfd2 329 UNIMPL epoll_create1 -330 UNIMPL dup3 -331 UNIMPL pipe2 +330 STD { int|linux32_sys||dup3(int from, int to, int flags); } +331 STD { int|linux32_sys||pipe2(netbsd32_intp fd, int flags); } 332 UNIMPL inotify_init1 333 UNIMPL preadv 334 UNIMPL pwritev
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: chs Date: Tue Nov 2 18:15:39 UTC 2010 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.59 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.60 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.59 Wed Jul 7 01:31:54 2010 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Tue Nov 2 18:15:39 2010 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.59 2010/07/07 01:31:54 chs Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.60 2010/11/02 18:15:39 chs Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.56 2010/07/07 01:30:35 chs Exp + * created from NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -265,12 +265,18 @@ /* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */ #define LINUX32_SYS_netbsd32_setpriority 97 +/* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_u_long" "u_int" */ +#define LINUX32_SYS_netbsd32_profil 98 + /* syscall: "statfs" ret: "int" args: "netbsd32_charp" "linux32_statfsp" */ #define LINUX32_SYS_statfs 99 /* syscall: "fstatfs" ret: "int" args: "int" "linux32_statfsp" */ #define LINUX32_SYS_fstatfs 100 +/* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */ +#define LINUX32_SYS_ioperm 101 + /* syscall: "socketcall" ret: "int" args: "int" "netbsd32_voidp" */ #define LINUX32_SYS_socketcall 102 @@ -292,6 +298,9 @@ /* syscall: "olduname" ret: "int" args: "linux32_oldutsnamep_t" */ #define LINUX32_SYS_olduname 109 +/* syscall: "iopl" ret: "int" args: "int" */ +#define LINUX32_SYS_iopl 110 + /* syscall: "wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusage50p_t" */ #define LINUX32_SYS_wait4 114 @@ -313,9 +322,15 @@ /* syscall: "clone" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_voidp" "netbsd32_voidp" "netbsd32_voidp" */ #define LINUX32_SYS_clone 120 +/* syscall: "setdomainname" ret: "int" args: "netbsd32_charp" "int" */ +#define LINUX32_SYS_setdomainname 121 + /* syscall: "uname" ret: "int" args: "linux32_utsnamep" */ #define LINUX32_SYS_uname 122 +/* syscall: "modify_ldt" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */ +#define LINUX32_SYS_modify_ldt 123 + /* syscall: "mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ #define LINUX32_SYS_mprotect 125 @@ -457,6 +472,12 @@ /* syscall: "mmap2" ret: "linux32_off_t" args: "netbsd32_u_long" "netbsd32_size_t" "int" "int" "int" "linux32_off_t" */ #define LINUX32_SYS_mmap2 192 +/* syscall: "truncate64" ret: "int" args: "netbsd32_charp" "uint32_t" "uint32_t" */ +#define LINUX32_SYS_truncate64 193 + +/* syscall: "ftruncate64" ret: "int" args: "unsigned int" "uint32_t" "uint32_t" */ +#define LINUX32_SYS_ftruncate64 194 + /* syscall: "stat64" ret: "int" args: "netbsd32_charp" "linux32_stat64p" */ #define LINUX32_SYS_stat64 195 @@ -576,6 +597,12 @@ /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "linux32_timespecp_t" "linux32_timespecp_t" */ #define LINUX32_SYS_clock_nanosleep 267 +/* syscall: "statfs64" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" "linux32_statfs64p" */ +#define LINUX32_SYS_statfs64 268 + +/* syscall: "fstatfs64" ret: "int" args: "int" "netbsd32_size_t" "linux32_statfs64p" */ +#define LINUX32_SYS_fstatfs64 269 + /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */ #define LINUX32_SYS_tgkill 270 Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.59 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.60 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.59 Wed Jul 7 01:31:54 2010 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Tue Nov 2 18:15:39 2010 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.59 2010/07/07 01:31:54 chs Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.60 2010/11/02 18:15:39 chs Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.56 2010/07/07 01:30:35 chs Exp + * created from NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: christos Date: Mon Jul 12 02:55:17 UTC 2010 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_machdep.c Log Message: fix debugging build. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 \ src/sys/compat/linux32/arch/amd64/linux32_machdep.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/linux32/arch/amd64/linux32_machdep.c diff -u src/sys/compat/linux32/arch/amd64/linux32_machdep.c:1.25 src/sys/compat/linux32/arch/amd64/linux32_machdep.c:1.26 --- src/sys/compat/linux32/arch/amd64/linux32_machdep.c:1.25 Wed Jul 7 08:43:18 2010 +++ src/sys/compat/linux32/arch/amd64/linux32_machdep.c Sun Jul 11 22:55:17 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_machdep.c,v 1.25 2010/07/07 12:43:18 jmmv Exp $ */ +/* $NetBSD: linux32_machdep.c,v 1.26 2010/07/12 02:55:17 christos Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.25 2010/07/07 12:43:18 jmmv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.26 2010/07/12 02:55:17 christos Exp $"); #include #include @@ -119,8 +119,8 @@ fp = (struct linux32_sigframe *)tf->tf_rsp; fp--; - DPRINTF(("old: onstack = %d, fp = %p sig = %d rip = 0x%lx cr2 = 0x%lx\n", - onstack, fp, sig, tf->tf_rip, lwp_getpcb(l)->pcb_cr2)); + DPRINTF(("old: onstack = %d, fp = %p sig = %d rip = 0x%lx\n", + onstack, fp, sig, tf->tf_rip)); /* Build stack frame for signal trampoline. */ NETBSD32PTR32(frame.sf_handler, catcher); @@ -194,8 +194,8 @@ NETBSD32PTR32(frame.sf_sip, &fp->sf_si); NETBSD32PTR32(frame.sf_ucp, &fp->sf_uc); - DPRINTF(("rt: onstack = %d, fp = %p sig = %d rip = 0x%lx cr2 = 0x%lx\n", - onstack, fp, sig, tf->tf_rip, lwp_getpcb(l)->pcb_cr2)); + DPRINTF(("rt: onstack = %d, fp = %p sig = %d rip = 0x%lx\n", + onstack, fp, sig, tf->tf_rip)); lsi = &frame.sf_si; (void)memset(lsi, 0, sizeof(frame.sf_si));
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: jmmv Date: Wed Jul 7 12:43:18 UTC 2010 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_machdep.c Log Message: Add missing includes to bring the linux_semun type needed by linux_syscallargs.h. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 \ src/sys/compat/linux32/arch/amd64/linux32_machdep.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/linux32/arch/amd64/linux32_machdep.c diff -u src/sys/compat/linux32/arch/amd64/linux32_machdep.c:1.24 src/sys/compat/linux32/arch/amd64/linux32_machdep.c:1.25 --- src/sys/compat/linux32/arch/amd64/linux32_machdep.c:1.24 Wed Jul 7 01:30:35 2010 +++ src/sys/compat/linux32/arch/amd64/linux32_machdep.c Wed Jul 7 12:43:18 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_machdep.c,v 1.24 2010/07/07 01:30:35 chs Exp $ */ +/* $NetBSD: linux32_machdep.c,v 1.25 2010/07/07 12:43:18 jmmv Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.24 2010/07/07 01:30:35 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.25 2010/07/07 12:43:18 jmmv Exp $"); #include #include @@ -49,6 +49,8 @@ #include #include #include +#include +#include #include #include @@ -56,6 +58,8 @@ #include #include #include +#include +#include #include #ifdef DEBUG_LINUX
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: njoly Date: Mon Jun 8 14:42:10 UTC 2009 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_missing.h linux32_signal.h linux32_types.h Log Message: Fix defines against multiple inclusion protection (s/I386/AMD64). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/compat/linux32/arch/amd64/linux32_missing.h cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux32/arch/amd64/linux32_signal.h cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux32/arch/amd64/linux32_types.h 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/linux32/arch/amd64/linux32_missing.h diff -u src/sys/compat/linux32/arch/amd64/linux32_missing.h:1.8 src/sys/compat/linux32/arch/amd64/linux32_missing.h:1.9 --- src/sys/compat/linux32/arch/amd64/linux32_missing.h:1.8 Wed Apr 16 10:03:31 2008 +++ src/sys/compat/linux32/arch/amd64/linux32_missing.h Mon Jun 8 14:42:10 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_missing.h,v 1.8 2008/04/16 10:03:31 njoly Exp $ */ +/* $NetBSD: linux32_missing.h,v 1.9 2009/06/08 14:42:10 njoly Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -30,8 +30,8 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef _I386_LINUX32_MISSING_H -#define _I386_LINUX32_MISSING_H +#ifndef _AMD64_LINUX32_MISSING_H +#define _AMD64_LINUX32_MISSING_H #include #include @@ -80,4 +80,4 @@ __END_DECLS #endif /* !_KERNEL */ -#endif /* _I386_LINUX32_MISSING_H */ +#endif /* _AMD64_LINUX32_MISSING_H */ Index: src/sys/compat/linux32/arch/amd64/linux32_signal.h diff -u src/sys/compat/linux32/arch/amd64/linux32_signal.h:1.1 src/sys/compat/linux32/arch/amd64/linux32_signal.h:1.2 --- src/sys/compat/linux32/arch/amd64/linux32_signal.h:1.1 Thu Feb 9 19:18:57 2006 +++ src/sys/compat/linux32/arch/amd64/linux32_signal.h Mon Jun 8 14:42:10 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_signal.h,v 1.1 2006/02/09 19:18:57 manu Exp $ */ +/* $NetBSD: linux32_signal.h,v 1.2 2009/06/08 14:42:10 njoly Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -30,8 +30,8 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef _I386_LINUX32_SIGNAL_H_ -#define _I386_LINUX32_SIGNAL_H_ +#ifndef _AMD64_LINUX32_SIGNAL_H_ +#define _AMD64_LINUX32_SIGNAL_H_ #define native_to_linux32_signo native_to_linux_signo #define linux32_to_native_signo linux_to_native_signo @@ -296,4 +296,4 @@ linux32_handler_t sf_handler; }; -#endif /* _I386_LINUX32_SIGNAL_H_ */ +#endif /* _AMD64_LINUX32_SIGNAL_H_ */ Index: src/sys/compat/linux32/arch/amd64/linux32_types.h diff -u src/sys/compat/linux32/arch/amd64/linux32_types.h:1.5 src/sys/compat/linux32/arch/amd64/linux32_types.h:1.6 --- src/sys/compat/linux32/arch/amd64/linux32_types.h:1.5 Thu Sep 4 17:45:00 2008 +++ src/sys/compat/linux32/arch/amd64/linux32_types.h Mon Jun 8 14:42:10 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_types.h,v 1.5 2008/09/04 17:45:00 njoly Exp $ */ +/* $NetBSD: linux32_types.h,v 1.6 2009/06/08 14:42:10 njoly Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -30,8 +30,8 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef _I386_LINUX32_TYPES_H -#define _I386_LINUX32_TYPES_H +#ifndef _AMD64_LINUX32_TYPES_H +#define _AMD64_LINUX32_TYPES_H typedef unsigned short linux32_uid_t; typedef unsigned short linux32_gid_t; @@ -93,4 +93,4 @@ linux32_time_t l_modtime; }; -#endif /* _I386_LINUX32_TYPES_H */ +#endif /* _AMD64_LINUX32_TYPES_H */
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: njoly Date: Mon Jun 8 13:41:18 UTC 2009 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: Regen for rt_queueinfo addition. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.56 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.57 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.56 Fri Jun 5 16:46:52 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Mon Jun 8 13:41:17 2009 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.56 2009/06/05 16:46:52 njoly Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.57 2009/06/08 13:41:17 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp + * created from NetBSD: syscalls.master,v 1.54 2009/06/08 13:34:23 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -427,6 +427,9 @@ /* syscall: "rt_sigpending" ret: "int" args: "linux32_sigsetp_t" "netbsd32_size_t" */ #define LINUX32_SYS_rt_sigpending 176 +/* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux32_siginfop_t" */ +#define LINUX32_SYS_rt_queueinfo 178 + /* syscall: "rt_sigsuspend" ret: "int" args: "linux32_sigsetp_t" "netbsd32_size_t" */ #define LINUX32_SYS_rt_sigsuspend 179 Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.56 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.57 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.56 Fri Jun 5 16:46:52 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Mon Jun 8 13:41:17 2009 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.56 2009/06/05 16:46:52 njoly Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.57 2009/06/08 13:41:17 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp + * created from NetBSD: syscalls.master,v 1.54 2009/06/08 13:34:23 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -573,6 +573,13 @@ }; check_syscall_args(linux32_sys_rt_sigpending) +struct linux32_sys_rt_queueinfo_args { + syscallarg(int) pid; + syscallarg(int) sig; + syscallarg(linux32_siginfop_t) uinfo; +}; +check_syscall_args(linux32_sys_rt_queueinfo) + struct linux32_sys_rt_sigsuspend_args { syscallarg(linux32_sigsetp_t) unewset; syscallarg(netbsd32_size_t) sigsetsize; @@ -1014,6 +1021,8 @@ int linux32_sys_rt_sigpending(struct lwp *, const struct linux32_sys_rt_sigpending_args *, register_t *); +int linux32_sys_rt_queueinfo(struct lwp *, const struct linux32_sys_rt_queueinfo_args *, register_t *); + int linux32_sys_rt_sigsuspend(struct lwp *, const struct linux32_sys_rt_sigsuspend_args *, register_t *); int linux32_sys_pread(struct lwp *, const struct linux32_sys_pread_args *, register_t *); Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.56 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.57 --- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.56 Fri Jun 5 16:46:52 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c Mon Jun 8 13:41:17 2009 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.56 2009/06/05 16:46:52 njoly Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.57 2009/06/08 13:41:17 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp + * created from NetBSD: syscalls.master,v 1.54 2009/06/08 13:34:23 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.56 2009/06/05 16:46:52 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.57 2009/06/08 13:41:17 njoly Exp $"); #if defined(_KERNEL_OPT) #include @@ -213,7 +213,7 @@ /* 175 */ "rt_sigprocmask", /* 176 */ "rt_sigpending", /* 177 */ "#177 (unimplemented rt_sigtimedwait)", - /* 178 */ "#178 (unimplemented rt_queueinfo)", + /* 178 */ "rt_queueinfo", /* 179 */ "rt_sigsuspend", /* 180 */ "pread", /* 181 */ "pwrite", Index: src/sys/compat/linux32/arch/amd64/linux32_sysent.c diff -u src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.56 src/sys/compat/linux32/arch/amd64/
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: njoly Date: Fri Jun 5 16:46:52 UTC 2009 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: Regen for fstatfs. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.55 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.56 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.55 Thu Jun 4 18:01:02 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Fri Jun 5 16:46:52 2009 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.55 2009/06/04 18:01:02 njoly Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.56 2009/06/05 16:46:52 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -268,6 +268,9 @@ /* syscall: "statfs" ret: "int" args: "netbsd32_charp" "linux32_statfsp" */ #define LINUX32_SYS_statfs 99 +/* syscall: "fstatfs" ret: "int" args: "int" "linux32_statfsp" */ +#define LINUX32_SYS_fstatfs 100 + /* syscall: "socketcall" ret: "int" args: "int" "netbsd32_voidp" */ #define LINUX32_SYS_socketcall 102 Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.55 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.56 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.55 Thu Jun 4 18:01:02 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Fri Jun 5 16:46:52 2009 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.55 2009/06/04 18:01:02 njoly Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.56 2009/06/05 16:46:52 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -319,6 +319,12 @@ }; check_syscall_args(linux32_sys_statfs) +struct linux32_sys_fstatfs_args { + syscallarg(int) fd; + syscallarg(linux32_statfsp) sp; +}; +check_syscall_args(linux32_sys_fstatfs) + struct linux32_sys_socketcall_args { syscallarg(int) what; syscallarg(netbsd32_voidp) args; @@ -902,6 +908,8 @@ int linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *); +int linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *); + int linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *); int compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *); Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.55 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.56 --- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.55 Thu Jun 4 18:01:02 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c Fri Jun 5 16:46:52 2009 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.55 2009/06/04 18:01:02 njoly Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.56 2009/06/05 16:46:52 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp + * created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.55 2009/06/04 18:01:02 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.56 2009/06/05 16:46:52 njoly Exp $"); #if defined(_KERNEL_OPT) #include @@ -135,7 +135,7 @@ /* 97 */ "netbsd32_setpriority", /* 98 */ "#98 (unimplemented profil)", /* 99 */ "statfs", - /* 100 */ "#100 (unimplemented fstatfs)", + /* 100 */ "fstatfs", /* 101 */ "#101 (unimplemented ioperm)", /* 102 */ "socketcall", /* 103 */ "#103 (unimplemented syslog)", Index: src/sys/compat/linux32/arch/amd64/linux32_sysent.c diff -u src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.55 src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.56 --- src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.55 Thu Jun 4 18:01:02 2009 +++ src/sys/compat/linux32/arc
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: njoly Date: Thu Jun 4 18:01:02 UTC 2009 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: Regen for stat/lstat/fstat syscalls. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.54 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.55 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.54 Tue Jun 2 16:55:16 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Thu Jun 4 18:01:02 2009 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.54 2009/06/02 16:55:16 njoly Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.55 2009/06/04 18:01:02 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.51 2009/06/02 16:54:39 njoly Exp + * created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -277,6 +277,15 @@ /* syscall: "compat_50_netbsd32_getitimer" ret: "int" args: "int" "netbsd32_itimerval50p_t" */ #define LINUX32_SYS_compat_50_netbsd32_getitimer 105 +/* syscall: "stat" ret: "int" args: "netbsd32_charp" "linux32_statp" */ +#define LINUX32_SYS_stat 106 + +/* syscall: "lstat" ret: "int" args: "netbsd32_charp" "linux32_statp" */ +#define LINUX32_SYS_lstat 107 + +/* syscall: "fstat" ret: "int" args: "int" "linux32_statp" */ +#define LINUX32_SYS_fstat 108 + /* syscall: "olduname" ret: "int" args: "linux32_oldutsnamep_t" */ #define LINUX32_SYS_olduname 109 Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.54 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.55 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.54 Tue Jun 2 16:55:16 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Thu Jun 4 18:01:02 2009 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.54 2009/06/02 16:55:16 njoly Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.55 2009/06/04 18:01:02 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.51 2009/06/02 16:54:39 njoly Exp + * created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -329,6 +329,24 @@ struct compat_50_netbsd32_getitimer_args; +struct linux32_sys_stat_args { + syscallarg(netbsd32_charp) path; + syscallarg(linux32_statp) sp; +}; +check_syscall_args(linux32_sys_stat) + +struct linux32_sys_lstat_args { + syscallarg(netbsd32_charp) path; + syscallarg(linux32_statp) sp; +}; +check_syscall_args(linux32_sys_lstat) + +struct linux32_sys_fstat_args { + syscallarg(int) fd; + syscallarg(linux32_statp) sp; +}; +check_syscall_args(linux32_sys_fstat) + struct linux32_sys_olduname_args { syscallarg(linux32_oldutsnamep_t) up; }; @@ -890,6 +908,12 @@ int compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *); +int linux32_sys_stat(struct lwp *, const struct linux32_sys_stat_args *, register_t *); + +int linux32_sys_lstat(struct lwp *, const struct linux32_sys_lstat_args *, register_t *); + +int linux32_sys_fstat(struct lwp *, const struct linux32_sys_fstat_args *, register_t *); + int linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *); int linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *); Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.54 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.55 --- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.54 Tue Jun 2 16:55:16 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c Thu Jun 4 18:01:02 2009 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.54 2009/06/02 16:55:16 njoly Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.55 2009/06/04 18:01:02 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.51 2009/06/02 16:54:39 njoly Exp + * created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.54 2009/06/02 16:55:16 njoly Exp $"); +__KERNEL_RCSID(
CVS commit: src/sys/compat/linux32/arch/amd64
Module Name:src Committed By: njoly Date: Tue Jun 2 16:55:16 UTC 2009 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c Log Message: Regen for siggetmask/sigsetmask. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 \ src/sys/compat/linux32/arch/amd64/linux32_syscall.h \ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \ src/sys/compat/linux32/arch/amd64/linux32_sysent.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/linux32/arch/amd64/linux32_syscall.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.53 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.54 --- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.53 Fri Jan 30 13:57:39 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h Tue Jun 2 16:55:16 2009 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscall.h,v 1.53 2009/01/30 13:57:39 njoly Exp $ */ +/* $NetBSD: linux32_syscall.h,v 1.54 2009/06/02 16:55:16 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.50 2009/01/30 13:55:51 njoly Exp + * created from NetBSD: syscalls.master,v 1.51 2009/06/02 16:54:39 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ @@ -184,6 +184,12 @@ /* syscall: "setsid" ret: "int" args: */ #define LINUX32_SYS_setsid 66 +/* syscall: "siggetmask" ret: "int" args: */ +#define LINUX32_SYS_siggetmask 68 + +/* syscall: "sigsetmask" ret: "int" args: "linux32_old_sigset_t" */ +#define LINUX32_SYS_sigsetmask 69 + /* syscall: "setreuid16" ret: "int" args: "linux32_uid16_t" "linux32_uid16_t" */ #define LINUX32_SYS_setreuid16 70 Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.53 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.54 --- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.53 Fri Jan 30 13:57:39 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Tue Jun 2 16:55:16 2009 @@ -1,10 +1,10 @@ -/* $NetBSD: linux32_syscallargs.h,v 1.53 2009/01/30 13:57:39 njoly Exp $ */ +/* $NetBSD: linux32_syscallargs.h,v 1.54 2009/06/02 16:55:16 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.50 2009/01/30 13:55:51 njoly Exp + * created from NetBSD: syscalls.master,v 1.51 2009/06/02 16:54:39 njoly Exp */ #ifndef _LINUX32_SYS_SYSCALLARGS_H_ @@ -197,6 +197,11 @@ struct netbsd32_dup2_args; +struct linux32_sys_sigsetmask_args { + syscallarg(linux32_old_sigset_t) mask; +}; +check_syscall_args(linux32_sys_sigsetmask) + struct linux32_sys_setreuid16_args { syscallarg(linux32_uid16_t) ruid; syscallarg(linux32_uid16_t) euid; @@ -823,6 +828,10 @@ int sys_setsid(struct lwp *, const void *, register_t *); +int linux32_sys_siggetmask(struct lwp *, const void *, register_t *); + +int linux32_sys_sigsetmask(struct lwp *, const struct linux32_sys_sigsetmask_args *, register_t *); + int linux32_sys_setreuid16(struct lwp *, const struct linux32_sys_setreuid16_args *, register_t *); int linux32_sys_setregid16(struct lwp *, const struct linux32_sys_setregid16_args *, register_t *); Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.53 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.54 --- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.53 Fri Jan 30 13:57:39 2009 +++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c Tue Jun 2 16:55:16 2009 @@ -1,14 +1,14 @@ -/* $NetBSD: linux32_syscalls.c,v 1.53 2009/01/30 13:57:39 njoly Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.54 2009/06/02 16:55:16 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.50 2009/01/30 13:55:51 njoly Exp + * created from NetBSD: syscalls.master,v 1.51 2009/06/02 16:54:39 njoly Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.53 2009/01/30 13:57:39 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.54 2009/06/02 16:55:16 njoly Exp $"); #if defined(_KERNEL_OPT) #include @@ -103,8 +103,8 @@ /* 65 */ "getpgrp", /* 66 */ "setsid", /* 67 */ "#67 (unimplemented sigaction)", - /* 68 */ "#68 (unimplemented siggetmask)", - /* 69 */ "#69 (unimplemented sigsetmask)", + /* 68 */ "siggetmask", + /* 69 */ "sigsetmask", /* 70 */ "setreuid16", /* 71 */ "setregid16", /* 72 */ "#72 (unimplemented sigsuspend)", Index: src/sys/compat/linux32/arch/amd64/linux32_sysent.c diff -u src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.53 src/sys/compat/