mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
NPTL: Fixed missed conditionalization of setxid hooey.
This commit is contained in:
parent
9287adf089
commit
cc40d25e50
@ -1,5 +1,8 @@
|
|||||||
2015-01-08 Roland McGrath <roland@hack.frob.com>
|
2015-01-08 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* nptl/nptl-init.c (pthread_functions): Conditionalize
|
||||||
|
.ptr__nptl_setxid initialization on [SIGSETXID].
|
||||||
|
|
||||||
* sysdeps/nptl/sys/procfs.h: New file.
|
* sysdeps/nptl/sys/procfs.h: New file.
|
||||||
* nptl_db/Makefile (headers): Add it.
|
* nptl_db/Makefile (headers): Add it.
|
||||||
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
|
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
|
||||||
|
@ -140,7 +140,9 @@ static const struct pthread_functions pthread_functions =
|
|||||||
.ptr_nthreads = &__nptl_nthreads,
|
.ptr_nthreads = &__nptl_nthreads,
|
||||||
.ptr___pthread_unwind = &__pthread_unwind,
|
.ptr___pthread_unwind = &__pthread_unwind,
|
||||||
.ptr__nptl_deallocate_tsd = __nptl_deallocate_tsd,
|
.ptr__nptl_deallocate_tsd = __nptl_deallocate_tsd,
|
||||||
|
# ifdef SIGSETXID
|
||||||
.ptr__nptl_setxid = __nptl_setxid,
|
.ptr__nptl_setxid = __nptl_setxid,
|
||||||
|
# endif
|
||||||
/* For now only the stack cache needs to be freed. */
|
/* For now only the stack cache needs to be freed. */
|
||||||
.ptr_freeres = nptl_freeres,
|
.ptr_freeres = nptl_freeres,
|
||||||
.ptr_set_robust = __nptl_set_robust
|
.ptr_set_robust = __nptl_set_robust
|
||||||
|
Loading…
Reference in New Issue
Block a user