From: deraadt Date: Fri, 15 Jul 2022 17:20:54 +0000 (+0000) Subject: sync X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ca1203ef376706fa415619252c4a593d6c0386aa;p=openbsd sync --- diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 2e1222cdbf9..b0d3e654bb4 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $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 @@ -332,8 +332,8 @@ const struct sysent sysent[] = { 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, diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index e00504829d7..aa6c343490e 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $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[] = { @@ -170,7 +170,7 @@ 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 */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 7e3e545c918..bcf4bd03ca2 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $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" "..." */ @@ -428,7 +428,9 @@ #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 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 3d75cdbeb06..c0a9783f91b 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $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 @@ -709,6 +709,10 @@ struct sys_quotactl_args { syscallarg(char *) arg; }; +struct sys_ypconnect_args { + syscallarg(int) type; +}; + struct sys_nfssvc_args { syscallarg(int) flag; syscallarg(void *) argp; @@ -1319,6 +1323,7 @@ int sys_adjtime(struct proc *, void *, register_t *); 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