Module Name: src Committed By: njoly Date: Sat Jan 25 10:31:01 UTC 2014
Modified Files: src/sys/rump/kern/lib/libsys_linux: rump_linux_syscall.h rump_linux_syscallargs.h rump_linux_syscalls.c rump_linux_sysent.c Log Message: Regen for pipe2 and lchown. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 \ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h cvs rdiff -u -r1.13 -r1.14 \ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h \ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c \ src/sys/rump/kern/lib/libsys_linux/rump_linux_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/rump/kern/lib/libsys_linux/rump_linux_syscall.h diff -u src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h:1.10 src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h:1.11 --- src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h:1.10 Fri Jan 10 20:10:43 2014 +++ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h Sat Jan 25 10:31:01 2014 @@ -1,10 +1,10 @@ -/* $NetBSD: rump_linux_syscall.h,v 1.10 2014/01/10 20:10:43 njoly Exp $ */ +/* $NetBSD: rump_linux_syscall.h,v 1.11 2014/01/25 10:31:01 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.12 2014/01/10 20:10:23 njoly Exp + * created from NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp */ #ifndef _RUMP_LINUX_SYS_SYSCALL_H_ @@ -222,6 +222,9 @@ /* syscall: "fdatasync" ret: "int" args: "int" */ #define RUMP_LINUX_SYS_fdatasync 241 +/* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */ +#define RUMP_LINUX_SYS___posix_lchown 275 + /* syscall: "getsid" ret: "pid_t" args: "pid_t" */ #define RUMP_LINUX_SYS_getsid 286 @@ -264,6 +267,9 @@ /* syscall: "mknod" ret: "int" args: "const char *" "mode_t" "int" */ #define RUMP_LINUX_SYS_mknod 450 +/* syscall: "pipe2" ret: "int" args: "int *" "int" */ +#define RUMP_LINUX_SYS_pipe2 453 + /* syscall: "dup3" ret: "int" args: "int" "int" "int" */ #define RUMP_LINUX_SYS_dup3 454 Index: src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h diff -u src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h:1.13 src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h:1.14 --- src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h:1.13 Fri Jan 10 20:10:43 2014 +++ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h Sat Jan 25 10:31:01 2014 @@ -1,10 +1,10 @@ -/* $NetBSD: rump_linux_syscallargs.h,v 1.13 2014/01/10 20:10:43 njoly Exp $ */ +/* $NetBSD: rump_linux_syscallargs.h,v 1.14 2014/01/25 10:31:01 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.12 2014/01/10 20:10:23 njoly Exp + * created from NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp */ #ifndef _RUMP_LINUX_SYS_SYSCALLARGS_H_ @@ -153,6 +153,8 @@ struct sys_poll_args; struct linux_sys_fdatasync_args; +struct sys___posix_lchown_args; + struct sys_getsid_args; struct sys___getcwd_args; @@ -181,6 +183,8 @@ struct linux_sys_lstat64_args; struct linux_sys_mknod_args; +struct linux_sys_pipe2_args; + struct linux_sys_dup3_args; struct linux_sys_linkat_args; @@ -360,6 +364,8 @@ int sys_poll(struct lwp *, const struct int linux_sys_fdatasync(struct lwp *, const struct linux_sys_fdatasync_args *, register_t *); +int sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *); + int sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *); int sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *); @@ -388,6 +394,8 @@ int linux_sys_lstat64(struct lwp *, cons int linux_sys_mknod(struct lwp *, const struct linux_sys_mknod_args *, register_t *); +int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *); + int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *); int linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *); Index: src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c diff -u src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c:1.13 src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c:1.14 --- src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c:1.13 Fri Jan 10 20:10:43 2014 +++ src/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c Sat Jan 25 10:31:01 2014 @@ -1,14 +1,14 @@ -/* $NetBSD: rump_linux_syscalls.c,v 1.13 2014/01/10 20:10:43 njoly Exp $ */ +/* $NetBSD: rump_linux_syscalls.c,v 1.14 2014/01/25 10:31:01 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.12 2014/01/10 20:10:23 njoly Exp + * created from NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.13 2014/01/10 20:10:43 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.14 2014/01/25 10:31:01 njoly Exp $"); #if defined(_KERNEL_OPT) #include <sys/param.h> @@ -304,7 +304,7 @@ const char *const rump_linux_syscallname /* 272 */ "#272 (unimplemented getdents)", /* 273 */ "#273 (unimplemented minherit)", /* 274 */ "#274 (unimplemented lchmod)", - /* 275 */ "#275 (unimplemented lchown)", + /* 275 */ "__posix_lchown", /* 276 */ "#276 (unimplemented lutimes)", /* 277 */ "#277 (unimplemented msync)", /* 278 */ "#278 (unimplemented stat)", @@ -482,7 +482,7 @@ const char *const rump_linux_syscallname /* 450 */ "mknod", /* 451 */ "#451 (unimplemented fhstat)", /* 452 */ "#452 (unimplemented 5.99 quotactl)", - /* 453 */ "#453 (unimplemented pipe2)", + /* 453 */ "pipe2", /* 454 */ "dup3", /* 455 */ "#455 (unimplemented kqueue1)", /* 456 */ "#456 (unimplemented paccept)", Index: src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c diff -u src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c:1.13 src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c:1.14 --- src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c:1.13 Fri Jan 10 20:10:43 2014 +++ src/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c Sat Jan 25 10:31:01 2014 @@ -1,14 +1,14 @@ -/* $NetBSD: rump_linux_sysent.c,v 1.13 2014/01/10 20:10:43 njoly Exp $ */ +/* $NetBSD: rump_linux_sysent.c,v 1.14 2014/01/25 10:31:01 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.12 2014/01/10 20:10:23 njoly Exp + * created from NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.13 2014/01/10 20:10:43 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.14 2014/01/25 10:31:01 njoly Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -581,8 +581,8 @@ struct sysent rump_linux_sysent[] = { linux_sys_nosys }, /* 273 = unimplemented minherit */ { 0, 0, 0, linux_sys_nosys }, /* 274 = unimplemented lchmod */ - { 0, 0, 0, - linux_sys_nosys }, /* 275 = unimplemented lchown */ + { ns(struct sys___posix_lchown_args), SYCALL_ARG_PTR, + (sy_call_t *)sys___posix_lchown }, /* 275 = __posix_lchown */ { 0, 0, 0, linux_sys_nosys }, /* 276 = unimplemented lutimes */ { 0, 0, 0, @@ -937,8 +937,8 @@ struct sysent rump_linux_sysent[] = { linux_sys_nosys }, /* 451 = unimplemented fhstat */ { 0, 0, 0, linux_sys_nosys }, /* 452 = unimplemented 5.99 quotactl */ - { 0, 0, 0, - linux_sys_nosys }, /* 453 = unimplemented pipe2 */ + { ns(struct linux_sys_pipe2_args), SYCALL_ARG_PTR, + (sy_call_t *)linux_sys_pipe2 }, /* 453 = pipe2 */ { ns(struct linux_sys_dup3_args), 0, (sy_call_t *)linux_sys_dup3 }, /* 454 = dup3 */ { 0, 0, 0,