liqingqing_1229
2517d33b7f
fix glibc upstream bug BZ#28260 and nss/tst-nss-files-hosts-long and nptl/tst-create1
...
(cherry picked from commit c66918bc6053415d346a3b7f94553a73ba1df236)
2021-12-22 20:14:45 +08:00
liqingqing_1229
d2217b5497
pthread/tst-cancel28: Fix barrier re-init race condition
...
(cherry picked from commit 4405c4286873be3f9f04f742112af22caf8839bb)
2021-12-16 11:05:41 +08:00
Yang Yanchao
3369b7a7b2
Deleted some unnecessary command when make master.filelist
...
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
(cherry picked from commit 91e26f23d233769007ccca102b720697dc69ecf9)
2021-12-13 21:26:32 +08:00
Yang Yanchao
6e7a05a844
support all Chinese and English by default
...
add zh_* and en_* to glibc-common
the size of glibc-common is increased from 1.8MB to 3.5MB
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
(cherry picked from commit f5e24fbbc91f5674b85d32b2f71148638bc7c920)
2021-12-10 08:58:19 +08:00
Yang Yanchao
f573e88f94
turn the default value of x86_rep_stosb_threshold from 2k to 1M
...
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
(cherry picked from commit 6495a142f4b026f769f6162f18be549ede7a1476)
2021-12-03 14:17:59 +08:00
liqingqing_1229
738782294d
revert the use of sched_getaffinity [BZ #28310 ]
...
(cherry picked from commit 0057d144a90d6b57f3e3ba185dfca19d1a3282d7)
2021-12-03 10:23:52 +08:00
Bin Wang
3930cde25a
Linux: Simplify __opensock and fix race condition [BZ #28353 ]
...
AF_NETLINK support is not quite optional on modern Linux systems
anymore, so it is likely that the first attempt will always succeed.
Consequently, there is no need to cache the result. Keep AF_UNIX
and the Internet address families as a fallback, for the rare case
that AF_NETLINK is missing. The other address families previously
probed are totally obsolete be now, so remove them.
Use this simplified version as the generic implementation, disabling
Netlink support as needed.
Signed-off-by: Bin Wang <wangbin224@huawei.com>
(cherry picked from commit b91290ce417b9a6dec5d1d044fa8ab361d0e300a)
2021-11-30 11:36:38 +08:00
Yang Yanchao
2a138b3c83
Refactor the libpthread-2.17.so code and pass all test cases.
...
delete libpthread-2.17.so from glibc-devel
(cherry picked from commit 8615244aa3b58b6251dfad0c2c660134bd96bfcd)
2021-11-25 15:18:17 +08:00
liqingqing_1229
e55f336874
revert supress -Wcast-qual warnings in bsearch
...
(cherry picked from commit 1feba0288f96de12ea102ec6e8da994ceae77788)
2021-11-19 11:34:49 +08:00
liqingqing_1229
59c98cbb45
fix attribute access mode on getcwd [BZ #27476 ], supress -Wcast-qual warnings in bsearch
...
(cherry picked from commit 05f7be52737763a2b31fc326413d86e2a02a0c58)
2021-11-16 17:34:22 +08:00
liqingqing_1229
753f2695f1
elf: fix ld.so crash while loading a DSO with a read-only dynamic section
...
(cherry picked from commit 35e1891d7115354b362c1c6c122c085bb880d6fb)
2021-11-15 20:43:23 +08:00
liqingqing_1229
ef9fb4112e
gconv: Do not emit spurious NUL character in ISO-2022-JP-3, this also fix CVE-2021-43396.
...
(cherry picked from commit 3ab2b7b71b179a0de5b079c0c24b85172b847805)
2021-11-11 09:35:54 +08:00
liqingqing_1229
224e3c77ad
iconvconfig: Fix behaviour with --prefix
...
(cherry picked from commit 2b77a61d3e0765d9b5545e35002b1b23eb7b4b83)
2021-11-09 19:20:28 +08:00
liqingqing_1229
0703419f24
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
(cherry picked from commit 83aeb85874abee17a312eab44d75484c097ed8a8)
2021-11-09 09:49:28 +08:00
liqingqing_1229
2431e249b5
pthread_kill and pthread_cancel return success for satisfy posix standard.
...
(cherry picked from commit 5d781b4a0c02a823e7dae98e86775c3516ca3d91)
2021-11-05 09:59:30 +08:00
liqingqing_1229
d20be8b766
aarch64: update a64fx memset not to degrade at 16KB
...
(cherry picked from commit 653f3153b97d952c1e05772dbad0e9c6af4d6692)
2021-11-02 14:42:14 +08:00
liqingqing_1229
60ab5dcac1
use testl, instead of andl, to check __x86_string_control to
...
avoid updating __x86_string_control
(cherry picked from commit a085006b9ecdc4685067692c4d50832a28e274af)
2021-11-02 14:41:33 +08:00
Yang Yanchao
25bfe0fc5c
Show more debugging information during testsuite
...
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
(cherry picked from commit e6a721beed80460b73fa2bc1f39130336922914a)
2021-11-02 14:40:46 +08:00
Fcc
6dc5233811
Use __executable_start as the lowest address for profiling
...
(cherry picked from commit 14d36df964740fcf1236710de9e79b4380c2dae4)
2021-11-02 14:39:58 +08:00
Yang Yanchao
6a6b8fb597
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>
(cherry picked from commit 0efa08b12d929199d6355cfbffe03d86c2c798cc)
2021-11-02 14:39:08 +08:00
liqingqing_1229
af382177a3
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.
(cherry picked from commit 88a66f7a0c88f2b58ab82a670ff1d671c5cbfb68)
2021-11-02 14:38:13 +08:00
liqingqing_1229
89ddec60f7
fpu: x86-64 optimize load of all bits set into ZMM register.
...
(cherry picked from commit 018de895cabd2b028eba48efcba0d9f5bbaf71b1)
2021-11-02 14:37:06 +08:00
Yang Yanchao
eceb2aabf5
Add locale-archive sub packages to support more languages and reduce memory usage.
...
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
(cherry picked from commit 14364fe566c40364998b24184700e87ec69f593b)
2021-11-02 14:36:16 +08:00
Yang Yanchao
edaae34689
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>
(cherry picked from commit 99e0df34584506161b2e1b34dfa5d4cbd6100562)
2021-11-02 14:33:03 +08:00
liqingqing_1229
b0f357c5e8
update test memmove.c to cover 16KB
...
(cherry picked from commit 09e73f980a2082976132db18fec9247b7d01891b)
2021-11-02 12:03:52 +08:00
liqingqing_1229
353770b818
elf: drop elf/tls-macros.h in favor of thread tls_mode attribute.
...
use __ehdr_start for __GLOBAL_OFFSET_TABLE[0]
(cherry picked from commit 39ba9372151901720447a246c3293e862e7c0d39)
2021-11-02 08:51:52 +08:00
liqingqing_1229
cf356da366
time fix overflow itimer tests on 32 bit system
...
(cherry picked from commit 60314ef12d246e73f1ac04308ff9bda01d3c8ab6)
2021-11-01 20:49:49 +08:00
liqingqing_1229
270c700e66
mtrace: use a static buffer for printing, fix upstream bug BZ #25947
...
(cherry picked from commit 8b0605e3bfb2c5f594f8d16b2ff802e59df24c18)
2021-11-01 19:06:39 +08:00
liqingqing_1229
c91dfbc17b
aarch64: Make elf_machine_{load_addr,dynamic} robust [BZ #28203 ]
...
(cherry picked from commit e4fd5bf689c258409e10311fc1500998b8c9f3ad)
2021-11-01 16:58:27 +08:00
liqingqing_1229
1e9651012c
aarch64: optimize memset performance
...
(cherry picked from commit 8d6576b56f864d1a1fd03f1035fcd9a0b835e10a)
2021-11-01 10:47:22 +08:00
liqingqing_1229
b9bf92ef1c
fix some patches to fix some memory leak and double free bugs.
...
(cherry picked from commit 524981388ed240aa2c6728cadcf26d255e401e77)
2021-09-17 11:02:42 +08:00
yangyanchao
ac4412e502
add --enable-static-pie in aarch64
...
Signed-off-by: yangyanchao <yangyanchao6@huawei.com>
(cherry picked from commit 40f3e7ca8a7299a8e53d2056a1dbf76c1c7487f2)
2021-09-14 17:07:53 +08:00
liqingqing_1229
ccb58cf702
fix CVE-2021-38604
...
(cherry picked from commit 2418652d62c193b291ca04e0fa0fd149c88e4ab1)
2021-09-14 15:56:34 +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