This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] NPTL: Fixed missed conditionalization of setxid hooey.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Thu, 8 Jan 2015 13:41:56 -0800 (PST)
- Subject: [COMMITTED PATCH] NPTL: Fixed missed conditionalization of setxid hooey.
- Authentication-results: sourceware.org; auth=none
Verified on x86_64-linux-gnu that no generated code changes.
Thanks,
Roland
* nptl/nptl-init.c (pthread_functions): Conditionalize
.ptr__nptl_setxid initialization on [SIGSETXID].
--- a/nptl/nptl-init.c
+++ b/nptl/nptl-init.c
@@ -140,7 +140,9 @@ static const struct pthread_functions pthread_functions =
.ptr_nthreads = &__nptl_nthreads,
.ptr___pthread_unwind = &__pthread_unwind,
.ptr__nptl_deallocate_tsd = __nptl_deallocate_tsd,
+# ifdef SIGSETXID
.ptr__nptl_setxid = __nptl_setxid,
+# endif
/* For now only the stack cache needs to be freed. */
.ptr_freeres = nptl_freeres,
.ptr_set_robust = __nptl_set_robust