-/* $OpenBSD: init_sysent.c,v 1.250 2022/10/07 15:00:12 deraadt Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.251 2022/10/25 16:11:29 kettenis Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.233 2022/10/07 14:59:39 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.234 2022/10/25 16:10:31 kettenis Exp
*/
#include <sys/param.h>
sys_nosys }, /* 158 = obsolete fstatfs25 */
{ 2, s(struct sys_mimmutable_args), 0,
sys_mimmutable }, /* 159 = mimmutable */
- { 0, 0, 0,
- sys_nosys }, /* 160 = unimplemented */
+ { 4, s(struct sys_waitid_args), 0,
+ sys_waitid }, /* 160 = waitid */
{ 2, s(struct sys_getfh_args), 0,
sys_getfh }, /* 161 = getfh */
{ 0, 0, 0,
-/* $OpenBSD: syscalls.c,v 1.248 2022/10/07 15:00:12 deraadt Exp $ */
+/* $OpenBSD: syscalls.c,v 1.249 2022/10/25 16:11:29 kettenis Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.233 2022/10/07 14:59:39 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.234 2022/10/25 16:10:31 kettenis Exp
*/
const char *const syscallnames[] = {
"#157 (obsolete statfs25)", /* 157 = obsolete statfs25 */
"#158 (obsolete fstatfs25)", /* 158 = obsolete fstatfs25 */
"mimmutable", /* 159 = mimmutable */
- "#160 (unimplemented)", /* 160 = unimplemented */
+ "waitid", /* 160 = waitid */
"getfh", /* 161 = getfh */
"#162 (obsolete ogetdomainname)", /* 162 = obsolete ogetdomainname */
"#163 (obsolete osetdomainname)", /* 163 = obsolete osetdomainname */
-/* $OpenBSD: syscall.h,v 1.247 2022/10/07 15:00:12 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.248 2022/10/25 16:11:29 kettenis Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.233 2022/10/07 14:59:39 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.234 2022/10/25 16:10:31 kettenis Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
/* syscall: "mimmutable" ret: "int" args: "void *" "size_t" */
#define SYS_mimmutable 159
+/* syscall: "waitid" ret: "int" args: "int" "id_t" "siginfo_t *" "int" */
+#define SYS_waitid 160
+
/* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
#define SYS_getfh 161
-/* $OpenBSD: syscallargs.h,v 1.250 2022/10/07 15:00:12 deraadt Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.251 2022/10/25 16:11:29 kettenis Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.233 2022/10/07 14:59:39 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.234 2022/10/25 16:10:31 kettenis Exp
*/
#ifdef syscallarg
syscallarg(size_t) len;
};
+struct sys_waitid_args {
+ syscallarg(int) idtype;
+ syscallarg(id_t) id;
+ syscallarg(siginfo_t *) info;
+ syscallarg(int) options;
+};
+
struct sys_getfh_args {
syscallarg(const char *) fname;
syscallarg(fhandle_t *) fhp;
#else
#endif
int sys_mimmutable(struct proc *, void *, register_t *);
+int sys_waitid(struct proc *, void *, register_t *);
int sys_getfh(struct proc *, void *, register_t *);
int sys___tmpfd(struct proc *, void *, register_t *);
int sys_sysarch(struct proc *, void *, register_t *);