-/* $OpenBSD: init_sysent.c,v 1.187 2017/04/13 04:09:46 guenther Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.188 2017/04/28 13:51:14 mpi Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.175 2017/04/13 04:06:46 guenther Exp
+ * created from; OpenBSD: syscalls.master,v 1.176 2017/04/28 13:50:55 mpi Exp
*/
#include <sys/param.h>
sys_getpgrp }, /* 81 = getpgrp */
{ 2, s(struct sys_setpgid_args), 0,
sys_setpgid }, /* 82 = setpgid */
- { 0, 0, 0,
- sys_nosys }, /* 83 = obsolete osendsyslog */
+ { 5, s(struct sys_futex_args), SY_NOLOCK | 0,
+ sys_futex }, /* 83 = futex */
{ 4, s(struct sys_utimensat_args), 0,
sys_utimensat }, /* 84 = utimensat */
{ 2, s(struct sys_futimens_args), 0,
-/* $OpenBSD: syscalls.c,v 1.186 2017/04/13 04:09:46 guenther Exp $ */
+/* $OpenBSD: syscalls.c,v 1.187 2017/04/28 13:51:14 mpi Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.175 2017/04/13 04:06:46 guenther Exp
+ * created from; OpenBSD: syscalls.master,v 1.176 2017/04/28 13:50:55 mpi Exp
*/
char *syscallnames[] = {
"setgroups", /* 80 = setgroups */
"getpgrp", /* 81 = getpgrp */
"setpgid", /* 82 = setpgid */
- "#83 (obsolete osendsyslog)", /* 83 = obsolete osendsyslog */
+ "futex", /* 83 = futex */
"utimensat", /* 84 = utimensat */
"futimens", /* 85 = futimens */
"kbind", /* 86 = kbind */
-/* $OpenBSD: syscall.h,v 1.185 2017/04/13 04:09:46 guenther Exp $ */
+/* $OpenBSD: syscall.h,v 1.186 2017/04/28 13:51:14 mpi Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.175 2017/04/13 04:06:46 guenther Exp
+ * created from; OpenBSD: syscalls.master,v 1.176 2017/04/28 13:50:55 mpi Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
/* syscall: "setpgid" ret: "int" args: "pid_t" "pid_t" */
#define SYS_setpgid 82
- /* 83 is obsolete osendsyslog */
+/* syscall: "futex" ret: "int" args: "uint32_t *" "int" "int" "const struct timespec *" "uint32_t *" */
+#define SYS_futex 83
+
/* syscall: "utimensat" ret: "int" args: "int" "const char *" "const struct timespec *" "int" */
#define SYS_utimensat 84
-/* $OpenBSD: syscallargs.h,v 1.188 2017/04/13 04:09:46 guenther Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.189 2017/04/28 13:51:14 mpi Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.175 2017/04/13 04:06:46 guenther Exp
+ * created from; OpenBSD: syscalls.master,v 1.176 2017/04/28 13:50:55 mpi Exp
*/
#ifdef syscallarg
syscallarg(pid_t) pgid;
};
+struct sys_futex_args {
+ syscallarg(uint32_t *) f;
+ syscallarg(int) op;
+ syscallarg(int) val;
+ syscallarg(const struct timespec *) timeout;
+ syscallarg(uint32_t *) g;
+};
+
struct sys_utimensat_args {
syscallarg(int) fd;
syscallarg(const char *) path;
int sys_setgroups(struct proc *, void *, register_t *);
int sys_getpgrp(struct proc *, void *, register_t *);
int sys_setpgid(struct proc *, void *, register_t *);
+int sys_futex(struct proc *, void *, register_t *);
int sys_utimensat(struct proc *, void *, register_t *);
int sys_futimens(struct proc *, void *, register_t *);
int sys_kbind(struct proc *, void *, register_t *);