diff options
-rw-r--r-- | sys/compat/hpux/hppa/hpux_syscall.h | 10 | ||||
-rw-r--r-- | sys/compat/hpux/hppa/hpux_syscallargs.h | 6 | ||||
-rw-r--r-- | sys/compat/hpux/hppa/hpux_syscalls.c | 8 | ||||
-rw-r--r-- | sys/compat/hpux/hppa/hpux_sysent.c | 12 |
4 files changed, 22 insertions, 14 deletions
diff --git a/sys/compat/hpux/hppa/hpux_syscall.h b/sys/compat/hpux/hppa/hpux_syscall.h index 0bacfccc9e4..d525aa9dcef 100644 --- a/sys/compat/hpux/hppa/hpux_syscall.h +++ b/sys/compat/hpux/hppa/hpux_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscall.h,v 1.6 2004/07/14 15:55:38 mickey Exp $ */ +/* $OpenBSD: hpux_syscall.h,v 1.7 2004/07/15 20:08:31 mickey Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.6 2004/07/14 15:54:56 mickey Exp + * created from OpenBSD: syscalls.master,v 1.7 2004/07/15 20:07:41 mickey Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -337,6 +337,12 @@ /* syscall: "getdomainname" ret: "int" args: "char *" "int" */ #define HPUX_SYS_getdomainname 192 +/* syscall: "setdomainname" ret: "int" args: "char *" "int" */ +#define HPUX_SYS_setdomainname 193 + +/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */ +#define HPUX_SYS_getdirentries 195 + /* syscall: "waitpid" ret: "int" args: "pid_t" "int *" "int" "struct rusage *" */ #define HPUX_SYS_waitpid 200 diff --git a/sys/compat/hpux/hppa/hpux_syscallargs.h b/sys/compat/hpux/hppa/hpux_syscallargs.h index 72341afb7e9..fe6d1dc1deb 100644 --- a/sys/compat/hpux/hppa/hpux_syscallargs.h +++ b/sys/compat/hpux/hppa/hpux_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscallargs.h,v 1.6 2004/07/14 15:55:38 mickey Exp $ */ +/* $OpenBSD: hpux_syscallargs.h,v 1.7 2004/07/15 20:08:31 mickey Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.6 2004/07/14 15:54:56 mickey Exp + * created from OpenBSD: syscalls.master,v 1.7 2004/07/15 20:07:41 mickey Exp */ #ifdef syscallarg @@ -468,6 +468,8 @@ int hpux_sys_sigpending(struct proc *, void *, register_t *); int hpux_sys_sigsuspend(struct proc *, void *, register_t *); int hpux_sys_sigaction(struct proc *, void *, register_t *); int compat_09_sys_getdomainname(struct proc *, void *, register_t *); +int compat_09_sys_setdomainname(struct proc *, void *, register_t *); +int compat_43_sys_getdirentries(struct proc *, void *, register_t *); int hpux_sys_waitpid(struct proc *, void *, register_t *); int hpux_sigsetreturn(struct proc *, void *, register_t *); int sys_poll(struct proc *, void *, register_t *); diff --git a/sys/compat/hpux/hppa/hpux_syscalls.c b/sys/compat/hpux/hppa/hpux_syscalls.c index 975a21d66d9..88e047bbba2 100644 --- a/sys/compat/hpux/hppa/hpux_syscalls.c +++ b/sys/compat/hpux/hppa/hpux_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscalls.c,v 1.6 2004/07/14 15:55:38 mickey Exp $ */ +/* $OpenBSD: hpux_syscalls.c,v 1.7 2004/07/15 20:08:31 mickey Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.6 2004/07/14 15:54:56 mickey Exp + * created from OpenBSD: syscalls.master,v 1.7 2004/07/15 20:07:41 mickey Exp */ char *hpux_syscallnames[] = { @@ -225,9 +225,9 @@ char *hpux_syscallnames[] = { "#190 (unimplemented nfssvc)", /* 190 = unimplemented nfssvc */ "#191 (unimplemented getfh)", /* 191 = unimplemented getfh */ "getdomainname", /* 192 = getdomainname */ - "#193 (unimplemented setdomainname)", /* 193 = unimplemented setdomainname */ + "setdomainname", /* 193 = setdomainname */ "#194 (unimplemented async_daemon)", /* 194 = unimplemented async_daemon */ - "#195 (unimplemented getdirentries)", /* 195 = unimplemented getdirentries */ + "getdirentries", /* 195 = getdirentries */ "#196 (unimplemented statfs)", /* 196 = unimplemented statfs */ "#197 (unimplemented fstatfs)", /* 197 = unimplemented fstatfs */ "#198 (unimplemented vfsmount)", /* 198 = unimplemented vfsmount */ diff --git a/sys/compat/hpux/hppa/hpux_sysent.c b/sys/compat/hpux/hppa/hpux_sysent.c index 3218bef3528..6783b495e57 100644 --- a/sys/compat/hpux/hppa/hpux_sysent.c +++ b/sys/compat/hpux/hppa/hpux_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_sysent.c,v 1.6 2004/07/14 15:55:38 mickey Exp $ */ +/* $OpenBSD: hpux_sysent.c,v 1.7 2004/07/15 20:08:31 mickey Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.6 2004/07/14 15:54:56 mickey Exp + * created from OpenBSD: syscalls.master,v 1.7 2004/07/15 20:07:41 mickey Exp */ #include <sys/param.h> @@ -442,12 +442,12 @@ struct sysent hpux_sysent[] = { sys_nosys }, /* 191 = unimplemented getfh */ { 2, s(struct compat_09_sys_getdomainname_args), compat_09_sys_getdomainname }, /* 192 = getdomainname */ - { 0, 0, - sys_nosys }, /* 193 = unimplemented setdomainname */ + { 2, s(struct compat_09_sys_setdomainname_args), + compat_09_sys_setdomainname }, /* 193 = setdomainname */ { 0, 0, sys_nosys }, /* 194 = unimplemented async_daemon */ - { 0, 0, - sys_nosys }, /* 195 = unimplemented getdirentries */ + { 4, s(struct compat_43_sys_getdirentries_args), + compat_43_sys_getdirentries }, /* 195 = getdirentries */ { 0, 0, sys_nosys }, /* 196 = unimplemented statfs */ { 0, 0, |