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/866ee9f875fa
branches: trunk
changeset: 325894:866ee9f875fa
user: njoly <njoly%NetBSD.org@localhost>
date: Fri Jan 10 19:45:43 2014 +0000
description:
Regen.
diffstat:
sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h | 115 ++++++-
sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h | 276 ++-------------
sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c | 11 +-
sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c | 11 +-
4 files changed, 169 insertions(+), 244 deletions(-)
diffs (truncated from 667 to 300 lines):
diff -r acc13d5663ea -r 866ee9f875fa sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h Fri Jan 10 19:44:47 2014 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h Fri Jan 10 19:45:43 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_linux_syscall.h,v 1.8 2013/12/14 17:35:11 njoly Exp $ */
+/* $NetBSD: rump_linux_syscall.h,v 1.9 2014/01/10 19:45:43 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.10 2013/12/14 17:34:47 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.11 2014/01/10 19:44:47 njoly Exp
*/
#ifndef _RUMP_LINUX_SYS_SYSCALL_H_
@@ -21,12 +21,18 @@
/* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
#define RUMP_LINUX_SYS_write 4
+/* syscall: "open" ret: "int" args: "const char *" "int" "int" */
+#define RUMP_LINUX_SYS_open 5
+
/* syscall: "close" ret: "int" args: "int" */
#define RUMP_LINUX_SYS_close 6
/* syscall: "link" ret: "int" args: "const char *" "const char *" */
#define RUMP_LINUX_SYS_link 9
+/* syscall: "unlink" ret: "int" args: "const char *" */
+#define RUMP_LINUX_SYS_unlink 10
+
/* syscall: "chdir" ret: "int" args: "const char *" */
#define RUMP_LINUX_SYS_chdir 12
@@ -51,6 +57,24 @@
/* syscall: "geteuid" ret: "uid_t" args: */
#define RUMP_LINUX_SYS_geteuid 25
+/* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct linux_msghdr *" "int" */
+#define RUMP_LINUX_SYS_recvmsg 27
+
+/* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct linux_msghdr *" "int" */
+#define RUMP_LINUX_SYS_sendmsg 28
+
+/* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "int" "int" "struct osockaddr *" "int *" */
+#define RUMP_LINUX_SYS_recvfrom 29
+
+/* syscall: "accept" ret: "int" args: "int" "struct osockaddr *" "int *" */
+#define RUMP_LINUX_SYS_accept 30
+
+/* syscall: "getpeername" ret: "int" args: "int" "struct osockaddr *" "int *" */
+#define RUMP_LINUX_SYS_getpeername 31
+
+/* syscall: "getsockname" ret: "int" args: "int" "struct osockaddr *" "int *" */
+#define RUMP_LINUX_SYS_getsockname 32
+
/* syscall: "access" ret: "int" args: "const char *" "int" */
#define RUMP_LINUX_SYS_access 33
@@ -66,6 +90,9 @@
/* syscall: "getgid" ret: "gid_t" args: */
#define RUMP_LINUX_SYS_getgid 47
+/* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
+#define RUMP_LINUX_SYS_ioctl 54
+
/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
#define RUMP_LINUX_SYS_symlink 57
@@ -93,12 +120,27 @@
/* syscall: "dup2" ret: "int" args: "int" "int" */
#define RUMP_LINUX_SYS_dup2 90
+/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
+#define RUMP_LINUX_SYS_fcntl 92
+
/* syscall: "fsync" ret: "int" args: "int" */
#define RUMP_LINUX_SYS_fsync 95
+/* syscall: "connect" ret: "int" args: "int" "const struct osockaddr *" "unsigned int" */
+#define RUMP_LINUX_SYS_connect 98
+
+/* syscall: "bind" ret: "int" args: "int" "const struct osockaddr *" "unsigned" */
+#define RUMP_LINUX_SYS_bind 104
+
+/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "int" */
+#define RUMP_LINUX_SYS_setsockopt 105
+
/* syscall: "listen" ret: "int" args: "int" "int" */
#define RUMP_LINUX_SYS_listen 106
+/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
+#define RUMP_LINUX_SYS_getsockopt 118
+
/* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
#define RUMP_LINUX_SYS_readv 120
@@ -123,9 +165,15 @@
/* syscall: "flock" ret: "int" args: "int" "int" */
#define RUMP_LINUX_SYS_flock 131
+/* syscall: "sendto" ret: "int" args: "int" "void *" "int" "int" "const struct osockaddr *" "int" */
+#define RUMP_LINUX_SYS_sendto 133
+
/* syscall: "shutdown" ret: "int" args: "int" "int" */
#define RUMP_LINUX_SYS_shutdown 134
+/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
+#define RUMP_LINUX_SYS_socketpair 135
+
/* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */
#define RUMP_LINUX_SYS_mkdir 136
@@ -150,6 +198,12 @@
/* syscall: "seteuid" ret: "int" args: "uid_t" */
#define RUMP_LINUX_SYS_seteuid 183
+/* syscall: "getrlimit" ret: "int" args: "int" "struct orlimit *" */
+#define RUMP_LINUX_SYS_getrlimit 194
+
+/* syscall: "setrlimit" ret: "int" args: "int" "const struct orlimit *" */
+#define RUMP_LINUX_SYS_setrlimit 195
+
/* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
#define RUMP_LINUX_SYS_lseek 199
@@ -165,6 +219,9 @@
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define RUMP_LINUX_SYS_poll 209
+/* syscall: "fdatasync" ret: "int" args: "int" */
+#define RUMP_LINUX_SYS_fdatasync 241
+
/* syscall: "getsid" ret: "pid_t" args: "pid_t" */
#define RUMP_LINUX_SYS_getsid 286
@@ -174,6 +231,39 @@
/* syscall: "fchroot" ret: "int" args: "int" */
#define RUMP_LINUX_SYS_fchroot 297
+/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
+#define RUMP_LINUX_SYS_getdents64 390
+
+/* syscall: "socket" ret: "int" args: "int" "int" "int" */
+#define RUMP_LINUX_SYS_socket 394
+
+/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
+#define RUMP_LINUX_SYS_select 417
+
+/* syscall: "utimes" ret: "int" args: "const char *" "struct linux_timeval *" */
+#define RUMP_LINUX_SYS_utimes 420
+
+/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "const struct linux_timespec *" "const linux_sigset_t *" */
+#define RUMP_LINUX_SYS_ppoll 437
+
+/* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
+#define RUMP_LINUX_SYS_stat64 439
+
+/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
+#define RUMP_LINUX_SYS_fstat64 440
+
+/* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
+#define RUMP_LINUX_SYS_lstat64 441
+
+/* syscall: "mknod" ret: "int" args: "const char *" "mode_t" "int" */
+#define RUMP_LINUX_SYS_mknod 450
+
+/* syscall: "dup3" ret: "int" args: "int" "int" "int" */
+#define RUMP_LINUX_SYS_dup3 454
+
+/* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */
+#define RUMP_LINUX_SYS_linkat 457
+
/* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
#define RUMP_LINUX_SYS_renameat 458
@@ -183,12 +273,33 @@
/* syscall: "mkdirat" ret: "int" args: "int" "const char *" "mode_t" */
#define RUMP_LINUX_SYS_mkdirat 461
+/* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */
+#define RUMP_LINUX_SYS_faccessat 462
+
+/* syscall: "fchmodat" ret: "int" args: "int" "const char *" "mode_t" */
+#define RUMP_LINUX_SYS_fchmodat 463
+
+/* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */
+#define RUMP_LINUX_SYS_fchownat 464
+
+/* syscall: "fstatat64" ret: "int" args: "int" "const char *" "struct linux_stat *" "int" */
+#define RUMP_LINUX_SYS_fstatat64 466
+
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define RUMP_LINUX_SYS_utimensat 467
+
+/* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
+#define RUMP_LINUX_SYS_openat 468
+
/* 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
+/* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */
+#define RUMP_LINUX_SYS_unlinkat 471
+
#define RUMP_LINUX_SYS_MAXSYSCALL 477
#define RUMP_LINUX_SYS_NSYSENT 512
#endif /* _RUMP_LINUX_SYS_SYSCALL_H_ */
diff -r acc13d5663ea -r 866ee9f875fa sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h Fri Jan 10 19:44:47 2014 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h Fri Jan 10 19:45:43 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_linux_syscallargs.h,v 1.11 2013/12/14 17:35:11 njoly Exp $ */
+/* $NetBSD: rump_linux_syscallargs.h,v 1.12 2014/01/10 19:45:43 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.10 2013/12/14 17:34:47 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.11 2014/01/10 19:44:47 njoly Exp
*/
#ifndef _RUMP_LINUX_SYS_SYSCALLARGS_H_
@@ -35,21 +35,13 @@
struct sys_write_args;
-struct linux_sys_open_args {
- syscallarg(const char *) path;
- syscallarg(int) flags;
- syscallarg(int) mode;
-};
-check_syscall_args(linux_sys_open)
+struct linux_sys_open_args;
struct sys_close_args;
struct sys_link_args;
-struct linux_sys_unlink_args {
- syscallarg(const char *) path;
-};
-check_syscall_args(linux_sys_unlink)
+struct linux_sys_unlink_args;
struct sys_chdir_args;
@@ -61,61 +53,23 @@
struct sys_setuid_args;
-struct linux_sys_recvmsg_args {
- syscallarg(int) s;
- syscallarg(struct linux_msghdr *) msg;
- syscallarg(int) flags;
-};
-check_syscall_args(linux_sys_recvmsg)
+struct linux_sys_recvmsg_args;
-struct linux_sys_sendmsg_args {
- syscallarg(int) s;
- syscallarg(const struct linux_msghdr *) msg;
- syscallarg(int) flags;
-};
-check_syscall_args(linux_sys_sendmsg)
+struct linux_sys_sendmsg_args;
+
+struct linux_sys_recvfrom_args;
-struct linux_sys_recvfrom_args {
- syscallarg(int) s;
- syscallarg(void *) buf;
- syscallarg(int) len;
- syscallarg(int) flags;
- syscallarg(struct osockaddr *) from;
- syscallarg(int *) fromlenaddr;
-};
-check_syscall_args(linux_sys_recvfrom)
+struct linux_sys_accept_args;
-struct linux_sys_accept_args {
- syscallarg(int) s;
- syscallarg(struct osockaddr *) name;
- syscallarg(int *) anamelen;
-};
-check_syscall_args(linux_sys_accept)
+struct linux_sys_getpeername_args;
-struct linux_sys_getpeername_args {
- syscallarg(int) fdes;
- syscallarg(struct osockaddr *) asa;
- syscallarg(int *) alen;
-};
-check_syscall_args(linux_sys_getpeername)
-
-struct linux_sys_getsockname_args {
Home |
Main Index |
Thread Index |
Old Index