From 84a080a8d9cd814f13976207096fa7774ec0882f Mon Sep 17 00:00:00 2001 From: kettenis Date: Tue, 25 Oct 2022 16:11:29 +0000 Subject: [PATCH] regen --- sys/kern/init_sysent.c | 8 ++++---- sys/kern/syscalls.c | 6 +++--- sys/sys/syscall.h | 7 +++++-- sys/sys/syscallargs.h | 12 ++++++++++-- 4 files changed, 22 insertions(+), 11 deletions(-) diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index eb89e2e836e..218d44a658e 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $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 @@ -357,8 +357,8 @@ const struct sysent sysent[] = { 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, diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index ede2581fa5c..b922c8b3f15 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $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[] = { @@ -184,7 +184,7 @@ 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 */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 8c93f9e9294..cd504830a84 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $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" "..." */ @@ -444,6 +444,9 @@ /* 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 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index fd5398243bc..a1ed2850fe1 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $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 @@ -738,6 +738,13 @@ struct sys_mimmutable_args { 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; @@ -1351,6 +1358,7 @@ int sys_nfssvc(struct proc *, void *, register_t *); #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 *); -- 2.20.1