diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:51 +0200 |
commit | 486010a3c8cb59df19995eac964ef51e627287a4 (patch) | |
tree | a2a3f987c5ed5446355fed93a1b9c4be57ada486 /nptl/pthreadP.h | |
parent | 08129b155e50f01588ec6e675fc76637cb22eb01 (diff) | |
download | glibc-486010a3c8cb59df19995eac964ef51e627287a4.zip glibc-486010a3c8cb59df19995eac964ef51e627287a4.tar.gz glibc-486010a3c8cb59df19995eac964ef51e627287a4.tar.bz2 |
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.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 14f2bd9..e091b2e 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -701,8 +701,8 @@ extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer extern void __nptl_deallocate_tsd (void); libc_hidden_proto (__nptl_deallocate_tsd) -extern void __nptl_setxid_error (struct xid_command *cmdp, int error) - attribute_hidden; +void __nptl_setxid_sighandler (int sig, siginfo_t *si, void *ctx); +libc_hidden_proto (__nptl_setxid_sighandler) extern int __nptl_setxid (struct xid_command *cmdp) attribute_hidden; extern void __nptl_stacks_freeres (void) attribute_hidden; |