From 10b4034657dfc714985bcb76bdb93fdd7346a6c2 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 2 Dec 2008 11:58:31 +0000 Subject: 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 --- libexec/rtld-elf/rtld_lock.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libexec/rtld-elf') 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 { -- cgit v1.3