From 2ed5055d26dad344fbe651b361efb7697ae3de0b Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 8 May 2003 07:41:24 +0000 Subject: [PATCH] SIG_SETMASK is 3, not 1. Sigh. --- lib/libc/amd64/gen/setjmp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/amd64/gen/setjmp.S b/lib/libc/amd64/gen/setjmp.S index ac37f9855162..cfe15b7c35c9 100644 --- a/lib/libc/amd64/gen/setjmp.S +++ b/lib/libc/amd64/gen/setjmp.S @@ -80,7 +80,7 @@ ENTRY(__longjmp) pushq %rdi pushq %rsi movq %rdi,%rdx - movq $1,%rdi /* SIG_SETMASK */ + movq $3,%rdi /* SIG_SETMASK */ leaq 72(%rdx),%rsi /* (sigset_t*)set */ movq $0,%rdx /* (sigset_t*)oset */ call PIC_PLT(CNAME(_sigprocmask))