1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

rt: Move shm_open into libc

This function has no dependency on libpthread, so the move is also
applied to Hurd.

To avoid localplt failures, use __open64_nocancel instead of
pthread_setcancelstate and open.

The symbol was moved using scripts/move-symbol-to-libc.py.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Florian Weimer
2021-06-21 08:25:15 +02:00
parent a749a00fb5
commit c6e7ec2f12
67 changed files with 86 additions and 41 deletions

View File

@ -397,6 +397,7 @@ GLIBC_2.34 sem_timedwait F
GLIBC_2.34 sem_trywait F
GLIBC_2.34 sem_unlink F
GLIBC_2.34 sem_wait F
GLIBC_2.34 shm_open F
GLIBC_2.34 thrd_create F
GLIBC_2.34 thrd_detach F
GLIBC_2.34 thrd_exit F
@ -2101,6 +2102,7 @@ GLIBC_2.4 setvbuf F
GLIBC_2.4 setxattr F
GLIBC_2.4 sgetspent F
GLIBC_2.4 sgetspent_r F
GLIBC_2.4 shm_open F
GLIBC_2.4 shmat F
GLIBC_2.4 shmctl F
GLIBC_2.4 shmdt F

View File

@ -30,7 +30,6 @@ GLIBC_2.4 mq_setattr F
GLIBC_2.4 mq_timedreceive F
GLIBC_2.4 mq_timedsend F
GLIBC_2.4 mq_unlink F
GLIBC_2.4 shm_open F
GLIBC_2.4 shm_unlink F
GLIBC_2.4 timer_create F
GLIBC_2.4 timer_delete F

View File

@ -394,6 +394,7 @@ GLIBC_2.34 sem_timedwait F
GLIBC_2.34 sem_trywait F
GLIBC_2.34 sem_unlink F
GLIBC_2.34 sem_wait F
GLIBC_2.34 shm_open F
GLIBC_2.34 thrd_create F
GLIBC_2.34 thrd_detach F
GLIBC_2.34 thrd_exit F
@ -2098,6 +2099,7 @@ GLIBC_2.4 setvbuf F
GLIBC_2.4 setxattr F
GLIBC_2.4 sgetspent F
GLIBC_2.4 sgetspent_r F
GLIBC_2.4 shm_open F
GLIBC_2.4 shmat F
GLIBC_2.4 shmctl F
GLIBC_2.4 shmdt F

View File

@ -30,7 +30,6 @@ GLIBC_2.4 mq_setattr F
GLIBC_2.4 mq_timedreceive F
GLIBC_2.4 mq_timedsend F
GLIBC_2.4 mq_unlink F
GLIBC_2.4 shm_open F
GLIBC_2.4 shm_unlink F
GLIBC_2.4 timer_create F
GLIBC_2.4 timer_delete F