summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorjasoni <jasoni@cvs.openbsd.org>2000-03-28 06:35:58 +0000
committerjasoni <jasoni@cvs.openbsd.org>2000-03-28 06:35:58 +0000
commitb0607e8994d5d6d95685f9c2dbee5f9901f3e7b5 (patch)
treedfbccf17af5d5d53c1613c7283b577dd5a3c943a /sys
parentf0f1c614737274c435ac08479e7d2a35f9869bf0 (diff)
Implement rt_sigreturn.
Diffstat (limited to 'sys')
-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, \