163 Commits

Author SHA1 Message Date
Yang Yanchao
8615244aa3 Refactor the libpthread-2.17.so code and pass all test cases.
delete libpthread-2.17.so from glibc-devel
2021-11-24 18:19:16 +08:00
liqingqing_1229
1feba0288f revert supress -Wcast-qual warnings in bsearch 2021-11-19 09:51:27 +08:00
liqingqing_1229
05f7be5273 fix attribute access mode on getcwd [BZ #27476], supress -Wcast-qual warnings in bsearch 2021-11-15 21:38:26 +08:00
liqingqing_1229
35e1891d71 elf: fix ld.so crash while loading a DSO with a read-only dynamic section 2021-11-15 19:32:05 +08:00
liqingqing_1229
3ab2b7b71b gconv: Do not emit spurious NUL character in ISO-2022-JP-3, this also fix CVE-2021-43396. 2021-11-10 20:49:28 +08:00
liqingqing_1229
2b77a61d3e iconvconfig: Fix behaviour with --prefix 2021-11-09 15:28:35 +08:00
liqingqing_1229
83aeb85874 nptl: pthread_kill race condition issues fixed.
uplink: https://sourceware.org/bugzilla/show_bug.cgi?id=19193
        https://sourceware.org/bugzilla/show_bug.cgi?id=12889
        https://sourceware.org/bugzilla/show_bug.cgi?id=28036
        https://sourceware.org/bugzilla/show_bug.cgi?id=28363
        https://sourceware.org/bugzilla/show_bug.cgi?id=28407
2021-11-08 21:07:42 +08:00
liqingqing_1229
5d781b4a0c pthread_kill and pthread_cancel return success for satisfy posix standard. 2021-11-05 08:50:35 +08:00
liqingqing_1229
653f3153b9 aarch64: update a64fx memset not to degrade at 16KB 2021-10-29 11:07:27 +08:00
liqingqing_1229
a085006b9e use testl, instead of andl, to check __x86_string_control to
avoid updating __x86_string_control
2021-10-28 20:59:51 +08:00
Yang Yanchao
e6a721beed Show more debugging information during testsuite
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2021-10-27 09:24:23 +08:00
Fcc
14d36df964 Use __executable_start as the lowest address for profiling 2021-10-26 20:29:37 +08:00
Yang Yanchao
0efa08b12d glibc:add glibc-compat-2.17 subpackage to provide the function of the glibc-2.17 pthread library.
Currently, provide pthread_condition function.

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2021-10-26 15:11:36 +08:00
liqingqing_1229
88a66f7a0c fix mtrace output and valgrind check failed for tunables_strdup.
-mtrace fix output with PIE and ASLR.
-elf: rtld copy terminating null in tunables strdup.
2021-10-25 16:54:09 +08:00
liqingqing_1229
018de895ca fpu: x86-64 optimize load of all bits set into ZMM register. 2021-10-25 15:09:40 +08:00
Yang Yanchao
14364fe566 Add locale-archive sub packages to support more languages and reduce memory usage.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2021-10-19 16:26:18 +08:00
Yang Yanchao
99e0df3458 Add the testsuite whitelist.
If a test case out of the trustlist fails, the compilation is interrupted.

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2021-10-14 14:45:26 +08:00
liqingqing_1229
09e73f980a update test memmove.c to cover 16KB 2021-10-11 09:01:17 +08:00
liqingqing_1229
39ba937215 elf: drop elf/tls-macros.h in favor of thread tls_mode attribute.
use __ehdr_start for __GLOBAL_OFFSET_TABLE[0]
2021-09-29 11:52:55 +08:00
liqingqing_1229
60314ef12d time fix overflow itimer tests on 32 bit system 2021-09-29 10:55:38 +08:00
liqingqing_1229
8b0605e3bf mtrace: use a static buffer for printing, fix upstream bug BZ #25947 2021-09-27 19:18:52 +08:00
liqingqing_1229
e4fd5bf689 aarch64: Make elf_machine_{load_addr,dynamic} robust [BZ #28203] 2021-09-26 09:52:11 +08:00
liqingqing_1229
8d6576b56f aarch64: optimize memset performance 2021-09-17 16:04:25 +08:00
liqingqing_1229
524981388e fix some patches to fix some memory leak and double free bugs. 2021-09-17 10:20:57 +08:00
yangyanchao
40f3e7ca8a add --enable-static-pie in aarch64
Signed-off-by: yangyanchao <yangyanchao6@huawei.com>
2021-09-14 15:53:21 +08:00
liqingqing_1229
2418652d62 fix CVE-2021-38604 2021-08-25 09:42:32 +08:00
liqingqing_1229
bc9517add8 upgrade to glibc 2.34 2021-08-06 17:32:15 +08:00
zhouwenpei
0b221203fb remove unnecessary build require. 2021-07-23 16:17:31 +08:00
liqingqing_1229
b49c4bc483 malloc: tcache shutdown sequence does not work if the thread never allocated anything. (bug 28028) 2021-07-03 15:47:42 +08:00
liqingqing_1229
c4279fb077 fix CVE-2021-35942. wordexp: Use strtoul instead of atoi so that overflow can be detected. 2021-07-01 14:42:59 +08:00
liqingqing_1229
90b78e8b57 fix CVE-2021-33574 2021-06-21 10:19:58 +08:00
xuhuijie
d33df5fa43 fix locales's BEP inconsistence, use python to replace same file to hard link 2021-04-27 20:38:33 +08:00
xielhxie
a2703f537a Fix-the-inaccuracy-of-j0f-j1f-y0f-y1f-BZ.patch 2021-04-16 16:18:35 +08:00
wangshuo
51bddc616d upgrade glibc from 2.31-9 to 2.33-1 2021-03-08 17:25:09 +08:00
Sdrkun
102231c569 elf: Allow dlopen of filter object to work [BZ #16272] 2021-01-26 20:09:32 +08:00
wangshuo
83df0b99ce Replace openEuler by %{_vendor} for versatility 2021-01-08 15:51:38 +08:00
liusirui
95f5794214 Fix CVE-2020-27618
Signed-off-by: liusirui <liusirui@huawei.com>
2020-11-10 17:30:27 +08:00
Sdrkun
2ed033ad3c rtld: Avoid using up static TLS surplus for optimizations [BZ #25051]. 2020-09-16 20:31:38 +08:00
MarsChan
0c410efa03 For political reasons, remove country selection from tzselect.ksh 2020-09-06 09:48:05 +08:00
xuhuijie
94a9b01b4e the new pthread_cond_wait function is slow when in multi core environment
because of the queue. so we build old version function in an extra .so file.
you can use it by adding LD_PRELOAD=./libpthreadcond.so in front of your
program (eg: LD_PRELOAD=./libpthreadcond.so ./test).
use with-libpthreadcond to open the spec compile option.
2020-08-17 10:20:27 +08:00
wangshuo
9093b3b59e disable warnings due to deprecated libselinux symbols used by nss and nscd 2020-07-25 11:43:05 +08:00
wangshuo
817b947c74 fix CVE-2020-6096 and some bugs 2020-07-24 14:18:22 +08:00
buque
5458339cff upgrade glibc from 2.28-45 to 2.31-1 version 2020-07-16 11:06:13 +08:00
wangshuo
0491b6ca1d disable osbolete rpc and disable parallel compilation 2020-07-07 17:37:12 +08:00
wswsamao
39c8c0d45f backup to version 40 2020-07-07 00:08:19 +08:00
wangshuo
62468d7411 disable osbolete rpc and disable parallel compilation 2020-07-06 22:06:53 +08:00
wangshuo
cd79ca222e add zh and en to LanguageList 2020-07-06 09:03:03 +08:00
wangshuo
b9801063d3 add filelist and backport many patch 2020-07-02 20:54:42 +08:00
wangshuo
6bc9a41b03 fix array overflow in backtrace on PowerPC 2020-06-02 14:52:23 +08:00
jdkboy
b90d9464f2 disable Werror temporarily 2020-05-28 20:22:07 +08:00