348 Commits

Author SHA1 Message Date
Yang Yanchao
56e49a9484 Use Lua to compile the installation scripts of glibc-common and glibc-locale-archive.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-06-14 19:37:40 +08:00
openeuler-ci-bot
e94dd6c969
!446 use locale-archive to prevent basic command performance regression
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-06-02 02:09:40 +00:00
liqingqing_1229
29b022e112 use locale-archive to prevent basic command performance regression
all the basic command like chgrp/chmod/chown/mkdir/touch
will first search /use/lib/locale/locale-archive. if failed,
then search the exact locale like /usr/lib/locale/zh_CN.
right now we don't have locale-archive and this will cause the
basic command's performance regression, so add it.
2022-06-01 16:30:30 +08:00
openeuler-ci-bot
f87889e658
!443 Fix deadlock when pthread_atfork handler calls pthread_atfork or dlclose
From: @superhugepan 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-05-31 13:55:14 +00:00
superhugepan
9cdd2ced15 Fix deadlock when pthread_atwork handler calls pthread_atwork or dlclose 2022-05-31 20:51:11 +08:00
openeuler-ci-bot
bbc6e3139b
!441 Linux: Avoid closing -1 on failure in __closefrom_fallback
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-05-30 03:12:43 +00:00
liqingqing_1229
f1754a4f67 Linux: Avoid closing -1 onfaiure in __closefrom_fallback 2022-05-30 10:31:09 +08:00
openeuler-ci-bot
018e7b964c
!439 realpath: Avoid overwriting preexisting error (CVE-2021-3998)
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-05-28 12:13:43 +00:00
liqingqing_1229
9674849853 realpath: Avoid overwriting preexisting error(CVE-2021-3998) 2022-05-28 18:42:49 +08:00
openeuler-ci-bot
2e7b3098b8
!435 elf: Fix use-after-free in ldconfig [BZ #26779]
From: @xujing99 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-05-23 00:44:37 +00:00
xujing
fcdff92b0c elf: Fix use-after-free in ldconfig [BZ #26779] 2022-05-20 14:42:00 +08:00
openeuler-ci-bot
8a8ffdf89f
!428 linux: Fix posix_spawn return code if clone fails (BZ#29109)
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-05-07 03:38:21 +00:00
liqingqing_1229
09f4240df1 linux: Fix posix_spawn return code if clone fails (BZ#29109) 2022-05-07 09:07:08 +08:00
openeuler-ci-bot
0fee5f6876
!421 restore remove nscd
From: @jiangheng12 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-05-06 01:50:58 +00:00
jiangheng
83d841595a restore remove nscd 2022-05-05 19:31:28 +08:00
openeuler-ci-bot
0885c8c1ea
!420 linux: Fix fchmodat with AT_SYMLINK_NOFOLLOW for 64 bit time_t (BZ#29097)
From: @liqingqing_1229 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2022-05-05 11:17:25 +00:00
liqingqing_1229
b4ec523985 linux: Fix fchmodat with AT_SYMLINK_NOFOLLOW for 64 bit time_t (BZ#29097) 2022-05-05 15:30:43 +08:00
openeuler-ci-bot
64c053c6b6
!418 posix/glob.c: update from gnulib
From: @superhugepan 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-04-29 09:52:01 +00:00
superhugepan
0a93b71ea4 posix/glob.c: update from gnulib 2022-04-29 16:27:00 +08:00
openeuler-ci-bot
05ea9a063f
!416 elf: Fix initial-exec TLS access on audit modules (BZ #28096)
From: @xujing99 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2022-04-25 00:47:13 +00:00
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