From 00ac012171ff9d9fea960fba90851cc35715e76e Mon Sep 17 00:00:00 2001 From: jasoni Date: Tue, 28 Mar 2000 06:35:57 +0000 Subject: [PATCH] Implement rt_sigreturn. --- sys/arch/i386/i386/linux_machdep.c | 11 ++++++++++- sys/compat/linux/syscalls.master | 5 +++-- 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, \ -- 2.20.1