1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +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

@ -1942,6 +1942,7 @@ GLIBC_2.2 semctl F
GLIBC_2.2 sendfile F
GLIBC_2.2 setrlimit64 F
GLIBC_2.2 setutxent F
GLIBC_2.2 shm_open F
GLIBC_2.2 shmctl F
GLIBC_2.2 sighold F
GLIBC_2.2 sigignore F
@ -2530,6 +2531,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.2 aio_write F
GLIBC_2.2 aio_write64 F
GLIBC_2.2 lio_listio F
GLIBC_2.2 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

@ -1940,6 +1940,7 @@ GLIBC_2.2 semctl F
GLIBC_2.2 sendfile F
GLIBC_2.2 setrlimit64 F
GLIBC_2.2 setutxent F
GLIBC_2.2 shm_open F
GLIBC_2.2 shmctl F
GLIBC_2.2 sighold F
GLIBC_2.2 sigignore F
@ -2528,6 +2529,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

@ -1939,6 +1939,7 @@ GLIBC_2.2 sem_wait F
GLIBC_2.2 sendfile F
GLIBC_2.2 setrlimit64 F
GLIBC_2.2 setutxent F
GLIBC_2.2 shm_open F
GLIBC_2.2 sighold F
GLIBC_2.2 sigignore F
GLIBC_2.2 sigqueue F
@ -2536,6 +2537,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.2 aio_write F
GLIBC_2.2 aio_write64 F
GLIBC_2.2 lio_listio F
GLIBC_2.2 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

@ -1935,6 +1935,7 @@ GLIBC_2.2 sem_wait F
GLIBC_2.2 sendfile F
GLIBC_2.2 setrlimit64 F
GLIBC_2.2 setutxent F
GLIBC_2.2 shm_open F
GLIBC_2.2 sighold F
GLIBC_2.2 sigignore F
GLIBC_2.2 sigqueue F
@ -2454,6 +2455,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.2 aio_write F
GLIBC_2.2 aio_write64 F
GLIBC_2.2 lio_listio F
GLIBC_2.2 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