-/* $OpenBSD: init_sysent.c,v 1.240 2022/06/29 13:07:19 jca Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.241 2022/07/15 17:20:54 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.226 2022/06/29 12:17:31 jca Exp
+ * created from; OpenBSD: syscalls.master,v 1.227 2022/07/15 17:20:24 deraadt Exp
*/
#include <sys/param.h>
sys_quotactl }, /* 148 = quotactl */
{ 0, 0, 0,
sys_nosys }, /* 149 = obsolete oquota */
- { 0, 0, 0,
- sys_nosys }, /* 150 = obsolete ogetsockname */
+ { 1, s(struct sys_ypconnect_args), SY_NOLOCK | 0,
+ sys_ypconnect }, /* 150 = ypconnect */
{ 0, 0, 0,
sys_nosys }, /* 151 = unimplemented */
{ 0, 0, 0,
-/* $OpenBSD: syscalls.c,v 1.238 2022/06/29 13:07:19 jca Exp $ */
+/* $OpenBSD: syscalls.c,v 1.239 2022/07/15 17:20:54 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.226 2022/06/29 12:17:31 jca Exp
+ * created from; OpenBSD: syscalls.master,v 1.227 2022/07/15 17:20:24 deraadt Exp
*/
const char *const syscallnames[] = {
"setsid", /* 147 = setsid */
"quotactl", /* 148 = quotactl */
"#149 (obsolete oquota)", /* 149 = obsolete oquota */
- "#150 (obsolete ogetsockname)", /* 150 = obsolete ogetsockname */
+ "ypconnect", /* 150 = ypconnect */
"#151 (unimplemented)", /* 151 = unimplemented */
"#152 (unimplemented)", /* 152 = unimplemented */
"#153 (unimplemented)", /* 153 = unimplemented */
-/* $OpenBSD: syscall.h,v 1.237 2022/06/29 13:07:19 jca Exp $ */
+/* $OpenBSD: syscall.h,v 1.238 2022/07/15 17:20:54 deraadt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.226 2022/06/29 12:17:31 jca Exp
+ * created from; OpenBSD: syscalls.master,v 1.227 2022/07/15 17:20:24 deraadt Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
#define SYS_quotactl 148
/* 149 is obsolete oquota */
- /* 150 is obsolete ogetsockname */
+/* syscall: "ypconnect" ret: "int" args: "int" */
+#define SYS_ypconnect 150
+
/* syscall: "nfssvc" ret: "int" args: "int" "void *" */
#define SYS_nfssvc 155
-/* $OpenBSD: syscallargs.h,v 1.240 2022/06/29 13:07:19 jca Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.241 2022/07/15 17:20:54 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.226 2022/06/29 12:17:31 jca Exp
+ * created from; OpenBSD: syscalls.master,v 1.227 2022/07/15 17:20:24 deraadt Exp
*/
#ifdef syscallarg
syscallarg(char *) arg;
};
+struct sys_ypconnect_args {
+ syscallarg(int) type;
+};
+
struct sys_nfssvc_args {
syscallarg(int) flag;
syscallarg(void *) argp;
int sys_getlogin_r(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 *);
#if defined(NFSCLIENT) || defined(NFSSERVER)
int sys_nfssvc(struct proc *, void *, register_t *);
#else