diff options
Diffstat (limited to 'sys/compat/hpux/hppa')
-rw-r--r-- | sys/compat/hpux/hppa/hpux_syscall.h | 7 | ||||
-rw-r--r-- | sys/compat/hpux/hppa/hpux_syscallargs.h | 5 | ||||
-rw-r--r-- | sys/compat/hpux/hppa/hpux_syscalls.c | 6 | ||||
-rw-r--r-- | sys/compat/hpux/hppa/hpux_sysent.c | 8 |
4 files changed, 15 insertions, 11 deletions
diff --git a/sys/compat/hpux/hppa/hpux_syscall.h b/sys/compat/hpux/hppa/hpux_syscall.h index 2245264b33b..224dc6f2f9f 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.3 2004/07/11 00:21:29 mickey Exp $ */ +/* $OpenBSD: hpux_syscall.h,v 1.4 2004/07/13 01:03:22 mickey Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.3 2004/07/11 00:20:46 mickey Exp + * created from OpenBSD: syscalls.master,v 1.4 2004/07/13 01:03:01 mickey Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -325,6 +325,9 @@ /* syscall: "sigaction" ret: "int" args: "int" "struct hpux_sigaction *" "struct hpux_sigaction *" */ #define HPUX_SYS_sigaction 188 +/* syscall: "getdomainname" ret: "int" args: "char *" "int" */ +#define HPUX_SYS_getdomainname 192 + /* 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 8d73395d4da..53fc0a1be27 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.3 2004/07/11 00:21:29 mickey Exp $ */ +/* $OpenBSD: hpux_syscallargs.h,v 1.4 2004/07/13 01:03:22 mickey Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.3 2004/07/11 00:20:46 mickey Exp + * created from OpenBSD: syscalls.master,v 1.4 2004/07/13 01:03:01 mickey Exp */ #ifdef syscallarg @@ -464,6 +464,7 @@ int hpux_sys_sigprocmask(struct proc *, void *, register_t *); 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 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 39a224a8596..fc084937915 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.3 2004/07/11 00:21:29 mickey Exp $ */ +/* $OpenBSD: hpux_syscalls.c,v 1.4 2004/07/13 01:03:22 mickey Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.3 2004/07/11 00:20:46 mickey Exp + * created from OpenBSD: syscalls.master,v 1.4 2004/07/13 01:03:01 mickey Exp */ char *hpux_syscallnames[] = { @@ -224,7 +224,7 @@ char *hpux_syscallnames[] = { "#189 (unimplemented lw_get_thread_times)", /* 189 = unimplemented lw_get_thread_times */ "#190 (unimplemented nfssvc)", /* 190 = unimplemented nfssvc */ "#191 (unimplemented getfh)", /* 191 = unimplemented getfh */ - "#192 (unimplemented getdomainname)", /* 192 = unimplemented getdomainname */ + "getdomainname", /* 192 = getdomainname */ "#193 (unimplemented setdomainname)", /* 193 = unimplemented setdomainname */ "#194 (unimplemented async_daemon)", /* 194 = unimplemented async_daemon */ "#195 (unimplemented getdirentries)", /* 195 = unimplemented getdirentries */ diff --git a/sys/compat/hpux/hppa/hpux_sysent.c b/sys/compat/hpux/hppa/hpux_sysent.c index 62c685421a3..a1614e75390 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.3 2004/07/11 00:21:29 mickey Exp $ */ +/* $OpenBSD: hpux_sysent.c,v 1.4 2004/07/13 01:03:22 mickey Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.3 2004/07/11 00:20:46 mickey Exp + * created from OpenBSD: syscalls.master,v 1.4 2004/07/13 01:03:01 mickey Exp */ #include <sys/param.h> @@ -440,8 +440,8 @@ struct sysent hpux_sysent[] = { sys_nosys }, /* 190 = unimplemented nfssvc */ { 0, 0, sys_nosys }, /* 191 = unimplemented getfh */ - { 0, 0, - sys_nosys }, /* 192 = unimplemented getdomainname */ + { 2, s(struct compat_09_sys_getdomainname_args), + compat_09_sys_getdomainname }, /* 192 = getdomainname */ { 0, 0, sys_nosys }, /* 193 = unimplemented setdomainname */ { 0, 0, |