-/* $OpenBSD: init_sysent.c,v 1.269 2023/11/29 20:46:23 bluhm Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.270 2023/12/07 14:00:16 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.251 2023/11/29 20:40:06 bluhm Exp
+ * created from; OpenBSD: syscalls.master,v 1.252 2023/12/07 13:59:04 deraadt Exp
*/
#include <sys/param.h>
sys_nosys }, /* 156 = obsolete ogetdirentries */
{ 0, 0, 0,
sys_nosys }, /* 157 = obsolete statfs25 */
- { 0, 0, 0,
- sys_nosys }, /* 158 = obsolete fstatfs25 */
+ { 4, s(struct sys_pinsyscalls_args), 0,
+ sys_pinsyscalls }, /* 158 = pinsyscalls */
{ 2, s(struct sys_mimmutable_args), 0,
sys_mimmutable }, /* 159 = mimmutable */
{ 4, s(struct sys_waitid_args), 0,
-/* $OpenBSD: syscalls.c,v 1.267 2023/11/29 20:46:23 bluhm Exp $ */
+/* $OpenBSD: syscalls.c,v 1.268 2023/12/07 14:00:16 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.251 2023/11/29 20:40:06 bluhm Exp
+ * created from; OpenBSD: syscalls.master,v 1.252 2023/12/07 13:59:04 deraadt Exp
*/
const char *const syscallnames[] = {
#endif
"#156 (obsolete ogetdirentries)", /* 156 = obsolete ogetdirentries */
"#157 (obsolete statfs25)", /* 157 = obsolete statfs25 */
- "#158 (obsolete fstatfs25)", /* 158 = obsolete fstatfs25 */
+ "pinsyscalls", /* 158 = pinsyscalls */
"mimmutable", /* 159 = mimmutable */
"waitid", /* 160 = waitid */
"getfh", /* 161 = getfh */
-/* $OpenBSD: syscall.h,v 1.266 2023/11/29 20:46:24 bluhm Exp $ */
+/* $OpenBSD: syscall.h,v 1.267 2023/12/07 14:00:15 deraadt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.251 2023/11/29 20:40:06 bluhm Exp
+ * created from; OpenBSD: syscalls.master,v 1.252 2023/12/07 13:59:04 deraadt Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
/* 156 is obsolete ogetdirentries */
/* 157 is obsolete statfs25 */
- /* 158 is obsolete fstatfs25 */
+/* syscall: "pinsyscalls" ret: "int" args: "void *" "size_t" "void *" "size_t" */
+#define SYS_pinsyscalls 158
+
/* syscall: "mimmutable" ret: "int" args: "void *" "size_t" */
#define SYS_mimmutable 159
-/* $OpenBSD: syscallargs.h,v 1.269 2023/11/29 20:46:24 bluhm Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.270 2023/12/07 14:00:15 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.251 2023/11/29 20:40:06 bluhm Exp
+ * created from; OpenBSD: syscalls.master,v 1.252 2023/12/07 13:59:04 deraadt Exp
*/
#ifdef syscallarg
syscallarg(void *) argp;
};
+struct sys_pinsyscalls_args {
+ syscallarg(void *) base;
+ syscallarg(size_t) len;
+ syscallarg(void *) pins;
+ syscallarg(size_t) pinslen;
+};
+
struct sys_mimmutable_args {
syscallarg(void *) addr;
syscallarg(size_t) len;
int sys_nfssvc(struct proc *, void *, register_t *);
#else
#endif
+int sys_pinsyscalls(struct proc *, void *, register_t *);
int sys_mimmutable(struct proc *, void *, register_t *);
int sys_waitid(struct proc *, void *, register_t *);
int sys_getfh(struct proc *, void *, register_t *);