mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
hurd: Fix using interposable hurd_thread_self
Create a private hidden __hurd_thread_self alias, and use that one. Fixes2f8ecb58a5
"hurd: Fix x86_64 _hurd_tls_fork" andc7fcce38c8
"hurd: Make sure to not use tcb->self" Reported-by: Joseph Myers <joseph@codesourcery.com> Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
committed by
Samuel Thibault
parent
6af84886ad
commit
b44c1e1252
@@ -11,5 +11,8 @@ void _hurd_libc_proc_init (char **argv);
|
||||
libc_hidden_proto (_hurd_exec_paths)
|
||||
libc_hidden_proto (_hurd_init)
|
||||
libc_hidden_proto (_hurd_libc_proc_init)
|
||||
|
||||
extern thread_t __hurd_thread_self (void);
|
||||
libc_hidden_proto (__hurd_thread_self)
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user