summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasoni <jasoni@openbsd.org>2000-03-28 06:35:57 +0000
committerjasoni <jasoni@openbsd.org>2000-03-28 06:35:57 +0000
commit00ac012171ff9d9fea960fba90851cc35715e76e (patch)
tree3c98a1b30a2fdb02ca29b530a1874ee068c9e817
parentneed an ntalkd man page, obviously (diff)
downloadwireguard-openbsd-00ac012171ff9d9fea960fba90851cc35715e76e.tar.xz
wireguard-openbsd-00ac012171ff9d9fea960fba90851cc35715e76e.zip
Implement rt_sigreturn.
-rw-r--r--sys/arch/i386/i386/linux_machdep.c11
-rw-r--r--sys/compat/linux/syscalls.master5
2 files changed, 13 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/linux_machdep.c b/sys/arch/i386/i386/linux_machdep.c
index 1f786d480db..f9bfc426d7a 100644
--- a/sys/arch/i386/i386/linux_machdep.c
+++ b/sys/arch/i386/i386/linux_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_machdep.c,v 1.13 2000/03/23 17:17:32 aaron Exp $ */
+/* $OpenBSD: linux_machdep.c,v 1.14 2000/03/28 06:35:57 jasoni Exp $ */
/* $NetBSD: linux_machdep.c,v 1.29 1996/05/03 19:42:11 christos Exp $ */
/*
@@ -270,6 +270,15 @@ linux_sys_sigreturn(p, v, retval)
return (EJUSTRETURN);
}
+int
+linux_sys_rt_sigreturn(p, v, retval)
+ struct proc *p;
+ void *v;
+ register_t *retval;
+{
+ return(ENOSYS);
+}
+
#ifdef USER_LDT
int
diff --git a/sys/compat/linux/syscalls.master b/sys/compat/linux/syscalls.master
index 944da370a8e..ccbf7cbb1c7 100644
--- a/sys/compat/linux/syscalls.master
+++ b/sys/compat/linux/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.19 2000/03/27 22:38:12 jasoni Exp $
+ $OpenBSD: syscalls.master,v 1.20 2000/03/28 06:35:57 jasoni Exp $
; $NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -273,7 +273,8 @@
171 STD { int linux_sys_getresgid(gid_t *rgid, gid_t *egid, \
gid_t *sgid); }
172 UNIMPL prctl
-173 UNIMPL rt_sigreturn
+173 STD { int linux_sys_rt_sigreturn( \
+ struct linux_rt_sigframe *sfp); }
174 STD { int linux_sys_rt_sigaction(int signum, \
struct linux_sigaction *nsa, \
struct linux_sigaction *osa, \