From 786b3a2c22a0ae682a67dca6107d7db268773111 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 27 Nov 1998 15:22:44 +0000 Subject: [PATCH] regen --- sys/compat/svr4/svr4_syscall.h | 7 +++++-- sys/compat/svr4/svr4_syscallargs.h | 11 +++++++++-- sys/compat/svr4/svr4_syscalls.c | 6 +++--- sys/compat/svr4/svr4_sysent.c | 8 ++++---- 4 files changed, 21 insertions(+), 11 deletions(-) diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h index c231e71faf49..ce0dbac0d051 100644 --- a/sys/compat/svr4/svr4_syscall.h +++ b/sys/compat/svr4/svr4_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: svr4_syscall.h,v 1.52 1998/10/19 22:43:25 tron Exp $ */ +/* $NetBSD: svr4_syscall.h,v 1.53 1998/11/27 15:22:44 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 1998/10/19 22:43:00 tron Exp + * created from NetBSD: syscalls.master,v 1.38 1998/11/27 15:08:50 christos Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -356,6 +356,9 @@ /* syscall: "setregid" ret: "int" args: "int" "int" */ #define SVR4_SYS_setregid 203 +/* syscall: "resolvepath" ret: "int" args: "const char *" "char *" "size_t" */ +#define SVR4_SYS_resolvepath 209 + /* syscall: "getdents64" ret: "int" args: "int" "struct svr4_dirent64 *" "int" */ #define SVR4_SYS_getdents64 213 diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h index af11952cd95e..32c0c06e199e 100644 --- a/sys/compat/svr4/svr4_syscallargs.h +++ b/sys/compat/svr4/svr4_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: svr4_syscallargs.h,v 1.50 1998/10/19 22:43:25 tron Exp $ */ +/* $NetBSD: svr4_syscallargs.h,v 1.51 1998/11/27 15:22:44 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 1998/10/19 22:43:00 tron Exp + * created from NetBSD: syscalls.master,v 1.38 1998/11/27 15:08:50 christos Exp */ #ifdef syscallarg @@ -379,6 +379,12 @@ struct svr4_sys_facl_args { syscallarg(struct svr4_aclent *) buf; }; +struct svr4_sys_resolvepath_args { + syscallarg(const char *) path; + syscallarg(char *) buf; + syscallarg(size_t) bufsiz; +}; + struct svr4_sys_getdents64_args { syscallarg(int) fd; syscallarg(struct svr4_dirent64 *) dp; @@ -586,6 +592,7 @@ int sys_nanosleep __P((struct proc *, void *, register_t *)); int svr4_sys_facl __P((struct proc *, void *, register_t *)); int sys_setreuid __P((struct proc *, void *, register_t *)); int sys_setregid __P((struct proc *, void *, register_t *)); +int svr4_sys_resolvepath __P((struct proc *, void *, register_t *)); int svr4_sys_getdents64 __P((struct proc *, void *, register_t *)); int svr4_sys_mmap64 __P((struct proc *, void *, register_t *)); int svr4_sys_stat64 __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c index 13b0a6c40836..fea5caeb55fa 100644 --- a/sys/compat/svr4/svr4_syscalls.c +++ b/sys/compat/svr4/svr4_syscalls.c @@ -1,10 +1,10 @@ -/* $NetBSD: svr4_syscalls.c,v 1.51 1998/10/19 22:43:25 tron Exp $ */ +/* $NetBSD: svr4_syscalls.c,v 1.52 1998/11/27 15:22:44 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 1998/10/19 22:43:00 tron Exp + * created from NetBSD: syscalls.master,v 1.38 1998/11/27 15:08:50 christos Exp */ #if defined(_KERNEL) && !defined(_LKM) @@ -246,7 +246,7 @@ char *svr4_syscallnames[] = { "#206 (unimplemented schedctl)", /* 206 = unimplemented schedctl */ "#207 (unimplemented pset)", /* 207 = unimplemented pset */ "#208 (unimplemented)", /* 208 = unimplemented */ - "#209 (unimplemented resolvepath)", /* 209 = unimplemented resolvepath */ + "resolvepath", /* 209 = resolvepath */ "#210 (unimplemented signotifywait)", /* 210 = unimplemented signotifywait */ "#211 (unimplemented lwp_sigredirect)", /* 211 = unimplemented lwp_sigredirect */ "#212 (unimplemented lwp_alarm)", /* 212 = unimplemented lwp_alarm */ diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c index 502c8b74c9d1..32019f6534ab 100644 --- a/sys/compat/svr4/svr4_sysent.c +++ b/sys/compat/svr4/svr4_sysent.c @@ -1,10 +1,10 @@ -/* $NetBSD: svr4_sysent.c,v 1.53 1998/10/19 22:43:25 tron Exp $ */ +/* $NetBSD: svr4_sysent.c,v 1.54 1998/11/27 15:22:44 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 1998/10/19 22:43:00 tron Exp + * created from NetBSD: syscalls.master,v 1.38 1998/11/27 15:08:50 christos Exp */ #include "opt_sysv.h" @@ -464,8 +464,8 @@ struct sysent svr4_sysent[] = { sys_nosys }, /* 207 = unimplemented pset */ { 0, 0, sys_nosys }, /* 208 = unimplemented */ - { 0, 0, - sys_nosys }, /* 209 = unimplemented resolvepath */ + { 3, s(struct svr4_sys_resolvepath_args), + svr4_sys_resolvepath }, /* 209 = resolvepath */ { 0, 0, sys_nosys }, /* 210 = unimplemented signotifywait */ { 0, 0,