diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-03-11 15:21:59 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-04-21 15:10:07 -0300 |
commit | 2f6fa80147f0cf74c0d411a0e07c5655deb436b3 (patch) | |
tree | b080b4403905e80808140ecae77bc250654a7fc0 /nptl/pthread_sigmask.c | |
parent | 34d49f120df2787788acfdf86769277a1a7ebccb (diff) | |
download | glibc-2f6fa80147f0cf74c0d411a0e07c5655deb436b3.tar.gz glibc-2f6fa80147f0cf74c0d411a0e07c5655deb436b3.tar.xz glibc-2f6fa80147f0cf74c0d411a0e07c5655deb436b3.zip |
linux: Use pthread_sigmask on sigprocmask
With pthread_sigmask on libc.so, it allows implement sigprocmask on top of pthread_sigmask. Checked on x86_64-linux-gnu.
Diffstat (limited to 'nptl/pthread_sigmask.c')
-rw-r--r-- | nptl/pthread_sigmask.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/pthread_sigmask.c b/nptl/pthread_sigmask.c index 035104453f..c6c6e83c08 100644 --- a/nptl/pthread_sigmask.c +++ b/nptl/pthread_sigmask.c @@ -46,6 +46,7 @@ __pthread_sigmask (int how, const sigset_t *newmask, sigset_t *oldmask) ? INTERNAL_SYSCALL_ERRNO (result) : 0); } +libc_hidden_def (__pthread_sigmask) versioned_symbol (libc, __pthread_sigmask, pthread_sigmask, GLIBC_2_32); #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_32) |