From e4fd81565b305a9e8f75455643857e90bc8a6e22 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 12 Dec 2023 15:32:58 +0000 Subject: [PATCH] sync --- sys/kern/init_sysent.c | 6 +++--- sys/kern/syscalls.c | 6 +++--- sys/sys/syscall.h | 7 ++----- sys/sys/syscallargs.h | 4 ++-- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index e06170a9a08..4d6e0ff7297 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.271 2023/12/10 16:59:51 deraadt Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.272 2023/12/12 15:32:59 deraadt Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.253 2023/12/10 16:59:09 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.254 2023/12/12 15:30:55 deraadt Exp */ #include @@ -18,7 +18,7 @@ const struct sysent sysent[] = { { 0, 0, 0, - sys_nosys }, /* 0 = syscall (indir) */ + sys_nosys }, /* 0 = unimplemented syscall */ { 1, s(struct sys_exit_args), 0, sys_exit }, /* 1 = exit */ { 0, 0, 0, diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index b009ec93cec..8fbbaf11d67 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,14 +1,14 @@ -/* $OpenBSD: syscalls.c,v 1.269 2023/12/10 16:59:51 deraadt Exp $ */ +/* $OpenBSD: syscalls.c,v 1.270 2023/12/12 15:32:59 deraadt Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.253 2023/12/10 16:59:09 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.254 2023/12/12 15:30:55 deraadt Exp */ const char *const syscallnames[] = { - "syscall", /* 0 = syscall */ + "#0 (unimplemented syscall)", /* 0 = unimplemented syscall */ "exit", /* 1 = exit */ "fork", /* 2 = fork */ "read", /* 3 = read */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index dfa110f2949..d0db8474a54 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,15 +1,12 @@ -/* $OpenBSD: syscall.h,v 1.268 2023/12/10 16:59:51 deraadt Exp $ */ +/* $OpenBSD: syscall.h,v 1.269 2023/12/12 15:32:58 deraadt Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.253 2023/12/10 16:59:09 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.254 2023/12/12 15:30:55 deraadt Exp */ -/* syscall: "syscall" ret: "int" args: "int" "..." */ -#define SYS_syscall 0 - /* syscall: "exit" ret: "void" args: "int" */ #define SYS_exit 1 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 3ba9edc5ce2..ab9aadba0b7 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.271 2023/12/10 16:59:51 deraadt Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.272 2023/12/12 15:32:58 deraadt Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.253 2023/12/10 16:59:09 deraadt Exp + * created from; OpenBSD: syscalls.master,v 1.254 2023/12/12 15:30:55 deraadt Exp */ #ifdef syscallarg -- 2.20.1