nptl: Move setxid broadcast implementation into libc
authorFlorian Weimer <fweimer@redhat.com>
Wed, 21 Apr 2021 17:49:51 +0000 (19:49 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 21 Apr 2021 17:49:51 +0000 (19:49 +0200)
commit486010a3c8cb59df19995eac964ef51e627287a4
treea2a3f987c5ed5446355fed93a1b9c4be57ada486
parent08129b155e50f01588ec6e675fc76637cb22eb01
nptl: Move setxid broadcast implementation into libc

The signal handler is exported as __nptl_setxid_sighandler, so
that the libpthread initialization code can install it.  This
is sufficient for now because it is guarantueed to happen before
the first pthread_create call.
nptl/Makefile
nptl/Versions
nptl/allocatestack.c
nptl/nptl-init.c
nptl/nptl_setxid.c [new file with mode: 0644]
nptl/pthreadP.h
sysdeps/nptl/pthread-functions.h
sysdeps/nptl/setxid.h
sysdeps/unix/sysv/linux/internal-signals.h