Also fixes a couple of issues:
- fix bpftrace creating BPF programs with truncated names,
- fix CVE allowing unprivileged users loading of compromised linux headers.
Resolves: RHEL-30779
Resolves: RHEL-8502
Resolves: RHEL-28765
CVE: CVE-2024-2313
Signed-off-by: Viktor Malik <vmalik@redhat.com>
In addition, fix runqlat.bt, tcpdrop.bt, and undump.bt on aarch64.
Resolves: RHEL-286
Resolves: rhbz#2170838
Signed-off-by: Viktor Malik <vmalik@redhat.com>
Resolves: rhbz#2121920
Resolves: rhbz#2118995
Resolves: rhbz#1975148
Resolves: rhbz#2088577
Resolves: rhbz#2128208
Resolves: rhbz#2073675
Resolves: rhbz#2073770
Resolves: rhbz#2075076
The new release and few added patches fix bugs in the shipped tools.
Also some RHEL-specific patches can be removed.
bpftrace 0.16.0 requires the cereal serialization library which is not
packaged into RHEL9. To overcome this problem, we download it manually,
which is ok to do as the library is only necessary during build.
Signed-off-by: Viktor Malik <vmalik@redhat.com>
Two bugfixes were backported:
- Fix for wildcard listing bug
Resolves: rhbz#2055550
- Changes to bio* tools required by new kernels
Resolves: rhbz#2039661
Signed-off-by: Viktor Malik <vmalik@redhat.com>
Update the minimal bcc version so it can't be installed with an
incompatible bcc (i.e.) build against LLVM 12. This should help with
gating.
Related: rhbz#2001127
A few fixes needed to pass gating. Some failures were also fixed in
the testsuite.
- Threadsnoop need to points to libpthread.so.0 instead of
libpthread.so
- aarch64 specific fixes: some syscall are not present on all arches.
Related: rhbz#1967567
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Since kernel commit 309dca309fc ("block: store a block_device pointer
in struct bio") struct bio points again to a block_device and not to a
gendisk directly.
Resolves: rhbz#1967567
This should have already done by an automatic build, but for some
reason it failed. LLVM has been rebuild in the mean time and the
scratch build didn't fail, so let's rebuilt it.
Resolves: rhbz#1925146