[COMMITTED] NPTL: Fixed missed conditionalization of setxid hooey.

Message ID 20150108214156.5AA8B2C3BA1@topped-with-meat.com
State Committed
Headers

Commit Message

Roland McGrath Jan. 8, 2015, 9:41 p.m. UTC
  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].
  

Patch

--- 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