Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Regen (sigqueinfo, modctl, mq_*)
details: https://anonhg.NetBSD.org/src/rev/dd9785393e65
branches: trunk
changeset: 338972:dd9785393e65
user: martin <martin%NetBSD.org@localhost>
date: Sat Jun 20 19:56:24 2015 +0000
description:
Regen (sigqueinfo, modctl, mq_*)
diffstat:
sys/compat/netbsd32/netbsd32_syscall.h | 40 ++-
sys/compat/netbsd32/netbsd32_syscallargs.h | 111 ++++++++-
sys/compat/netbsd32/netbsd32_syscalls.c | 30 +-
sys/compat/netbsd32/netbsd32_sysent.c | 86 +++--
sys/compat/netbsd32/netbsd32_systrace_args.c | 358 ++++++++++++++++++++++++++-
5 files changed, 568 insertions(+), 57 deletions(-)
diffs (truncated from 798 to 300 lines):
diff -r 21a6c9a8433a -r dd9785393e65 sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h Sat Jun 20 19:55:07 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h Sat Jun 20 19:56:24 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.112 2015/06/16 10:42:13 martin Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.113 2015/06/20 19:56:24 martin Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.103 2015/06/16 10:41:34 martin Exp
+ * created from NetBSD: syscalls.master,v 1.104 2015/06/20 19:55:07 martin Exp
*/
#ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -675,6 +675,12 @@
/* syscall: "compat_50_netbsd32___sigtimedwait" ret: "int" args: "netbsd32_sigsetp_t" "netbsd32_siginfop_t" "netbsd32_timespec50p_t" */
#define NETBSD32_SYS_compat_50_netbsd32___sigtimedwait 244
+/* syscall: "netbsd32_sigqueueinfo" ret: "int" args: "pid_t" "const netbsd32_siginfop_t" */
+#define NETBSD32_SYS_netbsd32_sigqueueinfo 245
+
+/* syscall: "netbsd32_modctl" ret: "int" args: "int" "netbsd32_voidp" */
+#define NETBSD32_SYS_netbsd32_modctl 246
+
/* syscall: "netbsd32__ksem_init" ret: "int" args: "unsigned int" "netbsd32_semidp_t" */
#define NETBSD32_SYS_netbsd32__ksem_init 247
@@ -705,6 +711,36 @@
/* syscall: "netbsd32__ksem_timedwait" ret: "int" args: "intptr_t" "const netbsd32_timespecp_t" */
#define NETBSD32_SYS_netbsd32__ksem_timedwait 256
+/* syscall: "netbsd32_mq_open" ret: "mqd_t" args: "const netbsd32_charp" "int" "mode_t" "netbsd32_mq_attrp_t" */
+#define NETBSD32_SYS_netbsd32_mq_open 257
+
+/* syscall: "netbsd32_mq_close" ret: "int" args: "mqd_t" */
+#define NETBSD32_SYS_netbsd32_mq_close 258
+
+/* syscall: "netbsd32_mq_unlink" ret: "int" args: "const netbsd32_charp" */
+#define NETBSD32_SYS_netbsd32_mq_unlink 259
+
+/* syscall: "netbsd32_mq_getattr" ret: "int" args: "mqd_t" "netbsd32_mq_attrp_t" */
+#define NETBSD32_SYS_netbsd32_mq_getattr 260
+
+/* syscall: "netbsd32_mq_setattr" ret: "int" args: "mqd_t" "const netbsd32_mq_attrp_t" "netbsd32_mq_attrp_t" */
+#define NETBSD32_SYS_netbsd32_mq_setattr 261
+
+/* syscall: "netbsd32_mq_notify" ret: "int" args: "mqd_t" "const netbsd32_sigeventp_t" */
+#define NETBSD32_SYS_netbsd32_mq_notify 262
+
+/* syscall: "netbsd32_mq_send" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" */
+#define NETBSD32_SYS_netbsd32_mq_send 263
+
+/* syscall: "netbsd32_mq_receive" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" */
+#define NETBSD32_SYS_netbsd32_mq_receive 264
+
+/* syscall: "compat_50_netbsd32_mq_timedsend" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" "const netbsd32_timespec50p_t" */
+#define NETBSD32_SYS_compat_50_netbsd32_mq_timedsend 265
+
+/* syscall: "compat_50_netbsd32_mq_timedreceive" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" "const netbsd32_timespec50p_t" */
+#define NETBSD32_SYS_compat_50_netbsd32_mq_timedreceive 266
+
/* syscall: "netbsd32___posix_rename" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */
#define NETBSD32_SYS_netbsd32___posix_rename 270
diff -r 21a6c9a8433a -r dd9785393e65 sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h Sat Jun 20 19:55:07 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h Sat Jun 20 19:56:24 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.112 2015/06/16 10:42:13 martin Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.113 2015/06/20 19:56:24 martin Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.103 2015/06/16 10:41:34 martin Exp
+ * created from NetBSD: syscalls.master,v 1.104 2015/06/20 19:55:07 martin Exp
*/
#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -1250,6 +1250,18 @@
};
check_syscall_args(compat_50_netbsd32___sigtimedwait)
+struct netbsd32_sigqueueinfo_args {
+ syscallarg(pid_t) pid;
+ syscallarg(const netbsd32_siginfop_t) info;
+};
+check_syscall_args(netbsd32_sigqueueinfo)
+
+struct netbsd32_modctl_args {
+ syscallarg(int) cmd;
+ syscallarg(netbsd32_voidp) arg;
+};
+check_syscall_args(netbsd32_modctl)
+
struct netbsd32__ksem_init_args {
syscallarg(unsigned int) value;
syscallarg(netbsd32_semidp_t) idp;
@@ -1307,6 +1319,77 @@
};
check_syscall_args(netbsd32__ksem_timedwait)
+struct netbsd32_mq_open_args {
+ syscallarg(const netbsd32_charp) name;
+ syscallarg(int) oflag;
+ syscallarg(mode_t) mode;
+ syscallarg(netbsd32_mq_attrp_t) attr;
+};
+check_syscall_args(netbsd32_mq_open)
+
+struct netbsd32_mq_close_args {
+ syscallarg(mqd_t) mqdes;
+};
+check_syscall_args(netbsd32_mq_close)
+
+struct netbsd32_mq_unlink_args {
+ syscallarg(const netbsd32_charp) name;
+};
+check_syscall_args(netbsd32_mq_unlink)
+
+struct netbsd32_mq_getattr_args {
+ syscallarg(mqd_t) mqdes;
+ syscallarg(netbsd32_mq_attrp_t) mqstat;
+};
+check_syscall_args(netbsd32_mq_getattr)
+
+struct netbsd32_mq_setattr_args {
+ syscallarg(mqd_t) mqdes;
+ syscallarg(const netbsd32_mq_attrp_t) mqstat;
+ syscallarg(netbsd32_mq_attrp_t) omqstat;
+};
+check_syscall_args(netbsd32_mq_setattr)
+
+struct netbsd32_mq_notify_args {
+ syscallarg(mqd_t) mqdes;
+ syscallarg(const netbsd32_sigeventp_t) notification;
+};
+check_syscall_args(netbsd32_mq_notify)
+
+struct netbsd32_mq_send_args {
+ syscallarg(mqd_t) mqdes;
+ syscallarg(const netbsd32_charp) msg_ptr;
+ syscallarg(netbsd32_size_t) msg_len;
+ syscallarg(unsigned) msg_prio;
+};
+check_syscall_args(netbsd32_mq_send)
+
+struct netbsd32_mq_receive_args {
+ syscallarg(mqd_t) mqdes;
+ syscallarg(netbsd32_charp) msg_ptr;
+ syscallarg(netbsd32_size_t) msg_len;
+ syscallarg(netbsd32_uintp) msg_prio;
+};
+check_syscall_args(netbsd32_mq_receive)
+
+struct compat_50_netbsd32_mq_timedsend_args {
+ syscallarg(mqd_t) mqdes;
+ syscallarg(const netbsd32_charp) msg_ptr;
+ syscallarg(netbsd32_size_t) msg_len;
+ syscallarg(unsigned) msg_prio;
+ syscallarg(const netbsd32_timespec50p_t) abs_timeout;
+};
+check_syscall_args(compat_50_netbsd32_mq_timedsend)
+
+struct compat_50_netbsd32_mq_timedreceive_args {
+ syscallarg(mqd_t) mqdes;
+ syscallarg(netbsd32_charp) msg_ptr;
+ syscallarg(netbsd32_size_t) msg_len;
+ syscallarg(netbsd32_uintp) msg_prio;
+ syscallarg(const netbsd32_timespec50p_t) abs_timeout;
+};
+check_syscall_args(compat_50_netbsd32_mq_timedreceive)
+
struct netbsd32___posix_rename_args {
syscallarg(netbsd32_charp) from;
syscallarg(netbsd32_charp) to;
@@ -2914,6 +2997,10 @@
int compat_50_netbsd32___sigtimedwait(struct lwp *, const struct compat_50_netbsd32___sigtimedwait_args *, register_t *);
+int netbsd32_sigqueueinfo(struct lwp *, const struct netbsd32_sigqueueinfo_args *, register_t *);
+
+int netbsd32_modctl(struct lwp *, const struct netbsd32_modctl_args *, register_t *);
+
int netbsd32__ksem_init(struct lwp *, const struct netbsd32__ksem_init_args *, register_t *);
int netbsd32__ksem_open(struct lwp *, const struct netbsd32__ksem_open_args *, register_t *);
@@ -2934,6 +3021,26 @@
int netbsd32__ksem_timedwait(struct lwp *, const struct netbsd32__ksem_timedwait_args *, register_t *);
+int netbsd32_mq_open(struct lwp *, const struct netbsd32_mq_open_args *, register_t *);
+
+int netbsd32_mq_close(struct lwp *, const struct netbsd32_mq_close_args *, register_t *);
+
+int netbsd32_mq_unlink(struct lwp *, const struct netbsd32_mq_unlink_args *, register_t *);
+
+int netbsd32_mq_getattr(struct lwp *, const struct netbsd32_mq_getattr_args *, register_t *);
+
+int netbsd32_mq_setattr(struct lwp *, const struct netbsd32_mq_setattr_args *, register_t *);
+
+int netbsd32_mq_notify(struct lwp *, const struct netbsd32_mq_notify_args *, register_t *);
+
+int netbsd32_mq_send(struct lwp *, const struct netbsd32_mq_send_args *, register_t *);
+
+int netbsd32_mq_receive(struct lwp *, const struct netbsd32_mq_receive_args *, register_t *);
+
+int compat_50_netbsd32_mq_timedsend(struct lwp *, const struct compat_50_netbsd32_mq_timedsend_args *, register_t *);
+
+int compat_50_netbsd32_mq_timedreceive(struct lwp *, const struct compat_50_netbsd32_mq_timedreceive_args *, register_t *);
+
int netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
int netbsd32_swapctl(struct lwp *, const struct netbsd32_swapctl_args *, register_t *);
diff -r 21a6c9a8433a -r dd9785393e65 sys/compat/netbsd32/netbsd32_syscalls.c
--- a/sys/compat/netbsd32/netbsd32_syscalls.c Sat Jun 20 19:55:07 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls.c Sat Jun 20 19:56:24 2015 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.111 2015/06/16 10:42:13 martin Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.112 2015/06/20 19:56:24 martin Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.103 2015/06/16 10:41:34 martin Exp
+ * created from NetBSD: syscalls.master,v 1.104 2015/06/20 19:55:07 martin Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.111 2015/06/16 10:42:13 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.112 2015/06/20 19:56:24 martin Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -310,8 +310,8 @@
/* 242 */ "netbsd32_mlockall",
/* 243 */ "munlockall",
/* 244 */ "compat_50_netbsd32___sigtimedwait",
- /* 245 */ "#245 (unimplemented)",
- /* 246 */ "#246 (unimplemented)",
+ /* 245 */ "netbsd32_sigqueueinfo",
+ /* 246 */ "netbsd32_modctl",
/* 247 */ "netbsd32__ksem_init",
/* 248 */ "netbsd32__ksem_open",
/* 249 */ "netbsd32__ksem_unlink",
@@ -322,16 +322,16 @@
/* 254 */ "netbsd32__ksem_getvalue",
/* 255 */ "netbsd32__ksem_destroy",
/* 256 */ "netbsd32__ksem_timedwait",
- /* 257 */ "#257 (unimplemented)",
- /* 258 */ "#258 (unimplemented)",
- /* 259 */ "#259 (unimplemented)",
- /* 260 */ "#260 (unimplemented)",
- /* 261 */ "#261 (unimplemented)",
- /* 262 */ "#262 (unimplemented)",
- /* 263 */ "#263 (unimplemented)",
- /* 264 */ "#264 (unimplemented)",
- /* 265 */ "#265 (unimplemented)",
- /* 266 */ "#266 (unimplemented)",
+ /* 257 */ "netbsd32_mq_open",
+ /* 258 */ "netbsd32_mq_close",
+ /* 259 */ "netbsd32_mq_unlink",
+ /* 260 */ "netbsd32_mq_getattr",
+ /* 261 */ "netbsd32_mq_setattr",
+ /* 262 */ "netbsd32_mq_notify",
+ /* 263 */ "netbsd32_mq_send",
+ /* 264 */ "netbsd32_mq_receive",
+ /* 265 */ "compat_50_netbsd32_mq_timedsend",
+ /* 266 */ "compat_50_netbsd32_mq_timedreceive",
/* 267 */ "#267 (unimplemented)",
/* 268 */ "#268 (unimplemented)",
/* 269 */ "#269 (unimplemented)",
diff -r 21a6c9a8433a -r dd9785393e65 sys/compat/netbsd32/netbsd32_sysent.c
--- a/sys/compat/netbsd32/netbsd32_sysent.c Sat Jun 20 19:55:07 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysent.c Sat Jun 20 19:56:24 2015 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.111 2015/06/16 10:42:13 martin Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.112 2015/06/20 19:56:24 martin Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.103 2015/06/16 10:41:34 martin Exp
+ * created from NetBSD: syscalls.master,v 1.104 2015/06/20 19:55:07 martin Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.111 2015/06/16 10:42:13 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.112 2015/06/20 19:56:24 martin Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -1114,11 +1114,13 @@
.sy_call = (sy_call_t *)compat_50(netbsd32___sigtimedwait)
}, /* 244 = compat_50_netbsd32___sigtimedwait */
Home |
Main Index |
Thread Index |
Old Index