228 Commits

Author SHA1 Message Date
xujing
c14cb1be99 elf: Fix initial-exec TLS access on audit modules (BZ #28096) 2022-04-24 19:23:33 +08:00
openeuler-ci-bot
a4572036cf
!414 nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029)
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-04-22 02:42:58 +00:00
liqingqing_1229
752db166d0 nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029)
upstream link is https://sourceware.org/bugzilla/show_bug.cgi?id=29029
2022-04-21 09:13:33 +08:00
openeuler-ci-bot
7bceaad3d8
!412 sync glibc upstream to fix bug 28828/28949/28993
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-04-11 07:16:00 +00:00
liqingqing_1229
21334ee1f9 sync glibc upstream to fix bug 28828/28949/28993
here the details:
libio: Ensure output buffer for wchars bug 28828
libio: libio Flush onlu _IO_str_overflow must not return EOF bug 28949
linux: Fix _closefrom_fallback iterates until max int bug 28993
2022-04-11 14:19:05 +08:00
openeuler-ci-bot
30abaab648
!410 localedef: Handle symbolic links when generating locale-archive
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-04-08 06:34:55 +00:00
liqingqing_1229
a99a5d915f localedef: Handle symbolic links when generating locale-archive 2022-04-08 09:13:59 +08:00
openeuler-ci-bot
392ce5abce
!409 [sync] PR-408: use mlock to determine hugepage RLIMIT_MEMLOCK soft resource limit is valid
From: @openeuler-sync-bot 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-03-31 07:56:14 +00:00
Lv Ying
3579b038ab use mlock to determine hugepage RLIMIT_MEMLOCK soft resource limit is valid
Signed-off-by: Lv Ying <lvying6@huawei.com>
(cherry picked from commit e2b1c096a33d8130e739a6800ebae38db80a6346)
2022-03-31 09:37:58 +08:00
openeuler-ci-bot
cd7af16a04
!403 mv libc.info.gz* to the package glibc-help
From: @yang_yanchao 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-03-30 01:09:14 +00:00
Yang Yanchao
74dd0680dc mv libc.info.gz* to the package glibc-help
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-03-29 19:24:08 +08:00
openeuler-ci-bot
72c943f199
!396 malloc: Improve Huge Page support
From: @yang_yanchao 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-03-18 02:04:52 +00:00
Yang Yanchao
780caed580 malloc: Improve Huge Page support
backport the following seven patches
malloc: Add madvise support for Transparent Huge Pages
malloc: Add THP/madvise support for sbrk
malloc: Move mmap logic to its own function
malloc: Add Huge Page support for mmap
malloc: Add Huge Page support to arenas
malloc: Move MORECORE fallback mmap to sysmalloc_mmap_fallback
malloc: Enable huge page support on main arena

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-03-17 10:37:59 +08:00
openeuler-ci-bot
c27e7c7fbc
!392 malloc: use __get_nprocs replace __get_nprocs_sched.
From: @yang_yanchao 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-03-12 08:44:27 +00:00
Yang Yanchao
9727938951 malloc: use __get_nprocs replace __get_nprocs_sched.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-03-12 15:57:30 +08:00
openeuler-ci-bot
660b339972
!391 elf: dynamic linker load lib use hugepage
From: @gameoverboss 
Reviewed-by: @yang_yanchao 
Signed-off-by: @lvying6, @yang_yanchao
2022-03-08 03:52:25 +00:00
Lv Ying
5793040e7a elf: dynamic linker load lib use hugepage
This patch provides environment variables HUGEPAGE_PROBE and LD_HUGEPAGE_LIB
to enable load shared object use hugepage.

Signed-off-by: Lv Ying <lvying6@huawei.com>
Reviewed-by: zhoukang <gameoverboss@163.com>
2022-03-07 03:48:03 +00:00
openeuler-ci-bot
a2a495635a
!389 glibc: disable rseq feature by default with tunable
From: @chinyu0704 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-03-04 07:17:55 +00:00
qinyu
2c4eaeba9b glibc: disable rseq feature by default with tunable
disable rseq feature by default with tunable

Signed-off-by: qinyu <qinyu16@huawei.com>
2022-03-04 10:59:43 +08:00
openeuler-ci-bot
088dac14ff
!387 glibc: Add PTRACE_GET_RSEQ_CONFIGURATION
From: @yeyunfeng-dev 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-03-03 11:56:19 +00:00
Yunfeng Ye
3247300521 glibc: Add PTRACE_GET_RSEQ_CONFIGURATION
Linux 5.13 adds a PTRACE_GET_RSEQ_CONFIGURATION constant, with an
associated ptrace_rseq_configuration structure.

Add this constant to the various sys/ptrace.h headers in glibc, with
the structure in bits/ptrace-shared.h (named struct
__ptrace_rseq_configuration in glibc, as with other such structures).
2022-03-03 06:19:37 -05:00
openeuler-ci-bot
35a62e41b1
!385 add chrpath to BuildRequires to make 'remove shared library's RPATH/RUNPATH' to take effect
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-03-03 03:09:46 +00:00
liqingqing_1229
e3cb56ed65 add chrpath to BuildRequires to make 'remove shared library's RPATH/RUNPATH' to take effect 2022-03-03 10:26:53 +08:00
openeuler-ci-bot
b2ae7a5ada
!382 x86: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-03-02 08:16:36 +00:00
liqingqing_1229
c06b87ef7b x86: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow. [BZ #28896] 2022-03-02 15:27:48 +08:00
openeuler-ci-bot
5513a7b0a2
!378 合并testsuite_whitelist.aarch64和testsuite_whitelist.x86到testsuite_whitelist中
From: @yang_yanchao 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-03-02 06:18:09 +00:00
Yang Yanchao
4dddc72189 glibc:Merge testsuite_whitelist.aarch64 and testsuite_whitelist.x86_64 to testsuite_whitelist.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-03-02 11:36:35 +08:00
openeuler-ci-bot
08fc6d816a
!379 remove shared library's RPATH/RUNPATH for security
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-03-01 13:35:06 +00:00
liqingqing_1229
6293129cfe remove shared library's RPATH/RUNPATH for security 2022-03-01 17:26:44 +08:00
openeuler-ci-bot
a60cb318c8
!376 [sync] PR-365: glibc: add supposrt for rseq
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-03-01 07:24:35 +00:00
qinyu
9042da8301 glibc: add supposrt for rseq
add rseq support

Signed-off-by: qinyu <qinyu16@huawei.com>
(cherry picked from commit db74864101252bb75250782ca32e47d1b1545c1f)
2022-03-01 14:37:01 +08:00
openeuler-ci-bot
eae9e26939
!373 只有在CI环境下会因为测试用例失败打断构建
From: @yang_yanchao 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-02-28 09:22:09 +00:00
Yang Yanchao
6b21936199 Only in the CI environment, the build is interrupted due to test case failure.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-02-24 11:21:03 +08:00
openeuler-ci-bot
6f64f99a43
!370 strcmp:删除loop_aligned的对齐
From: @yang_yanchao 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-02-23 08:37:27 +00:00
Yang Yanchao
03b9b27526 strcmp: delete align for loop_aligned
In Kunpeng-920, the performance of strcmp deteriorates only
when the 16 to 23 characters are different.Or the string is
only 16-23 characters.That shows 2 misses per iteration which
means this is a branch predictor issue indeed.
In the preceding scenario, strcmp performance is 300% worse than expected.

Fortunately, this problem can be solved by modifying the alignment of the functions.

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-02-23 15:35:13 +08:00
openeuler-ci-bot
dbab1c7bd1
!369 glibc测试工程相关优化
From: @yang_yanchao 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-02-23 07:27:40 +00:00
Yang Yanchao
14ed19693b - The release of glibc.src.rpm in OpenEuler is not based on the architecture.
Developers only have glibc.src.rpm in the ARM, so add all testsuite_whitelist in glibc.src.rpm.

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-02-23 14:24:59 +08:00
openeuler-ci-bot
2f0f9cc0a1
!366 tzselect: use region to instead of country for extract timezone selection
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-02-22 08:13:19 +00:00
liqingqing_1229
31a8154528 tzselect: use region to instead of country for extract timezone selection 2022-02-22 15:20:56 +08:00
openeuler-ci-bot
cf82d52a0a
!361 [sync] PR-360: remove nscd
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-02-17 01:26:44 +00:00
shirely16
223e18c1a6 remove nscd
(cherry picked from commit b3377d2da5dc73eca67e2ac15399fc51fff19699)
2022-02-11 15:12:54 +08:00
openeuler-ci-bot
9b6d8968ea
!357 linux: fix accuracy of get_nprocs and get_nprocs_conf [BZ #28865]
Merge pull request !357 from liqingqing_1229/2203lts
2022-02-09 08:25:17 +00:00
liqingqing_1229
0e1ffabe6f linux: fix accurarcy of get_nprocs and get_nprocs_conf [BZ #28865] 2022-02-09 12:15:48 +08:00
openeuler-ci-bot
089a28fab1
!354 屏蔽不稳定用例 rt/tst-cpuclock2
Merge pull request !354 from Yangyanchao/openEuler-22.03-LTS
2022-02-08 10:55:46 +00:00
Yang Yanchao
1b7bed85e9 disable rt/tst-cpuclock2 which often fails in CI.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-02-08 15:42:22 +08:00
openeuler-ci-bot
1729fb4a41
!352 backport patches from upstream 2.34 branch
Merge pull request !352 from liqingqing_1229/2203lts
2022-02-08 07:31:42 +00:00
liqingqing_1229
5bb3b84187 backport patches from upstream 2.34 branch 2022-02-08 12:31:30 +08:00
openeuler-ci-bot
def4b16e2e
!350 fix misc/tst-glibcsyscalls
Merge pull request !350 from liqingqing_1229/2203lts
2022-02-07 15:19:20 +00:00
liqingqing_1229
d1531ed325 fix misc/tst-glibcsyscalls failed due to kernel reserve some syscalls 2022-02-07 21:21:34 +08:00
openeuler-ci-bot
8a5a92a81b
!349 [sync] PR-348: linux: __get_nprocs_sched: do not feed CPU_COUNT_S with garbage [BZ #28850]
Merge pull request !349 from openeuler-sync-bot/sync-pr348-2203-to-openEuler-22.03-LTS
2022-02-07 11:29:38 +00:00