From: guenther Date: Sat, 18 May 2024 05:21:02 +0000 (+0000) Subject: Regen X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=83961a402250baf6794526f636b0f469f5203d97;p=openbsd Regen --- diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 97362e95ac5..17dc1c02147 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.280 2024/05/10 09:21:41 claudio Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.281 2024/05/18 05:21:02 guenther Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.263 2024/05/10 09:21:01 claudio Exp + * created from; OpenBSD: syscalls.master,v 1.264 2024/05/18 05:20:22 guenther Exp */ #include @@ -417,8 +417,8 @@ const struct sysent sysent[] = { sys_nosys }, /* 188 = obsolete stat35 */ { 0, 0, 0, sys_nosys }, /* 189 = obsolete fstat35 */ - { 0, 0, 0, - sys_nosys }, /* 190 = obsolete lstat35 */ + { 4, s(struct sys_pathconfat_args), 0, + sys_pathconfat }, /* 190 = pathconfat */ { 2, s(struct sys_pathconf_args), 0, sys_pathconf }, /* 191 = pathconf */ { 2, s(struct sys_fpathconf_args), 0, diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index be5a4be2ab5..7f690a6fa34 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.278 2024/05/10 09:21:41 claudio Exp $ */ +/* $OpenBSD: syscalls.c,v 1.279 2024/05/18 05:21:02 guenther Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.263 2024/05/10 09:21:01 claudio Exp + * created from; OpenBSD: syscalls.master,v 1.264 2024/05/18 05:20:22 guenther Exp */ const char *const syscallnames[] = { @@ -214,7 +214,7 @@ const char *const syscallnames[] = { "#187 (obsolete lfs_segwait)", /* 187 = obsolete lfs_segwait */ "#188 (obsolete stat35)", /* 188 = obsolete stat35 */ "#189 (obsolete fstat35)", /* 189 = obsolete fstat35 */ - "#190 (obsolete lstat35)", /* 190 = obsolete lstat35 */ + "pathconfat", /* 190 = pathconfat */ "pathconf", /* 191 = pathconf */ "fpathconf", /* 192 = fpathconf */ "swapctl", /* 193 = swapctl */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index ad0d6148a1f..efc14f0dafa 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.277 2024/05/10 09:21:41 claudio Exp $ */ +/* $OpenBSD: syscall.h,v 1.278 2024/05/18 05:21:02 guenther Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.263 2024/05/10 09:21:01 claudio Exp + * created from; OpenBSD: syscalls.master,v 1.264 2024/05/18 05:20:22 guenther Exp */ /* syscall: "exit" ret: "void" args: "int" */ @@ -497,7 +497,9 @@ /* 187 is obsolete lfs_segwait */ /* 188 is obsolete stat35 */ /* 189 is obsolete fstat35 */ - /* 190 is obsolete lstat35 */ +/* syscall: "pathconfat" ret: "long" args: "int" "const char *" "int" "int" */ +#define SYS_pathconfat 190 + /* syscall: "pathconf" ret: "long" args: "const char *" "int" */ #define SYS_pathconf 191 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index bd16d05b28a..6fca7bbe48e 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.280 2024/05/10 09:21:41 claudio Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.281 2024/05/18 05:21:02 guenther Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.263 2024/05/10 09:21:01 claudio Exp + * created from; OpenBSD: syscalls.master,v 1.264 2024/05/18 05:20:22 guenther Exp */ #ifdef syscallarg @@ -828,6 +828,13 @@ struct sys_seteuid_args { syscallarg(uid_t) euid; }; +struct sys_pathconfat_args { + syscallarg(int) fd; + syscallarg(const char *) path; + syscallarg(int) name; + syscallarg(int) flag; +}; + struct sys_pathconf_args { syscallarg(const char *) path; syscallarg(int) name; @@ -1320,6 +1327,7 @@ int sys_pwritev(struct proc *, void *, register_t *); int sys_setgid(struct proc *, void *, register_t *); int sys_setegid(struct proc *, void *, register_t *); int sys_seteuid(struct proc *, void *, register_t *); +int sys_pathconfat(struct proc *, void *, register_t *); int sys_pathconf(struct proc *, void *, register_t *); int sys_fpathconf(struct proc *, void *, register_t *); int sys_swapctl(struct proc *, void *, register_t *);