summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-11 23:21:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-11 23:21:59 +0000
commitf072ca6309f10a480e607ccee6175a5bf7906ec6 (patch)
treea2923636d40084fae8085cd90306bfbd1ecc5444 /sys/kern
parent253fa6c1369ce2d5cee002fae1338ac509985efc (diff)
sync
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_sysent.c40
-rw-r--r--sys/kern/syscalls.c22
2 files changed, 31 insertions, 31 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 27011f5c4f7..9f14b94b897 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.257 2023/02/11 23:10:25 deraadt Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.258 2023/02/11 23:21:58 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.240 2023/02/11 23:07:25 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.241 2023/02/11 23:21:22 deraadt Exp
*/
#include <sys/param.h>
@@ -383,10 +383,10 @@ const struct sysent sysent[] = {
sys_preadv }, /* 171 = preadv */
{ 4, s(struct sys_pwritev_args), SY_NOLOCK | 0,
sys_pwritev }, /* 172 = pwritev */
- { 5, s(struct sys_pad_pread_args), SY_NOLOCK | 0,
- sys_pad_pread }, /* 173 = pad_pread */
- { 5, s(struct sys_pad_pwrite_args), SY_NOLOCK | 0,
- sys_pad_pwrite }, /* 174 = pad_pwrite */
+ { 0, 0, 0,
+ sys_nosys }, /* 173 = obsolete pad_pread */
+ { 0, 0, 0,
+ sys_nosys }, /* 174 = obsolete pad_pwrite */
{ 0, 0, 0,
sys_nosys }, /* 175 = unimplemented ntp_gettime */
{ 0, 0, 0,
@@ -431,16 +431,16 @@ const struct sysent sysent[] = {
sys_setrlimit }, /* 195 = setrlimit */
{ 0, 0, 0,
sys_nosys }, /* 196 = obsolete ogetdirentries48 */
- { 7, s(struct sys_pad_mmap_args), 0,
- sys_pad_mmap }, /* 197 = pad_mmap */
+ { 0, 0, 0,
+ sys_nosys }, /* 197 = obsolete pad_mmap */
{ 0, 0, 0,
sys_nosys }, /* 198 = obsolete __syscall */
- { 4, s(struct sys_pad_lseek_args), SY_NOLOCK | 0,
- sys_pad_lseek }, /* 199 = pad_lseek */
- { 3, s(struct sys_pad_truncate_args), 0,
- sys_pad_truncate }, /* 200 = pad_truncate */
- { 3, s(struct sys_pad_ftruncate_args), 0,
- sys_pad_ftruncate }, /* 201 = pad_ftruncate */
+ { 0, 0, 0,
+ sys_nosys }, /* 199 = obsolete pad_lseek */
+ { 0, 0, 0,
+ sys_nosys }, /* 200 = obsolete pad_truncate */
+ { 0, 0, 0,
+ sys_nosys }, /* 201 = obsolete pad_ftruncate */
{ 6, s(struct sys_sysctl_args), 0,
sys_sysctl }, /* 202 = sysctl */
{ 2, s(struct sys_mlock_args), 0,
@@ -598,10 +598,10 @@ const struct sysent sysent[] = {
sys_nosys }, /* 265 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 266 = unimplemented */
- { 5, s(struct sys_pad_preadv_args), SY_NOLOCK | 0,
- sys_pad_preadv }, /* 267 = pad_preadv */
- { 5, s(struct sys_pad_pwritev_args), SY_NOLOCK | 0,
- sys_pad_pwritev }, /* 268 = pad_pwritev */
+ { 0, 0, 0,
+ sys_nosys }, /* 267 = obsolete pad_preadv */
+ { 0, 0, 0,
+ sys_nosys }, /* 268 = obsolete pad_pwritev */
{ 0, 0, SY_NOLOCK | 0,
sys_kqueue }, /* 269 = kqueue */
{ 0, 0, 0,
@@ -636,8 +636,8 @@ const struct sysent sysent[] = {
sys_setresgid }, /* 284 = setresgid */
{ 0, 0, 0,
sys_nosys }, /* 285 = obsolete sys_omquery */
- { 7, s(struct sys_pad_mquery_args), 0,
- sys_pad_mquery }, /* 286 = pad_mquery */
+ { 0, 0, 0,
+ sys_nosys }, /* 286 = obsolete pad_mquery */
{ 1, s(struct sys_closefrom_args), SY_NOLOCK | 0,
sys_closefrom }, /* 287 = closefrom */
{ 2, s(struct sys_sigaltstack_args), 0,
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index d779c4721b4..b071c0add77 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.255 2023/02/11 23:10:25 deraadt Exp $ */
+/* $OpenBSD: syscalls.c,v 1.256 2023/02/11 23:21:58 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.240 2023/02/11 23:07:25 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.241 2023/02/11 23:21:22 deraadt Exp
*/
const char *const syscallnames[] = {
@@ -197,8 +197,8 @@ const char *const syscallnames[] = {
"pwrite", /* 170 = pwrite */
"preadv", /* 171 = preadv */
"pwritev", /* 172 = pwritev */
- "pad_pread", /* 173 = pad_pread */
- "pad_pwrite", /* 174 = pad_pwrite */
+ "#173 (obsolete pad_pread)", /* 173 = obsolete pad_pread */
+ "#174 (obsolete pad_pwrite)", /* 174 = obsolete pad_pwrite */
"#175 (unimplemented ntp_gettime)", /* 175 = unimplemented ntp_gettime */
"#176 (unimplemented ntp_adjtime)", /* 176 = unimplemented ntp_adjtime */
"#177 (unimplemented)", /* 177 = unimplemented */
@@ -221,11 +221,11 @@ const char *const syscallnames[] = {
"getrlimit", /* 194 = getrlimit */
"setrlimit", /* 195 = setrlimit */
"#196 (obsolete ogetdirentries48)", /* 196 = obsolete ogetdirentries48 */
- "pad_mmap", /* 197 = pad_mmap */
+ "#197 (obsolete pad_mmap)", /* 197 = obsolete pad_mmap */
"#198 (obsolete __syscall)", /* 198 = obsolete __syscall */
- "pad_lseek", /* 199 = pad_lseek */
- "pad_truncate", /* 200 = pad_truncate */
- "pad_ftruncate", /* 201 = pad_ftruncate */
+ "#199 (obsolete pad_lseek)", /* 199 = obsolete pad_lseek */
+ "#200 (obsolete pad_truncate)", /* 200 = obsolete pad_truncate */
+ "#201 (obsolete pad_ftruncate)", /* 201 = obsolete pad_ftruncate */
"sysctl", /* 202 = sysctl */
"mlock", /* 203 = mlock */
"munlock", /* 204 = munlock */
@@ -309,8 +309,8 @@ const char *const syscallnames[] = {
"fhopen", /* 264 = fhopen */
"#265 (unimplemented)", /* 265 = unimplemented */
"#266 (unimplemented)", /* 266 = unimplemented */
- "pad_preadv", /* 267 = pad_preadv */
- "pad_pwritev", /* 268 = pad_pwritev */
+ "#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 */
"mlockall", /* 271 = mlockall */
@@ -328,7 +328,7 @@ const char *const syscallnames[] = {
"getresgid", /* 283 = getresgid */
"setresgid", /* 284 = setresgid */
"#285 (obsolete sys_omquery)", /* 285 = obsolete sys_omquery */
- "pad_mquery", /* 286 = pad_mquery */
+ "#286 (obsolete pad_mquery)", /* 286 = obsolete pad_mquery */
"closefrom", /* 287 = closefrom */
"sigaltstack", /* 288 = sigaltstack */
#ifdef SYSVSHM