systemtap:wcohen/coverity2023

Last commit made on 2023-07-31
Get this branch:
git clone -b wcohen/coverity2023 https://git.launchpad.net/systemtap

Branch merges

Branch information

Name:
wcohen/coverity2023
Repository:
lp:systemtap

Recent commits

4b9a53d... by William Cohen

Add coverity annotation to indicate overflow in bpfinterp.cxx is intentional

ed4b388... by William Cohen

Simplify init_backlog function to avoid coverity BAD_SHIFT errors

The init_backlog function determines the power of two sized memory
allocation that would have at least fnum_max elements. Reworked the
code to make it clearer to the coverity analyzer what it is doing.
Rather than overshooting the desired order value and then adjusting it
down by one the while loop has been revised to exit when the order is
the correct value.

f6fa452... by lijunlong <email address hidden>

PR30634: stop flushing overlarge output to stapio for sprint* backtrace

This could happen for example if MAXSTRINGLEN > STP_BUFFER_SIZE.

cf005da... by Yaakov Selkowitz <email address hidden>

Fix virthost conditional

virthost was being mistakenly disabled on aarch64 and ppc64le in Fedora builds,
where only EL7 was meant to be excluded.

e891a37... by William Cohen

Adjust runtime _access_process_vm_ to work with linux 6.5

Linux kernel commit ca5e863233e8f6acd1792fd85d6bc2729a1b2c10
eliminated the vma argument for ‘get_user_pages_remote. For linux 6.5
kernel use the get_user_page_vma_remote function in its place like the
__access_remote_vm function in mm/memory.c of the kernel.

4e49c83... by "Yichun Zhang (agentzh)" <email address hidden>

Bug: unwinding would fail due to the .zdebug_frame section

elfutils already decompresses this section but stap might incorrectly
filter it out.

Thanks Junlong Li for the original patch.

Signed-off-by: Yichun Zhang (agentzh) <email address hidden>

7fa04cd... by Frank Ch. Eigler

rhbz2220986: SPCX license tweakage

d98d6c2... by Frank Ch. Eigler

systemtap.spec: temporarily disable --with-crash, rhbz2219728

FTBFS observed on fedora rawhide

6b17715... by Frank Ch. Eigler

git_version.sh: don't use --no-show-signature either

Can use |tail -1 on old & new git.

f06461a... by Frank Ch. Eigler

git_version.h: stop using --broken

It's not available on rhel7 era git versions.