Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/kern/lib/libsys_linux Regen.
details: https://anonhg.NetBSD.org/src/rev/47885209c414
branches: trunk
changeset: 325137:47885209c414
user: njoly <njoly%NetBSD.org@localhost>
date: Sun Dec 08 08:55:27 2013 +0000
description:
Regen.
diffstat:
sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h | 16 ++-
sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h | 99 ++++++++++++++++-
sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c | 30 ++--
sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c | 54 ++++----
4 files changed, 153 insertions(+), 46 deletions(-)
diffs (truncated from 304 to 300 lines):
diff -r 06efce7d69f0 -r 47885209c414 sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h Sun Dec 08 08:54:48 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h Sun Dec 08 08:55:27 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_linux_syscall.h,v 1.5 2013/12/07 11:49:56 njoly Exp $ */
+/* $NetBSD: rump_linux_syscall.h,v 1.6 2013/12/08 08:55:27 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.7 2013/12/07 11:49:27 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.8 2013/12/08 08:54:48 njoly Exp
*/
#ifndef _RUMP_LINUX_SYS_SYSCALL_H_
@@ -168,6 +168,18 @@
/* syscall: "fchroot" ret: "int" args: "int" */
#define RUMP_LINUX_SYS_fchroot 297
+/* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
+#define RUMP_LINUX_SYS_renameat 458
+
+/* syscall: "mkdirat" ret: "int" args: "int" "const char *" "mode_t" */
+#define RUMP_LINUX_SYS_mkdirat 461
+
+/* syscall: "readlinkat" ret: "int" args: "int" "const char *" "char *" "size_t" */
+#define RUMP_LINUX_SYS_readlinkat 469
+
+/* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
+#define RUMP_LINUX_SYS_symlinkat 470
+
#define RUMP_LINUX_SYS_MAXSYSCALL 477
#define RUMP_LINUX_SYS_NSYSENT 512
#endif /* _RUMP_LINUX_SYS_SYSCALL_H_ */
diff -r 06efce7d69f0 -r 47885209c414 sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h Sun Dec 08 08:54:48 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h Sun Dec 08 08:55:27 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_linux_syscallargs.h,v 1.8 2013/12/07 11:49:56 njoly Exp $ */
+/* $NetBSD: rump_linux_syscallargs.h,v 1.9 2013/12/08 08:55:27 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.7 2013/12/07 11:49:27 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.8 2013/12/08 08:54:48 njoly Exp
*/
#ifndef _RUMP_LINUX_SYS_SYSCALLARGS_H_
@@ -342,6 +342,58 @@
};
check_syscall_args(linux_sys_dup3)
+struct linux_sys_linkat_args {
+ syscallarg(int) fd1;
+ syscallarg(const char *) name1;
+ syscallarg(int) fd2;
+ syscallarg(const char *) name2;
+ syscallarg(int) flags;
+};
+check_syscall_args(linux_sys_linkat)
+
+struct sys_renameat_args;
+
+struct linux_sys_mknodat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(mode_t) mode;
+ syscallarg(unsigned) dev;
+};
+check_syscall_args(linux_sys_mknodat)
+
+struct sys_mkdirat_args;
+
+struct linux_sys_faccessat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(int) amode;
+};
+check_syscall_args(linux_sys_faccessat)
+
+struct linux_sys_fchmodat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(mode_t) mode;
+};
+check_syscall_args(linux_sys_fchmodat)
+
+struct linux_sys_fchownat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(uid_t) owner;
+ syscallarg(gid_t) group;
+ syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_fchownat)
+
+struct linux_sys_fstatat64_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(struct linux_stat *) sp;
+ syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_fstatat64)
+
struct linux_sys_utimensat_args {
syscallarg(int) fd;
syscallarg(const char *) path;
@@ -350,6 +402,25 @@
};
check_syscall_args(linux_sys_utimensat)
+struct linux_sys_openat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(int) flags;
+ syscallarg(mode_t) mode;
+};
+check_syscall_args(linux_sys_openat)
+
+struct sys_readlinkat_args;
+
+struct sys_symlinkat_args;
+
+struct linux_sys_unlinkat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_unlinkat)
+
/*
* System call prototypes.
*/
@@ -520,6 +591,30 @@
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 *);
+
+int sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *);
+
+int linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *);
+
+int sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *);
+
+int linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *);
+
+int linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *);
+
+int linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *);
+
+int linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *);
+
int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+int linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *);
+
+int sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *);
+
+int sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *);
+
+int linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *);
+
#endif /* _RUMP_LINUX_SYS_SYSCALLARGS_H_ */
diff -r 06efce7d69f0 -r 47885209c414 sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c Sun Dec 08 08:54:48 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c Sun Dec 08 08:55:27 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: rump_linux_syscalls.c,v 1.8 2013/12/07 11:49:56 njoly Exp $ */
+/* $NetBSD: rump_linux_syscalls.c,v 1.9 2013/12/08 08:55:27 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.7 2013/12/07 11:49:27 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.8 2013/12/08 08:54:48 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.8 2013/12/07 11:49:56 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.9 2013/12/08 08:55:27 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@@ -481,21 +481,21 @@
/* 454 */ "dup3",
/* 455 */ "#455 (unimplemented kqueue1)",
/* 456 */ "#456 (unimplemented paccept)",
- /* 457 */ "#457 (unimplemented linkat)",
- /* 458 */ "#458 (unimplemented renameat)",
+ /* 457 */ "linkat",
+ /* 458 */ "renameat",
/* 459 */ "#459 (unimplemented mkfifoat)",
- /* 460 */ "#460 (unimplemented mknodat)",
- /* 461 */ "#461 (unimplemented mkdirat)",
- /* 462 */ "#462 (unimplemented faccessat)",
- /* 463 */ "#463 (unimplemented fchmodat)",
- /* 464 */ "#464 (unimplemented fchownat)",
+ /* 460 */ "mknodat",
+ /* 461 */ "mkdirat",
+ /* 462 */ "faccessat",
+ /* 463 */ "fchmodat",
+ /* 464 */ "fchownat",
/* 465 */ "#465 (unimplemented fexecve)",
- /* 466 */ "#466 (unimplemented fstatat)",
+ /* 466 */ "fstatat64",
/* 467 */ "utimensat",
- /* 468 */ "#468 (unimplemented openat)",
- /* 469 */ "#469 (unimplemented readlinkat)",
- /* 470 */ "#470 (unimplemented symlinkat)",
- /* 471 */ "#471 (unimplemented unlinkat)",
+ /* 468 */ "openat",
+ /* 469 */ "readlinkat",
+ /* 470 */ "symlinkat",
+ /* 471 */ "unlinkat",
/* 472 */ "#472 (unimplemented futimens)",
/* 473 */ "#473 (unimplemented __quotactl)",
/* 474 */ "#474 (unimplemented posix_spawn)",
diff -r 06efce7d69f0 -r 47885209c414 sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c Sun Dec 08 08:54:48 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c Sun Dec 08 08:55:27 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: rump_linux_sysent.c,v 1.8 2013/12/07 11:49:56 njoly Exp $ */
+/* $NetBSD: rump_linux_sysent.c,v 1.9 2013/12/08 08:55:27 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.7 2013/12/07 11:49:27 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.8 2013/12/08 08:54:48 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.8 2013/12/07 11:49:56 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.9 2013/12/08 08:55:27 njoly Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -940,36 +940,36 @@
linux_sys_nosys }, /* 455 = unimplemented kqueue1 */
{ 0, 0, 0,
linux_sys_nosys }, /* 456 = unimplemented paccept */
- { 0, 0, 0,
- linux_sys_nosys }, /* 457 = unimplemented linkat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 458 = unimplemented renameat */
+ { ns(struct linux_sys_linkat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_linkat }, /* 457 = linkat */
+ { ns(struct sys_renameat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)sys_renameat }, /* 458 = renameat */
{ 0, 0, 0,
linux_sys_nosys }, /* 459 = unimplemented mkfifoat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 460 = unimplemented mknodat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 461 = unimplemented mkdirat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 462 = unimplemented faccessat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 463 = unimplemented fchmodat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 464 = unimplemented fchownat */
+ { ns(struct linux_sys_mknodat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_mknodat }, /* 460 = mknodat */
+ { ns(struct sys_mkdirat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)sys_mkdirat }, /* 461 = mkdirat */
+ { ns(struct linux_sys_faccessat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_faccessat }, /* 462 = faccessat */
+ { ns(struct linux_sys_fchmodat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_fchmodat }, /* 463 = fchmodat */
+ { ns(struct linux_sys_fchownat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_fchownat }, /* 464 = fchownat */
{ 0, 0, 0,
linux_sys_nosys }, /* 465 = unimplemented fexecve */
- { 0, 0, 0,
- linux_sys_nosys }, /* 466 = unimplemented fstatat */
+ { ns(struct linux_sys_fstatat64_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_fstatat64 }, /* 466 = fstatat64 */
{ ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_utimensat }, /* 467 = utimensat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 468 = unimplemented openat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 469 = unimplemented readlinkat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 470 = unimplemented symlinkat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 471 = unimplemented unlinkat */
+ { ns(struct linux_sys_openat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_openat }, /* 468 = openat */
+ { ns(struct sys_readlinkat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)sys_readlinkat }, /* 469 = readlinkat */
+ { ns(struct sys_symlinkat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)sys_symlinkat }, /* 470 = symlinkat */
+ { ns(struct linux_sys_unlinkat_args), SYCALL_ARG_PTR,
Home |
Main Index |
Thread Index |
Old Index