-/* $OpenBSD: init_sysent.c,v 1.260 2023/02/14 08:35:20 mvs Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.261 2023/02/16 04:42:27 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.243 2023/02/14 08:34:49 mvs Exp
+ * created from; OpenBSD: syscalls.master,v 1.244 2023/02/16 04:42:06 deraadt Exp
*/
#include <sys/param.h>
sys_nosys }, /* 144 = obsolete ogetrlimit */
{ 0, 0, 0,
sys_nosys }, /* 145 = obsolete osetrlimit */
- { 0, 0, 0,
- sys_nosys }, /* 146 = obsolete okillpg */
+ { 3, s(struct sys_pinsyscall_args), SY_NOLOCK | 0,
+ sys_pinsyscall }, /* 146 = pinsyscall */
{ 0, 0, 0,
sys_setsid }, /* 147 = setsid */
{ 4, s(struct sys_quotactl_args), 0,
-/* $OpenBSD: syscalls.c,v 1.258 2023/02/14 08:35:20 mvs Exp $ */
+/* $OpenBSD: syscalls.c,v 1.259 2023/02/16 04:42:27 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.243 2023/02/14 08:34:49 mvs Exp
+ * created from; OpenBSD: syscalls.master,v 1.244 2023/02/16 04:42:06 deraadt Exp
*/
const char *const syscallnames[] = {
"setthrname", /* 143 = setthrname */
"#144 (obsolete ogetrlimit)", /* 144 = obsolete ogetrlimit */
"#145 (obsolete osetrlimit)", /* 145 = obsolete osetrlimit */
- "#146 (obsolete okillpg)", /* 146 = obsolete okillpg */
+ "pinsyscall", /* 146 = pinsyscall */
"setsid", /* 147 = setsid */
"quotactl", /* 148 = quotactl */
"#149 (obsolete oquota)", /* 149 = obsolete oquota */
-/* $OpenBSD: syscall.h,v 1.257 2023/02/14 08:35:20 mvs Exp $ */
+/* $OpenBSD: syscall.h,v 1.258 2023/02/16 04:42:27 deraadt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.243 2023/02/14 08:34:49 mvs Exp
+ * created from; OpenBSD: syscalls.master,v 1.244 2023/02/16 04:42:06 deraadt Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
/* 144 is obsolete ogetrlimit */
/* 145 is obsolete osetrlimit */
- /* 146 is obsolete okillpg */
+/* syscall: "pinsyscall" ret: "int" args: "int" "void *" "size_t" */
+#define SYS_pinsyscall 146
+
/* syscall: "setsid" ret: "int" args: */
#define SYS_setsid 147
-/* $OpenBSD: syscallargs.h,v 1.260 2023/02/14 08:35:20 mvs Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.261 2023/02/16 04:42:27 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.243 2023/02/14 08:34:49 mvs Exp
+ * created from; OpenBSD: syscalls.master,v 1.244 2023/02/16 04:42:06 deraadt Exp
*/
#ifdef syscallarg
syscallarg(const char *) name;
};
+struct sys_pinsyscall_args {
+ syscallarg(int) syscall;
+ syscallarg(void *) addr;
+ syscallarg(size_t) len;
+};
+
struct sys_quotactl_args {
syscallarg(const char *) path;
syscallarg(int) cmd;
int sys_getlogin_r(struct proc *, void *, register_t *);
int sys_getthrname(struct proc *, void *, register_t *);
int sys_setthrname(struct proc *, void *, register_t *);
+int sys_pinsyscall(struct proc *, void *, register_t *);
int sys_setsid(struct proc *, void *, register_t *);
int sys_quotactl(struct proc *, void *, register_t *);
int sys_ypconnect(struct proc *, void *, register_t *);