From a7bc470a84ecda53b360df72d35434bef1658131 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Wed, 9 Feb 2011 09:20:27 +0000 Subject: Use sigsetjmp/siglongjmp with disabled signal mask access for lock upgrade in rtld. There is no need to care about the mask, which causes a lot of unneeded sigprocmask(2) calls during each symbol lookup. --- libexec/rtld-elf/rtld.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/rtld-elf/rtld.h') diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index 8941d29298d0..bb365a7ce7e6 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -276,7 +276,7 @@ typedef struct Struct_DoneList { struct Struct_RtldLockState { int lockstate; - jmp_buf env; + sigjmp_buf env; }; /* -- cgit v1.3