summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2008-12-02 11:58:31 +0000
committerkib <kib@FreeBSD.org>2008-12-02 11:58:31 +0000
commitaf7a67c13ca3d0aea828b69672928819ce3cafc1 (patch)
treeb23ed20daecc73be355f5025496a06fa66e978c8 /libexec
parentade687809e3b9101f41cc7ab57fee5e8056b7381 (diff)
downloadFreeBSD-src-af7a67c13ca3d0aea828b69672928819ce3cafc1.zip
FreeBSD-src-af7a67c13ca3d0aea828b69672928819ce3cafc1.tar.gz
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
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/rtld_lock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld_lock.h b/libexec/rtld-elf/rtld_lock.h
index 4c5d854..6c04e3b 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
{
OpenPOWER on IntegriCloud