141 Commits

Author SHA1 Message Date
liqingqing_1229
0d03b0da4a Force DT_RPATH for --enable-hardcoded-path-in-tests
(cherry picked from commit 24f047da6b0f1bfad09ee1171472fca38011a48d)
2024-05-13 10:54:12 +08:00
liqingqing_1229
1015b7d4cd sync from glibc 2.38 upstream
(cherry picked from commit 8edff846dce230900fb3c22e90566985af7766b3)
2024-05-10 20:13:45 +08:00
chengyechun
34111b90f8 fix CVE-2024-33599 CVE-2024-33600 CVE-2024-33601 CVE-2024-33602
(cherry picked from commit 3a486a11383bc4db36e65ee3aa217494acc2355a)
2024-04-30 10:10:51 +08:00
Yang Yanchao
0ba67e91b7 iconv: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence (CVE-2024-2961)
Signed-off-by: Chen Jun <chenjun102@huawei.com>
2024-04-23 11:33:50 +08:00
zhangnaichuan
f25c289ee2 add Wl,-z,noseparate-code for so 2024-04-18 19:36:24 +08:00
yangpan
be8d066e3f disable sysboost 2024-04-09 20:59:01 +08:00
ticat_fp
fd8447e5f4 LoongArch: update from glibc upstream and reduce kernel version requirements
Signed-off-by: ticat_fp <fanpeng@loongson.cn>
2024-03-06 14:12:05 +08:00
Lu Jingxiao
7596e6256b malloc: Use __get_nprocs on arena_get2 (BZ 30945)
backport from upstream 506e47da1d

Signed-off-by: Lu Jingxiao <lujingxiao@huawei.com>
2024-02-26 18:24:51 +08:00
liqingqing_1229
5590df9b26 arm: Remove wrong ldr from _dl_start_user (BZ 31339) 2024-02-06 19:16:15 +08:00
liqingqing_1229
ddb1b4b4a4 backport patch from glibc upstream 2.38 branch.
here is the bugfix:
- x86_64: Optimize ffsll function code size
- S390: Fix building with disable mutli arch (BZ 31196)
- sparc: Fix broken memset for sparc32 (BZ 31068)
- sparc: Remove unwind information from signal return
- sparc: Fix sparc64 memmove length comparison (BZ 31266)
- sparc: Remove unwind information from signal return stubs (BZ 31244)
2024-02-05 14:46:39 +08:00
EulerOSWander
d29d31689b [Backport]Fix CVE-2023-6779 CVE-2023-6780
Fix Heap buffer overflow and integer overflow issue.

Signed-off-by: EulerOSWander <314264452@qq.com>
2024-02-01 19:38:38 +08:00
EulerOSWander
2e599fc62b syslog:Fix heap buffer overflow in _vsyslog_internal
Fix CVE-2023-6246

Signed-off-by: EulerOSWander <314264452@qq.com>
2024-01-31 17:48:11 +08:00
liqingqing_1229
714494800c malloc: Improve MAPE_HUGETLB with glibc.malloc.hugetlb=2 2024-01-13 11:27:43 +08:00
liqingqing_1229
bfe4572075 backport patches from glibc upstream 2.38 branch 2024-01-08 14:47:57 +08:00
shixuantong
22385bcead elf: Handle non-directory name in search path (BZ 31035) 2023-12-14 15:15:18 +08:00
liqingqing_1229
b8b0a6475a elf: Fix wrong break removal from 8ee878592c 2023-12-08 15:13:29 +08:00
liqingqing_1229
baf2015a65 sysdeps: sem_open: Clear O_CREAT when semaphore file is expected to exist [BZ #30789] 2023-12-07 14:47:03 +08:00
liqingqing_1229
1290119159 weekly backport patches from upstream 2023-10-24 17:01:10 +08:00
liqingqing_1229
2c5a06e909 backport patches from glibc upstream 2.38 branch 2023-10-07 11:28:41 +08:00
liqingqing_1229
f541c23d45 backport patches from glibc upstream 2.38 branch and revert some customization modification 2023-09-16 16:08:15 +08:00
liqingqing_1229
34bca268b0 fix CVE-2023-4527 2023-09-16 10:26:57 +08:00
liqingqing_1229
7c4167892e backport patches from glibc upstream 2.38 branch 2023-09-15 15:35:03 +08:00
liqingqing_1229
969c290221 backport patches from glibc upstream 2.38 branch 2023-09-11 11:16:07 +08:00
liqingqing_1229
107ed1e8d8 stdlib: Improve tst-realpath compatibility with source fortification 2023-09-11 09:04:51 +08:00
lw
6ce9ce8271 add reloaction package 2023-08-22 10:38:50 +08:00
chenhaixiang
ce221e90ce skipping test case building to fix glibc build error on x86
Signed-off-by:chenhaixiang3@huawei.com
2023-08-16 21:42:45 -04:00
zhanghao
12e71eb1de nscd: sync some patches 2023-08-07 20:04:35 +08:00
chenhaixiang
f0fae38203 use the released glibc 2.38 version 2023-08-02 16:21:21 +08:00
chenhaixiang
09233ed4c7 Upgrade to glibc-2.38 2023-07-25 14:29:27 +08:00
jiangyingxin
275bb32ef5 update glibc.spec 2023-07-14 11:34:38 +08:00
jiangyingxin
03209068a6 update glibc.spec 2023-07-14 09:52:06 +08:00
jiangyingxin
73dc7742d8 Merge branch 'master' of gitee.com:src-openeuler/glibc into master
Signed-off-by: jiangyingxin <jiangyingxin1@huawei.com>
2023-07-14 01:40:04 +00:00
lijianglin
0ca2e5604f add GB18030-2022 charmap and test the entire GB18030 charmap 2023-07-11 22:30:42 +08:00
jiangyingxin
ac20f0cf8e update glibc.spec 2023-07-11 17:31:05 +08:00
li-miaomiao_zhr
eec5557670 processing of annotated patch files in spec files 2023-06-05 09:35:43 +08:00
lijianglin
e7ee63f9a8 add GB18030-2022 charmap 2023-05-27 08:08:40 +08:00
laokz
ee4fac7086 backport RISC-V patches
"stdlib strfrom Add copysign to fix NAN issue on riscv" fix
incomformity of strform with C99. (from v2.37)

"Assume only FLAG_ELF_LIBC6 support" deprecated all other
FLAG_ELFs which actually deprecated long ago for all arches.
(from v2.37)

"Restore ldconfig libc6 implicit soname logic" fix mistaken
of the above patch. (from v2.38)
2023-05-08 10:37:42 +08:00
liqingqing_1229
ec518045c7 gmon: Fix allocated buffer overflow (bug 29444) 2023-02-24 10:19:30 +08:00
Yang Yanchao
9ff1b7c97c add pthread_cond_clockwait@GLIBC_2_28
Since the pthread_cond_clockwait@GLIBC_2_28 is introduced in earlier
versions, this symbol is required to keep the previous items compatible.

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2023-02-01 11:24:47 +08:00
liqingqing_1229
ffd6e0f422 Makerules: fix MAKEFLAGS assignment for upcoming make-4.4 2023-01-12 17:27:18 +08:00
buque
deda2869b7 Subject: [PATCH] syslog: Remove extra whitespace between timestamp and message
(BZ#29544)

The rfc3164 clear states that a single space character must follow
the timestamp field.

Checked on x86_64-linux-gnu.
2022-09-24 15:26:13 +08:00
buque
bb63f941fd gconv: Use 64-bit interfaces in gconv_parseconfdir (bug 29583)
It's possible that inode numbers are outside the 32-bit range.
    The existing code only handles the in-libc case correctly, and
    still uses the legacy interfaces when building iconv.
2022-09-23 18:46:31 +08:00
SuperHugePan
80e03554ca linux: Do not skip d_ino==0 entries in readdir, readdir64(bug 12165) 2022-09-20 10:29:38 +08:00
liqingqing_1229
af2f5586c3 add requires between glibc-info and glibc 2022-09-08 14:28:26 +08:00
liqingqing_1229
95e0f7d98c syslog:Fix large messages (BZ#29536/CVE-2022-39046) 2022-09-01 08:54:31 +08:00
liqingqing
c6d65682ba linux: Fix enum fsconfig_command detection in <sys/mount.h> 2022-08-16 20:24:11 +08:00
liqingqing
6ae77472bf linux: Fix sys/mount.h usage with kernel headers 2022-08-15 21:50:01 +08:00
liqingqing_1229
14beed93c9 refactoring testsuite whitelist 2022-08-15 14:57:16 +08:00
liqingqing_1229
eb2c7a9ee8 aarch64: strcmp delete align for better unixbench performance 2022-08-10 16:11:17 +08:00
liqingqing_1229
d678c72e75 upgrade to glibc 2.36 2022-08-02 15:14:41 +08:00