summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/sparc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2011-11-22 21:13:30 +0000
committerguenther <guenther@openbsd.org>2011-11-22 21:13:30 +0000
commit3b196c124d1cd2fc70c021007a33e8007d744e89 (patch)
treeb74751679f8d87a6287accea2b6a393c6a05859c /lib/libc/arch/sparc
parentdocument SYSTRACE_FILTER_CCACHE, prompted by espie@ (diff)
downloadwireguard-openbsd-3b196c124d1cd2fc70c021007a33e8007d744e89.tar.xz
wireguard-openbsd-3b196c124d1cd2fc70c021007a33e8007d744e89.zip
sigstack() is long dead, and the compat sigaltstack syscall is gone too.
Correct the namespace protections for sigreturn(), sigwait(), and psignal() ok millert@
Diffstat (limited to 'lib/libc/arch/sparc')
-rw-r--r--lib/libc/arch/sparc/gen/setjmp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/sparc/gen/setjmp.S b/lib/libc/arch/sparc/gen/setjmp.S
index 10cc2932ac7..c16d8d70028 100644
--- a/lib/libc/arch/sparc/gen/setjmp.S
+++ b/lib/libc/arch/sparc/gen/setjmp.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: setjmp.S,v 1.5 2005/08/07 16:40:15 espie Exp $ */
+/* $OpenBSD: setjmp.S,v 1.6 2011/11/22 21:13:30 guenther Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -58,7 +58,7 @@ ENTRY(setjmp)
t ST_SYSCALL
st %o0, [%o2 + 4] /* sc.sc_mask = current mask; */
mov SYS_sigaltstack, %g1
- clr %o0 /* sigstack(NULL, &foo) */
+ clr %o0 /* sigaltstack(NULL, &foo) */
add %sp, 0x48, %o1 /* (foo being in arg dump area) */
t ST_SYSCALL
ld [%sp + 0x50], %o0 /* foo.ss_flags */