diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2008-12-02 11:58:31 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2008-12-02 11:58:31 +0000 |
commit | 10b4034657dfc714985bcb76bdb93fdd7346a6c2 (patch) | |
tree | b23ed20daecc73be355f5025496a06fa66e978c8 /libexec/rtld-elf/rtld_lock.h | |
parent | d6568724e10481f07d2ebf26fc8e72fb2e258842 (diff) | |
download | src-10b4034657dfc714985bcb76bdb93fdd7346a6c2.tar.gz src-10b4034657dfc714985bcb76bdb93fdd7346a6c2.zip |
Provide custom simple allocator for rtld locks in libthr. The allocator
does not use any external symbols, thus avoiding possible recursion into
rtld to resolve symbols, when called.
Reviewed by: kan, davidxu
Tested by: rink
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=185558
Diffstat (limited to 'libexec/rtld-elf/rtld_lock.h')
-rw-r--r-- | libexec/rtld-elf/rtld_lock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld_lock.h b/libexec/rtld-elf/rtld_lock.h index 4c5d8541b3ea..6c04e3b96e37 100644 --- a/libexec/rtld-elf/rtld_lock.h +++ b/libexec/rtld-elf/rtld_lock.h @@ -29,6 +29,7 @@ #define _RTLD_LOCK_H_ #define RTLI_VERSION 0x01 +#define MAX_RTLD_LOCKS 8 struct RtldLockInfo { |