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

@ -2034,6 +2034,7 @@ GLIBC_2.2 ruserok_af F
GLIBC_2.2 scandir64 F
GLIBC_2.2 sem_timedwait F
GLIBC_2.2 semctl F
GLIBC_2.2 shm_open F
GLIBC_2.2 shmctl F
GLIBC_2.2 svc_getreq_common F
GLIBC_2.2 svc_getreq_poll F
@ -2583,6 +2584,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

View File

@ -15,7 +15,6 @@ GLIBC_2.1 aio_write F
GLIBC_2.1 aio_write64 F
GLIBC_2.1 lio_listio F
GLIBC_2.1 lio_listio64 F
GLIBC_2.2 shm_open F
GLIBC_2.2 shm_unlink F
GLIBC_2.2 timer_create F
GLIBC_2.2 timer_delete F