summaryrefslogtreecommitdiffstats
path: root/sys/sys/syscallargs.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-10-18 00:05:59 +0000
committerderaadt <deraadt@openbsd.org>2015-10-18 00:05:59 +0000
commit466baefc71bde6fa008d52e2ab649e258cd330ff (patch)
tree73d6b97e9cac895f7223635a5a8a013c5d2e9e0c /sys/sys/syscallargs.h
parentAdd two new system calls: dnssocket() and dnsconnect(). This creates a (diff)
downloadwireguard-openbsd-466baefc71bde6fa008d52e2ab649e258cd330ff.tar.xz
wireguard-openbsd-466baefc71bde6fa008d52e2ab649e258cd330ff.zip
sync
Diffstat (limited to 'sys/sys/syscallargs.h')
-rw-r--r--sys/sys/syscallargs.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 8585fe05876..3cfad4fed34 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.176 2015/10/09 01:11:12 deraadt Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.177 2015/10/18 00:05:59 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.162 2015/10/09 01:10:27 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.163 2015/10/18 00:04:43 deraadt Exp
*/
#ifdef syscallarg
@@ -672,6 +672,18 @@ struct sys_nfssvc_args {
syscallarg(void *) argp;
};
+struct sys_dnsconnect_args {
+ syscallarg(int) s;
+ syscallarg(const struct sockaddr *) name;
+ syscallarg(socklen_t) namelen;
+};
+
+struct sys_dnssocket_args {
+ syscallarg(int) domain;
+ syscallarg(int) type;
+ syscallarg(int) protocol;
+};
+
struct sys_getfh_args {
syscallarg(const char *) fname;
syscallarg(fhandle_t *) fhp;
@@ -1227,6 +1239,8 @@ int sys_quotactl(struct proc *, void *, register_t *);
int sys_nfssvc(struct proc *, void *, register_t *);
#else
#endif
+int sys_dnsconnect(struct proc *, void *, register_t *);
+int sys_dnssocket(struct proc *, void *, register_t *);
int sys_getfh(struct proc *, void *, register_t *);
int sys_sysarch(struct proc *, void *, register_t *);
int sys_pread(struct proc *, void *, register_t *);