artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
146539d
)
correct argument handling; this has been broken since to beginning
author
deraadt
<deraadt@openbsd.org>
Fri, 10 Jan 2014 20:53:19 +0000
(20:53 +0000)
committer
deraadt
<deraadt@openbsd.org>
Fri, 10 Jan 2014 20:53:19 +0000
(20:53 +0000)
and was writing to wrong memory.
ok jsing miod guenther
lib/libc/arch/hppa/sys/sigpending.S
patch
|
blob
|
history
diff --git
a/lib/libc/arch/hppa/sys/sigpending.S
b/lib/libc/arch/hppa/sys/sigpending.S
index
fd8bd45
..
e58270c
100644
(file)
--- a/
lib/libc/arch/hppa/sys/sigpending.S
+++ b/
lib/libc/arch/hppa/sys/sigpending.S
@@
-1,4
+1,4
@@
-/* $OpenBSD: sigpending.S,v 1.1
0 2006/01/05 22:13:55 kettenis Exp $
*/
+/* $OpenBSD: sigpending.S,v 1.1
1 2014/01/10 20:53:19 deraadt Exp $
*/
/*
* Copyright (c) 1999 Michael Shalayeff
@@
-30,8
+30,7
@@
SYSENTRY(sigpending)
SYSCALL(sigpending)
- ldw HPPA_FRAME_ARG(0)(sp), t1
- stw ret0, 0(t1)
+ stw ret0, 0(arg0)
bv r0(rp)
copy r0, ret0
SYSEXIT(sigpending)