diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2011-02-09 09:20:27 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2011-02-09 09:20:27 +0000 |
| commit | a7bc470a84ecda53b360df72d35434bef1658131 (patch) | |
| tree | ad7c786b1d3e7efa9edf045df12bf535d6f1ec94 /libexec/rtld-elf/rtld.h | |
| parent | 8833442863c16647c9245827a4df3e16c8209063 (diff) | |
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.
Notes
svn path=/head/; revision=218476
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
| -rw-r--r-- | libexec/rtld-elf/rtld.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; /* |
