-/* $OpenBSD: init_sysent.c,v 1.276 2024/03/28 02:23:31 deraadt Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.277 2024/04/05 14:15:37 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.259 2024/03/28 02:19:57 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.260 2024/04/05 14:15:13 deraadt Exp
*/
#include <sys/param.h>
sys_fchflags }, /* 35 = fchflags */
{ 0, 0, 0,
sys_sync }, /* 36 = sync */
- { 2, s(struct sys_msyscall_args), 0,
- sys_msyscall }, /* 37 = msyscall */
+ { 0, 0, 0,
+ sys_nosys }, /* 37 = obsolete msyscall */
{ 2, s(struct sys_stat_args), 0,
sys_stat }, /* 38 = stat */
{ 0, 0, SY_NOLOCK | 0,
-/* $OpenBSD: syscalls.c,v 1.274 2024/03/28 02:23:31 deraadt Exp $ */
+/* $OpenBSD: syscalls.c,v 1.275 2024/04/05 14:15:37 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.259 2024/03/28 02:19:57 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.260 2024/04/05 14:15:13 deraadt Exp
*/
const char *const syscallnames[] = {
"chflags", /* 34 = chflags */
"fchflags", /* 35 = fchflags */
"sync", /* 36 = sync */
- "msyscall", /* 37 = msyscall */
+ "#37 (obsolete msyscall)", /* 37 = obsolete msyscall */
"stat", /* 38 = stat */
"getppid", /* 39 = getppid */
"lstat", /* 40 = lstat */
-/* $OpenBSD: syscall.h,v 1.273 2024/03/28 02:27:14 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.274 2024/04/05 14:15:37 deraadt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.259 2024/03/28 02:19:57 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.260 2024/04/05 14:15:13 deraadt Exp
*/
/* syscall: "exit" ret: "void" args: "int" */
/* syscall: "sync" ret: "void" args: */
#define SYS_sync 36
-/* syscall: "msyscall" ret: "int" args: "void *" "size_t" */
-#define SYS_msyscall 37
-
+ /* 37 is obsolete msyscall */
/* syscall: "stat" ret: "int" args: "const char *" "struct stat *" */
#define SYS_stat 38
-/* $OpenBSD: syscallargs.h,v 1.276 2024/03/28 02:27:14 deraadt Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.277 2024/04/05 14:15:37 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.259 2024/03/28 02:19:57 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.260 2024/04/05 14:15:13 deraadt Exp
*/
#ifdef syscallarg
syscallarg(u_int) flags;
};
-struct sys_msyscall_args {
- syscallarg(void *) addr;
- syscallarg(size_t) len;
-};
-
struct sys_stat_args {
syscallarg(const char *) path;
syscallarg(struct stat *) ub;
int sys_chflags(struct proc *, void *, register_t *);
int sys_fchflags(struct proc *, void *, register_t *);
int sys_sync(struct proc *, void *, register_t *);
-int sys_msyscall(struct proc *, void *, register_t *);
int sys_stat(struct proc *, void *, register_t *);
int sys_getppid(struct proc *, void *, register_t *);
int sys_lstat(struct proc *, void *, register_t *);