Commit Graph

8 Commits

Author SHA1 Message Date
Rafael Aquini
b5e4ba016e Revert: "Allow libautohbw allocations of size zero"
It turns out that LD_PRELOAD'ing libautohbw to override glibc's malloc
with this set of changes brings up a jemalloc circular dependency problem
with TLS init. As jemalloc depends on having the TLS initialized and malloc
is (now) required to get that area initialized, having jemalloc overriding
malloc before that initialization causes a recursion where TLS_init calls
malloc, which goes to jemalloc which requires TLS_init [1]. This recursion
causes the stack to grow unbounded up to the point it smashes into the
first shared lib mapping that happens to be mapped below the stack gap
leading the program to coredump with a SIGSEGV.

[1] https://github.com/jemalloc/jemalloc/issues/2472

Related: RHEL-14497

Signed-off-by: Rafael Aquini <aquini@redhat.com>
2024-02-29 18:02:30 -05:00
Rafael Aquini
46ae59eceb Follow-up fixes to the SPEC file
- Follow-up fix for a minor typo in the changelogs (RHEL-14497)
- Adjust the RPM license to match SPDX format   (RHELMISC-1262)

Related: RHEL-14497

Signed-off-by: Rafael Aquini <aquini@redhat.com>
2023-11-30 12:04:16 -05:00
Rafael Aquini
f65898f1be Allow libautohbw allocations of size zero
Resolves: RHEL-14497

Signed-off-by: Rafael Aquini <aquini@redhat.com>
2023-11-13 16:04:39 -05:00
Adam Samalik
00d8f3785e re-import sources as agreed with the maintainer 2023-06-29 17:08:40 +02:00
Troy Dawson
efcc2a7f7b Bring gating.yaml over from Brew dist-git
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-10 11:03:32 -08:00
James Antill
1caa3d78ba Import rpm: c8s 2023-02-27 14:21:51 -05:00
James Antill
3ec2ec075e Auto sync2gitlab import of memkind-1.10.1-1.el8.src.rpm 2022-05-26 11:21:30 -04:00
James Antill
d710f0e640 Initial c8s branch. 2022-05-26 11:21:27 -04:00