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

@ -2041,6 +2041,7 @@ GLIBC_2.2 scandir64 F
GLIBC_2.2 sem_timedwait F
GLIBC_2.2 semctl F
GLIBC_2.2 setrlimit 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
@ -2592,6 +2593,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

View File

@ -2045,6 +2045,7 @@ GLIBC_2.2 scandir64 F
GLIBC_2.2 sem_timedwait F
GLIBC_2.2 semctl F
GLIBC_2.2 setrlimit 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
@ -2625,6 +2626,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

@ -1684,6 +1684,7 @@ GLIBC_2.3 setvbuf F
GLIBC_2.3 setxattr F
GLIBC_2.3 sgetspent F
GLIBC_2.3 sgetspent_r F
GLIBC_2.3 shm_open F
GLIBC_2.3 shmat F
GLIBC_2.3 shmctl F
GLIBC_2.3 shmdt F
@ -2362,6 +2363,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.3 aio_write F
GLIBC_2.3 aio_write64 F
GLIBC_2.3 lio_listio F
GLIBC_2.3 lio_listio64 F
GLIBC_2.3 shm_open F
GLIBC_2.3 shm_unlink F
GLIBC_2.3 timer_create F
GLIBC_2.3 timer_delete F

View File

@ -1871,6 +1871,7 @@ GLIBC_2.17 sgetsgent F
GLIBC_2.17 sgetsgent_r F
GLIBC_2.17 sgetspent F
GLIBC_2.17 sgetspent_r F
GLIBC_2.17 shm_open F
GLIBC_2.17 shmat F
GLIBC_2.17 shmctl F
GLIBC_2.17 shmdt F
@ -2661,6 +2662,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

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