-/* $OpenBSD: init_sysent.c,v 1.267 2023/07/24 19:33:29 miod Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.268 2023/08/20 15:14:20 visa Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.249 2023/07/24 19:32:23 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.250 2023/08/20 15:13:43 visa Exp
*/
#include <sys/param.h>
sys_nosys }, /* 268 = obsolete pad_pwritev */
{ 0, 0, SY_NOLOCK | 0,
sys_kqueue }, /* 269 = kqueue */
- { 0, 0, 0,
- sys_nosys }, /* 270 = obsolete t32_kevent */
+ { 1, s(struct sys_kqueue1_args), SY_NOLOCK | 0,
+ sys_kqueue1 }, /* 270 = kqueue1 */
{ 1, s(struct sys_mlockall_args), 0,
sys_mlockall }, /* 271 = mlockall */
{ 0, 0, 0,
-/* $OpenBSD: syscalls.c,v 1.265 2023/07/24 19:33:29 miod Exp $ */
+/* $OpenBSD: syscalls.c,v 1.266 2023/08/20 15:14:20 visa Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.249 2023/07/24 19:32:23 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.250 2023/08/20 15:13:43 visa Exp
*/
const char *const syscallnames[] = {
"#267 (obsolete pad_preadv)", /* 267 = obsolete pad_preadv */
"#268 (obsolete pad_pwritev)", /* 268 = obsolete pad_pwritev */
"kqueue", /* 269 = kqueue */
- "#270 (obsolete t32_kevent)", /* 270 = obsolete t32_kevent */
+ "kqueue1", /* 270 = kqueue1 */
"mlockall", /* 271 = mlockall */
"munlockall", /* 272 = munlockall */
"#273 (unimplemented sys_getpeereid)", /* 273 = unimplemented sys_getpeereid */
-/* $OpenBSD: syscall.h,v 1.264 2023/07/24 19:33:29 miod Exp $ */
+/* $OpenBSD: syscall.h,v 1.265 2023/08/20 15:14:20 visa Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.249 2023/07/24 19:32:23 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.250 2023/08/20 15:13:43 visa Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
/* syscall: "kqueue" ret: "int" args: */
#define SYS_kqueue 269
- /* 270 is obsolete t32_kevent */
+/* syscall: "kqueue1" ret: "int" args: "int" */
+#define SYS_kqueue1 270
+
/* syscall: "mlockall" ret: "int" args: "int" */
#define SYS_mlockall 271
-/* $OpenBSD: syscallargs.h,v 1.267 2023/07/24 19:33:29 miod Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.268 2023/08/20 15:14:20 visa Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.249 2023/07/24 19:32:23 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.250 2023/08/20 15:13:43 visa Exp
*/
#ifdef syscallarg
syscallarg(int) flags;
};
+struct sys_kqueue1_args {
+ syscallarg(int) flags;
+};
+
struct sys_mlockall_args {
syscallarg(int) flags;
};
int sys_pipe(struct proc *, void *, register_t *);
int sys_fhopen(struct proc *, void *, register_t *);
int sys_kqueue(struct proc *, void *, register_t *);
+int sys_kqueue1(struct proc *, void *, register_t *);
int sys_mlockall(struct proc *, void *, register_t *);
int sys_munlockall(struct proc *, void *, register_t *);
int sys_getresuid(struct proc *, void *, register_t *);