-/* $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 <sys/param.h>
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,
-/* $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[] = {
"#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 */
-/* $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" */
/* 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
-/* $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
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;
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 *);