summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-10-07 15:00:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-10-07 15:00:13 +0000
commitc7304b2b8d4c6bb3e2222fa3795e3ffd2c0eb2f3 (patch)
treee0739dca999827c83f01428f79ab7af32d5e9c4e /sys
parentd5dc31a79f667c4cedbee1fd924cce6958a38693 (diff)
sync
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_sysent.c8
-rw-r--r--sys/kern/syscalls.c6
-rw-r--r--sys/sys/syscall.h7
-rw-r--r--sys/sys/syscallargs.h10
4 files changed, 20 insertions, 11 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 90fee83fabe..eb89e2e836e 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.249 2022/09/03 21:16:51 mbuhl Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.250 2022/10/07 15:00:12 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.232 2022/09/03 21:13:48 mbuhl Exp
+ * created from; OpenBSD: syscalls.master,v 1.233 2022/10/07 14:59:39 deraadt Exp
*/
#include <sys/param.h>
@@ -355,8 +355,8 @@ const struct sysent sysent[] = {
sys_nosys }, /* 157 = obsolete statfs25 */
{ 0, 0, 0,
sys_nosys }, /* 158 = obsolete fstatfs25 */
- { 0, 0, 0,
- sys_nosys }, /* 159 = unimplemented */
+ { 2, s(struct sys_mimmutable_args), 0,
+ sys_mimmutable }, /* 159 = mimmutable */
{ 0, 0, 0,
sys_nosys }, /* 160 = unimplemented */
{ 2, s(struct sys_getfh_args), 0,
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index c5e32082f18..ede2581fa5c 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.247 2022/09/03 21:16:51 mbuhl Exp $ */
+/* $OpenBSD: syscalls.c,v 1.248 2022/10/07 15:00:12 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.232 2022/09/03 21:13:48 mbuhl Exp
+ * created from; OpenBSD: syscalls.master,v 1.233 2022/10/07 14:59:39 deraadt Exp
*/
const char *const syscallnames[] = {
@@ -183,7 +183,7 @@ const char *const syscallnames[] = {
"#156 (obsolete ogetdirentries)", /* 156 = obsolete ogetdirentries */
"#157 (obsolete statfs25)", /* 157 = obsolete statfs25 */
"#158 (obsolete fstatfs25)", /* 158 = obsolete fstatfs25 */
- "#159 (unimplemented)", /* 159 = unimplemented */
+ "mimmutable", /* 159 = mimmutable */
"#160 (unimplemented)", /* 160 = unimplemented */
"getfh", /* 161 = getfh */
"#162 (obsolete ogetdomainname)", /* 162 = obsolete ogetdomainname */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index d5ef0ad492d..8c93f9e9294 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.246 2022/09/03 21:16:51 mbuhl Exp $ */
+/* $OpenBSD: syscall.h,v 1.247 2022/10/07 15:00:12 deraadt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.232 2022/09/03 21:13:48 mbuhl Exp
+ * created from; OpenBSD: syscalls.master,v 1.233 2022/10/07 14:59:39 deraadt Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -441,6 +441,9 @@
/* 156 is obsolete ogetdirentries */
/* 157 is obsolete statfs25 */
/* 158 is obsolete fstatfs25 */
+/* syscall: "mimmutable" ret: "int" args: "void *" "size_t" */
+#define SYS_mimmutable 159
+
/* 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 42f32f89c99..fd5398243bc 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.249 2022/09/03 21:16:51 mbuhl Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.250 2022/10/07 15:00:12 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.232 2022/09/03 21:13:48 mbuhl Exp
+ * created from; OpenBSD: syscalls.master,v 1.233 2022/10/07 14:59:39 deraadt Exp
*/
#ifdef syscallarg
@@ -733,6 +733,11 @@ struct sys_nfssvc_args {
syscallarg(void *) argp;
};
+struct sys_mimmutable_args {
+ syscallarg(void *) addr;
+ syscallarg(size_t) len;
+};
+
struct sys_getfh_args {
syscallarg(const char *) fname;
syscallarg(fhandle_t *) fhp;
@@ -1345,6 +1350,7 @@ int sys_ypconnect(struct proc *, void *, register_t *);
int sys_nfssvc(struct proc *, void *, register_t *);
#else
#endif
+int sys_mimmutable(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 *);