diff options
author | 2004-02-09 21:27:21 +0000 | |
---|---|---|
committer | 2004-02-09 21:27:21 +0000 | |
commit | c94a74898cd940f66a60be15ced10dcfb849261f (patch) | |
tree | 796c868b135b19ee91e87d0282c9d6937d765a6e /lib/libc/arch/amd64 | |
parent | do signal blocking before saving registers (diff) | |
download | wireguard-openbsd-c94a74898cd940f66a60be15ced10dcfb849261f.tar.xz wireguard-openbsd-c94a74898cd940f66a60be15ced10dcfb849261f.zip |
masks are only 32 bits on openbsd
Diffstat (limited to 'lib/libc/arch/amd64')
-rw-r--r-- | lib/libc/arch/amd64/sys/sigprocmask.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/amd64/sys/sigprocmask.S b/lib/libc/arch/amd64/sys/sigprocmask.S index 3718f8de3ae..c5a999582cf 100644 --- a/lib/libc/arch/amd64/sys/sigprocmask.S +++ b/lib/libc/arch/amd64/sys/sigprocmask.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigprocmask.S,v 1.1 2004/01/28 01:44:45 mickey Exp $ */ +/* $OpenBSD: sigprocmask.S,v 1.2 2004/02/09 21:27:21 deraadt Exp $ */ /* $NetBSD: sigprocmask.S,v 1.1 2001/06/19 00:25:06 fvdl Exp $ */ /*- @@ -53,7 +53,7 @@ SYSENTRY(sigprocmask) jc err testq %rdx,%rdx # test if old mask requested jz out - movq %rax,(%rdx) # store old mask + movl %eax,(%rdx) # store old mask out: xorl %eax,%eax ret |