Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys regen
details: https://anonhg.NetBSD.org/src/rev/8fe131bda1d3
branches: trunk
changeset: 766541:8fe131bda1d3
user: christos <christos%NetBSD.org@localhost>
date: Sun Jun 26 17:05:55 2011 +0000
description:
regen
diffstat:
sys/kern/init_sysent.c | 23 ++--
sys/kern/syscalls.c | 15 +-
sys/rump/include/rump/rump_syscalls.h | 46 ++++++--
sys/rump/librump/rumpkern/rump_syscalls.c | 157 ++++++++++++++++++++++++-----
sys/sys/syscall.h | 44 +++++---
sys/sys/syscallargs.h | 66 +++++++++--
6 files changed, 260 insertions(+), 91 deletions(-)
diffs (truncated from 788 to 300 lines):
diff -r 45ea4d9b8595 -r 8fe131bda1d3 sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c Sun Jun 26 17:05:24 2011 +0000
+++ b/sys/kern/init_sysent.c Sun Jun 26 17:05:55 2011 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: init_sysent.c,v 1.254 2011/03/06 17:08:36 bouyer Exp $ */
+/* $NetBSD: init_sysent.c,v 1.255 2011/06/26 17:05:55 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD
+ * created from NetBSD: syscalls.master,v 1.249 2011/06/26 17:05:24 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.254 2011/03/06 17:08:36 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.255 2011/06/26 17:05:55 christos Exp $");
#include "opt_modular.h"
#include "opt_ntp.h"
@@ -16,6 +16,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
+#include <sys/socket.h>
#include <sys/mount.h>
#include <sys/sched.h>
#include <sys/syscallargs.h>
@@ -1097,14 +1098,14 @@
(sy_call_t *)sys___fhstat50 }, /* 451 = __fhstat50 */
{ ns(struct sys___quotactl50_args), 0,
(sy_call_t *)sys___quotactl50 }, /* 452 = __quotactl50 */
- { 0, 0, 0,
- sys_nosys }, /* 453 = filler */
- { 0, 0, 0,
- sys_nosys }, /* 454 = filler */
- { 0, 0, 0,
- sys_nosys }, /* 455 = filler */
- { 0, 0, 0,
- sys_nosys }, /* 456 = filler */
+ { ns(struct sys_pipe2_args), 0,
+ (sy_call_t *)sys_pipe2 }, /* 453 = pipe2 */
+ { ns(struct sys_dup3_args), 0,
+ (sy_call_t *)sys_dup3 }, /* 454 = dup3 */
+ { ns(struct sys_kqueue1_args), 0,
+ (sy_call_t *)sys_kqueue1 }, /* 455 = kqueue1 */
+ { ns(struct sys_paccept_args), 0,
+ (sy_call_t *)sys_paccept }, /* 456 = paccept */
{ 0, 0, 0,
sys_nosys }, /* 457 = filler */
{ 0, 0, 0,
diff -r 45ea4d9b8595 -r 8fe131bda1d3 sys/kern/syscalls.c
--- a/sys/kern/syscalls.c Sun Jun 26 17:05:24 2011 +0000
+++ b/sys/kern/syscalls.c Sun Jun 26 17:05:55 2011 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls.c,v 1.245 2011/03/06 17:08:36 bouyer Exp $ */
+/* $NetBSD: syscalls.c,v 1.246 2011/06/26 17:05:55 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD
+ * created from NetBSD: syscalls.master,v 1.249 2011/06/26 17:05:24 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.245 2011/03/06 17:08:36 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.246 2011/06/26 17:05:55 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_modular.h"
@@ -17,6 +17,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
+#include <sys/socket.h>
#include <sys/mount.h>
#include <sys/sched.h>
#include <sys/syscallargs.h>
@@ -541,10 +542,10 @@
/* 450 */ "__mknod50",
/* 451 */ "__fhstat50",
/* 452 */ "__quotactl50",
- /* 453 */ "# filler",
- /* 454 */ "# filler",
- /* 455 */ "# filler",
- /* 456 */ "# filler",
+ /* 453 */ "pipe2",
+ /* 454 */ "dup3",
+ /* 455 */ "kqueue1",
+ /* 456 */ "paccept",
/* 457 */ "# filler",
/* 458 */ "# filler",
/* 459 */ "# filler",
diff -r 45ea4d9b8595 -r 8fe131bda1d3 sys/rump/include/rump/rump_syscalls.h
--- a/sys/rump/include/rump/rump_syscalls.h Sun Jun 26 17:05:24 2011 +0000
+++ b/sys/rump/include/rump/rump_syscalls.h Sun Jun 26 17:05:55 2011 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_syscalls.h,v 1.49 2011/03/08 18:31:11 pooka Exp $ */
+/* $NetBSD: rump_syscalls.h,v 1.50 2011/06/26 17:05:55 christos Exp $ */
/*
* System call protos in rump namespace.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.246 2011/03/06 17:08:36 bouyer Exp
+ * created from NetBSD: syscalls.master,v 1.249 2011/06/26 17:05:24 christos Exp
*/
#ifndef _RUMP_RUMP_SYSCALLS_H_
@@ -16,8 +16,8 @@
#include <sys/types.h> /* typedefs */
#include <sys/select.h> /* typedefs */
-
-#include <signal.h> /* typedefs */
+#include <sys/sigtypes.h> /* typedefs */
+#include <sys/socket.h> /* typedefs */
#include <rump/rump_syscalls_compat.h>
@@ -81,6 +81,10 @@
#define RUMP_SYS_RENAME_LISTXATTR rump___sysimpl_listxattr
#endif
+#ifndef RUMP_SYS_RENAME_PIPE2
+#define RUMP_SYS_RENAME_PIPE2 rump___sysimpl_pipe2
+#endif
+
#ifndef RUMP_SYS_RENAME_EXTATTR_GET_FD
#define RUMP_SYS_RENAME_EXTATTR_GET_FD rump___sysimpl_extattr_get_fd
#endif
@@ -161,6 +165,10 @@
#define RUMP_SYS_RENAME_EXTATTR_SET_LINK rump___sysimpl_extattr_set_link
#endif
+#ifndef RUMP_SYS_RENAME_PACCEPT
+#define RUMP_SYS_RENAME_PACCEPT rump___sysimpl_paccept
+#endif
+
#ifndef RUMP_SYS_RENAME_EXTATTR_LIST_FILE
#define RUMP_SYS_RENAME_EXTATTR_LIST_FILE rump___sysimpl_extattr_list_file
#endif
@@ -181,6 +189,10 @@
#define RUMP_SYS_RENAME_DUP2 rump___sysimpl_dup2
#endif
+#ifndef RUMP_SYS_RENAME_DUP3
+#define RUMP_SYS_RENAME_DUP3 rump___sysimpl_dup3
+#endif
+
#ifndef RUMP_SYS_RENAME_FHOPEN
#define RUMP_SYS_RENAME_FHOPEN rump___sysimpl_fhopen40
#endif
@@ -245,6 +257,10 @@
#define RUMP_SYS_RENAME_RMDIR rump___sysimpl_rmdir
#endif
+#ifndef RUMP_SYS_RENAME_KQUEUE1
+#define RUMP_SYS_RENAME_KQUEUE1 rump___sysimpl_kqueue1
+#endif
+
#ifndef RUMP_SYS_RENAME_GETGID_WITH_EGID
#define RUMP_SYS_RENAME_GETGID_WITH_EGID rump___sysimpl_getgid
#endif
@@ -655,10 +671,10 @@
uid_t rump_sys_geteuid(void) __RENAME(RUMP_SYS_RENAME_GETEUID);
ssize_t rump_sys_recvmsg(int, struct msghdr *, int) __RENAME(RUMP_SYS_RENAME_RECVMSG);
ssize_t rump_sys_sendmsg(int, const struct msghdr *, int) __RENAME(RUMP_SYS_RENAME_SENDMSG);
-ssize_t rump_sys_recvfrom(int, void *, size_t, int, struct sockaddr *, unsigned int *) __RENAME(RUMP_SYS_RENAME_RECVFROM);
-int rump_sys_accept(int, struct sockaddr *, unsigned int *) __RENAME(RUMP_SYS_RENAME_ACCEPT);
-int rump_sys_getpeername(int, struct sockaddr *, unsigned int *) __RENAME(RUMP_SYS_RENAME_GETPEERNAME);
-int rump_sys_getsockname(int, struct sockaddr *, unsigned int *) __RENAME(RUMP_SYS_RENAME_GETSOCKNAME);
+ssize_t rump_sys_recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_RECVFROM);
+int rump_sys_accept(int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_ACCEPT);
+int rump_sys_getpeername(int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_GETPEERNAME);
+int rump_sys_getsockname(int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_GETSOCKNAME);
int rump_sys_access(const char *, int) __RENAME(RUMP_SYS_RENAME_ACCESS);
int rump_sys_chflags(const char *, u_long) __RENAME(RUMP_SYS_RENAME_CHFLAGS);
int rump_sys_fchflags(int, u_long) __RENAME(RUMP_SYS_RENAME_FCHFLAGS);
@@ -683,11 +699,11 @@
int rump_sys_fcntl(int, int, ...) __RENAME(RUMP_SYS_RENAME_FCNTL);
int rump_sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *) __RENAME(RUMP_SYS_RENAME_SELECT);
int rump_sys_fsync(int) __RENAME(RUMP_SYS_RENAME_FSYNC);
-int rump_sys_connect(int, const struct sockaddr *, unsigned int) __RENAME(RUMP_SYS_RENAME_CONNECT);
-int rump_sys_bind(int, const struct sockaddr *, unsigned int) __RENAME(RUMP_SYS_RENAME_BIND);
-int rump_sys_setsockopt(int, int, int, const void *, unsigned int) __RENAME(RUMP_SYS_RENAME_SETSOCKOPT);
+int rump_sys_connect(int, const struct sockaddr *, socklen_t) __RENAME(RUMP_SYS_RENAME_CONNECT);
+int rump_sys_bind(int, const struct sockaddr *, socklen_t) __RENAME(RUMP_SYS_RENAME_BIND);
+int rump_sys_setsockopt(int, int, int, const void *, socklen_t) __RENAME(RUMP_SYS_RENAME_SETSOCKOPT);
int rump_sys_listen(int, int) __RENAME(RUMP_SYS_RENAME_LISTEN);
-int rump_sys_getsockopt(int, int, int, void *, unsigned int *) __RENAME(RUMP_SYS_RENAME_GETSOCKOPT);
+int rump_sys_getsockopt(int, int, int, void *, socklen_t *) __RENAME(RUMP_SYS_RENAME_GETSOCKOPT);
ssize_t rump_sys_readv(int, const struct iovec *, int) __RENAME(RUMP_SYS_RENAME_READV);
ssize_t rump_sys_writev(int, const struct iovec *, int) __RENAME(RUMP_SYS_RENAME_WRITEV);
int rump_sys_fchown(int, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME_FCHOWN);
@@ -697,7 +713,7 @@
int rump_sys_rename(const char *, const char *) __RENAME(RUMP_SYS_RENAME_RENAME);
int rump_sys_flock(int, int) __RENAME(RUMP_SYS_RENAME_FLOCK);
int rump_sys_mkfifo(const char *, mode_t) __RENAME(RUMP_SYS_RENAME_MKFIFO);
-ssize_t rump_sys_sendto(int, const void *, size_t, int, const struct sockaddr *, unsigned int) __RENAME(RUMP_SYS_RENAME_SENDTO);
+ssize_t rump_sys_sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t) __RENAME(RUMP_SYS_RENAME_SENDTO);
int rump_sys_shutdown(int, int) __RENAME(RUMP_SYS_RENAME_SHUTDOWN);
int rump_sys_socketpair(int, int, int, int *) __RENAME(RUMP_SYS_RENAME_SOCKETPAIR);
int rump_sys_mkdir(const char *, mode_t) __RENAME(RUMP_SYS_RENAME_MKDIR);
@@ -788,6 +804,10 @@
int rump_sys_mount(const char *, const char *, int, void *, size_t) __RENAME(RUMP_SYS_RENAME_MOUNT);
int rump_sys_posix_fadvise(int, off_t, off_t, int) __RENAME(RUMP_SYS_RENAME_POSIX_FADVISE);
int rump_sys_quotactl(const char *, struct plistref *) __RENAME(RUMP_SYS_RENAME_QUOTACTL);
+int rump_sys_pipe2(int *, int) __RENAME(RUMP_SYS_RENAME_PIPE2);
+int rump_sys_dup3(int, int, int) __RENAME(RUMP_SYS_RENAME_DUP3);
+int rump_sys_kqueue1(int) __RENAME(RUMP_SYS_RENAME_KQUEUE1);
+int rump_sys_paccept(int, struct sockaddr *, socklen_t *, const sigset_t *, int) __RENAME(RUMP_SYS_RENAME_PACCEPT);
int rump_sys_pipe(int *);
#endif /* _RUMP_RUMP_SYSCALLS_H_ */
diff -r 45ea4d9b8595 -r 8fe131bda1d3 sys/rump/librump/rumpkern/rump_syscalls.c
--- a/sys/rump/librump/rumpkern/rump_syscalls.c Sun Jun 26 17:05:24 2011 +0000
+++ b/sys/rump/librump/rumpkern/rump_syscalls.c Sun Jun 26 17:05:55 2011 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: rump_syscalls.c,v 1.71 2011/03/08 18:31:11 pooka Exp $ */
+/* $NetBSD: rump_syscalls.c,v 1.72 2011/06/26 17:05:55 christos Exp $ */
/*
* System call vector and marshalling for rump.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.246 2011/03/06 17:08:36 bouyer Exp
+ * created from NetBSD: syscalls.master,v 1.249 2011/06/26 17:05:24 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.71 2011/03/08 18:31:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.72 2011/06/26 17:05:55 christos Exp $");
#include <sys/param.h>
#include <sys/fstypes.h>
@@ -478,9 +478,9 @@
}
rsys_alias(sys_sendmsg,rump_enosys)
-ssize_t rump___sysimpl_recvfrom(int, void *, size_t, int, struct sockaddr *, unsigned int *);
+ssize_t rump___sysimpl_recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *);
ssize_t
-rump___sysimpl_recvfrom(int s, void * buf, size_t len, int flags, struct sockaddr * from, unsigned int * fromlenaddr)
+rump___sysimpl_recvfrom(int s, void * buf, size_t len, int flags, struct sockaddr * from, socklen_t * fromlenaddr)
{
register_t retval[2] = {0, 0};
int error = 0;
@@ -506,9 +506,9 @@
}
rsys_alias(sys_recvfrom,rump_enosys)
-int rump___sysimpl_accept(int, struct sockaddr *, unsigned int *);
+int rump___sysimpl_accept(int, struct sockaddr *, socklen_t *);
int
-rump___sysimpl_accept(int s, struct sockaddr * name, unsigned int * anamelen)
+rump___sysimpl_accept(int s, struct sockaddr * name, socklen_t * anamelen)
{
register_t retval[2] = {0, 0};
int error = 0;
@@ -531,9 +531,9 @@
}
rsys_alias(sys_accept,rump_enosys)
-int rump___sysimpl_getpeername(int, struct sockaddr *, unsigned int *);
+int rump___sysimpl_getpeername(int, struct sockaddr *, socklen_t *);
int
-rump___sysimpl_getpeername(int fdes, struct sockaddr * asa, unsigned int * alen)
+rump___sysimpl_getpeername(int fdes, struct sockaddr * asa, socklen_t * alen)
{
register_t retval[2] = {0, 0};
int error = 0;
@@ -556,9 +556,9 @@
}
rsys_alias(sys_getpeername,rump_enosys)
-int rump___sysimpl_getsockname(int, struct sockaddr *, unsigned int *);
+int rump___sysimpl_getsockname(int, struct sockaddr *, socklen_t *);
int
-rump___sysimpl_getsockname(int fdes, struct sockaddr * asa, unsigned int * alen)
+rump___sysimpl_getsockname(int fdes, struct sockaddr * asa, socklen_t * alen)
{
register_t retval[2] = {0, 0};
int error = 0;
@@ -1115,9 +1115,9 @@
}
rsys_alias(sys_fsync,rump_enosys)
-int rump___sysimpl_connect(int, const struct sockaddr *, unsigned int);
+int rump___sysimpl_connect(int, const struct sockaddr *, socklen_t);
int
-rump___sysimpl_connect(int s, const struct sockaddr * name, unsigned int namelen)
+rump___sysimpl_connect(int s, const struct sockaddr * name, socklen_t namelen)
{
register_t retval[2] = {0, 0};
int error = 0;
@@ -1140,9 +1140,9 @@
Home |
Main Index |
Thread Index |
Old Index