diff options
author | kib <kib@FreeBSD.org> | 2011-02-09 09:20:27 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-02-09 09:20:27 +0000 |
commit | 2d3fe26edea36d31e4691f4a36956d9b6ef35ab1 (patch) | |
tree | ad7c786b1d3e7efa9edf045df12bf535d6f1ec94 /libexec/rtld-elf/rtld.h | |
parent | e001171515d48ece0d4d5caf54fd106bb2349fa1 (diff) | |
download | FreeBSD-src-2d3fe26edea36d31e4691f4a36956d9b6ef35ab1.zip FreeBSD-src-2d3fe26edea36d31e4691f4a36956d9b6ef35ab1.tar.gz |
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.
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 8941d29..bb365a7 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; }; /* |