diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-25 10:30:36 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-25 12:19:58 +0200 |
commit | a752cb670a7bc4e7ee8568ba972056830bab904e (patch) | |
tree | c191ef5b606a8a3432b6000b853b29342f99657f /rt | |
parent | 12028b50310e83ffa0cafbca8cfffc222bfd6ac8 (diff) | |
download | glibc-a752cb670a7bc4e7ee8568ba972056830bab904e.tar.gz glibc-a752cb670a7bc4e7ee8568ba972056830bab904e.tar.xz glibc-a752cb670a7bc4e7ee8568ba972056830bab904e.zip |
Linux: Move mq_setattr from librt to libc
The symbol was moved using scripts/move-symbol-to-libc.py. To introduce the proper symbol versioning, the implementation of the system call wrapper us moved to a C file. Reviewed-by: Adhemerva Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'rt')
-rw-r--r-- | rt/Makefile | 2 | ||||
-rw-r--r-- | rt/Versions | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/rt/Makefile b/rt/Makefile index 2a6ffec45e..228eec8a27 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -35,7 +35,6 @@ librt-routines = \ mq_open \ mq_receive \ mq_send \ - mq_setattr \ mq_timedreceive \ mq_timedsend \ mq_unlink \ @@ -63,6 +62,7 @@ $(librt-routines-var) += \ lio_listio \ lio_listio64 \ mq_close \ + mq_setattr \ tests := tst-shm tst-timer tst-timer2 \ tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 \ diff --git a/rt/Versions b/rt/Versions index d38b95b090..01ac8cd0be 100644 --- a/rt/Versions +++ b/rt/Versions @@ -27,6 +27,7 @@ libc { GLIBC_2.3.4 { %if PTHREAD_IN_LIBC mq_close; + mq_setattr; %endif } GLIBC_2.4 { @@ -55,6 +56,7 @@ libc { lio_listio; lio_listio64; mq_close; + mq_setattr; %endif shm_open; shm_unlink; @@ -107,13 +109,13 @@ librt { GLIBC_2.3.4 { %if !PTHREAD_IN_LIBC mq_close; + mq_setattr; %endif mq_getattr; mq_notify; mq_open; mq_receive; mq_send; - mq_setattr; mq_timedreceive; mq_timedsend; mq_unlink; |