From a501a33e9761f32b3d38ab9f113892abe7cef3f1 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Fri, 16 Apr 2010 16:56:00 +0300 Subject: nptl: mark forwarded functions protected The libc stubs should never override the libpthread provided functions inside libpthread, otherwise the struct pthread_functions that is used by the forwarder stubs goes bad. Signed-off-by: Timo Teras Signed-off-by: Austin Foxley --- libpthread/nptl/pthread_mutex_lock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libpthread/nptl/pthread_mutex_lock.c') diff --git a/libpthread/nptl/pthread_mutex_lock.c b/libpthread/nptl/pthread_mutex_lock.c index 47e4d4158..6abf3236e 100644 --- a/libpthread/nptl/pthread_mutex_lock.c +++ b/libpthread/nptl/pthread_mutex_lock.c @@ -42,6 +42,7 @@ static int __pthread_mutex_lock_full (pthread_mutex_t *mutex) int +attribute_protected __pthread_mutex_lock ( pthread_mutex_t *mutex) { -- cgit v1.2.3