Revisions of klp-build
Ana Guerrero (anag+factory)
accepted
request 1206105
from
Michael Vetter (jubalh)
(revision 10)
- Update to version 0~20241007.06dcc8f: * README: Fix typos about the configuration * man: Add "--ignore-errors" definition * extractor: Do not use compile_commands.json for SLE kernels * extract: Add --ignore-errors argument * tests: Fix remove/apply patches log writer handle * setup: Call validate_config before checking for files * setup: Check the number of affected codestreams only after filter_cs * tests: Convert ccp to pytest, and rename the files * tests: Check classify_codestreams * test_ksrc: Start using pytest instead of unittest * setup: Download the missing codestreams before checking for files/mods * setup: Move file-funcs, repo and info to the check phase * setup: Mark some functions as static * ibs: Create a symlink from data/ARCH/lib to data/ARCH/usr/lib * setup: Show info about the affected architectures * ksrc: Improve method of detecting patched kernels * README: Add information about configuration file * man: Add information about the default files/dirs * ibs.py: Show information when prepare-tests is called * ccp: Add one more symbol to the blacklist * config: Fix missing_codestream check * Add support to extract code from current running kernel * config: Introduce self.host to in order to create lp on the running system * klp-build: Remove the kdir argument * templ: Fix {mod}_funcs struct nameing for modules that start with numbers * setup: 15.6-RT uses the SLERT repo
Ana Guerrero (anag+factory)
accepted
request 1198749
from
Michael Vetter (jubalh)
(revision 9)
- Update to version 0~20240902.c95cc9e: * patches: Update klp-convert patches * config: Decompress lzma (xz) files * setup: Remove the -default from uname * Remove test.sh: clearly tracking it here was a mistake... * test.sh: Add test for CVE-2024-35817 * Add test for CVE-2024-36921 * ibs: Use osc-tiny API to push files to IBS * test.sh: Update expected output LoC * templ: Fix problem with ## macro concatenation macro in C * Revert "templ: Skip Mako usage for C files" * patches: Remove compiletime_error kernel patch * templ: Skip Mako usage for C files * test.sh: Add CVE-2024-0775 * ksrc: Don't ignore patches without ".patch" suffix * test.sh: Adjust LoC of bpf_link_free
Dominique Leuenberger (dimstar_suse)
accepted
request 1194034
from
Michael Vetter (jubalh)
(revision 8)
- Update to version 0~20240814.5dae2ec: * setup: More information being logged * ibs: Optimize extraction of vmlinux and modules * config.py: Show error code when quilt fails
Dominique Leuenberger (dimstar_suse)
accepted
request 1193818
from
Michael Vetter (jubalh)
(revision 7)
- Update to version 0~20240812.ad9f0e0: * setup: Ignore cs_is_affected if CVE is empty * Rename and fix user_path config names for kgraft-patches * ibs: Move kgraft_path to where it's being used * ibs: Do not remove extracted vmlinux and modules * config: Support 'kgraft-patches' in config file * config: Support 'patches-tests' in config file * klp-ccp: Remove KLP_CCP_PATH env variable * config: Support 'ccp-pol-scripts' in config file * config: Support 'kernel-source' in config file * config: Support per-user configuration file * config.py: Check for supported attribute on modinfo by using startswith * setup: Skip codestreams missing backports (not affected) * ksrc: Add 15.6 RT to get the backports * config: Skip symbols with empty names * ibs: Fix typo when validating the livepatch * ksrc: Check if all branch patches are present to mark as not affected * ksrc: Simplify getting patched codestreams * test.sh: Add new test for CVE-2024-40909 * Add zstd support * Use pyelftools to parse .modinfo * config: Add support to read gzipped files, like vmlinux * Replace all invocations of nm binary with pyelftools * Use PyElfTools in order to read object symbols * test.sh: Adjust LoC count with recent clang-extract changes
Dominique Leuenberger (dimstar_suse)
accepted
request 1190859
from
Michael Vetter (jubalh)
(revision 6)
- Update to version 0~20240731.edfe0bf: * Add new test for CVE-2021-47402 * test.sh: Simplify call to setup_extract_count * klpbuild: Copy the .config from the right place * templ: Add spaces between KLP_RELOC_SYMBOL macro arguments
Dominique Leuenberger (dimstar_suse)
accepted
request 1190166
from
Michael Vetter (jubalh)
(revision 5)
- Update to version 0~20240725.cc0513f: * ksrc.py: Check CVE passed in get-patches * extractor: lock the same src directory on which architecture the script is running on * Add support for tests files in directories * extractor: Add filelocking support for srcdir
Dominique Leuenberger (dimstar_suse)
accepted
request 1189411
from
Michael Vetter (jubalh)
(revision 4)
- Update to version 0~20240722.3c379d8: * tests: Fixed one issue on clang-extract * tests: Add test.sh to check for known working extraction for CE * templ: Fix case of IBT + upstream kernel module with dashes on its name * run-kgr-test.sh: Check in more directories for VMs * templ.py: Return empty string when IBT and CE * extractor: Enable upstream extraction to apply patches * templ.py: Replace dash by underscore when using fname on functions * ce: Use -DCE_LATE_EXTERNALIZE by default * ibs.py: Stop downloading kernel-default-extra * ccp: Drop workarounds for different codestreams * config: Fix get_sdir to always point to x86_64 * templ: Add IBT support for ccp * extractor: Propagate needs_ibt to extractor backends * ccp: Check KLP_CONVERT on fun_exts * Change get_cs_boot_file to target odir instead of arch/boot dir * templ: Add 15.6 codestream to fixes header * extractor: Use IBT for 15.6 onwards * setup: Remove s390x check since all codestreams are now supported * setup: Show kernel version when file is not found * extractor: Do not catch a specific error when running ccp/ce * ccp: Remove more options that ccp doesn't understand * extractor: Adapt the regex for SLE 15-SP6 cases * extractor: Show more info when we can't get the command line
Ana Guerrero (anag+factory)
accepted
request 1184788
from
Michael Vetter (jubalh)
(revision 3)
- Update to version 0~20240701.f72b4a1: * config: Show kernel version when configuration entries diverge * Add man page for klp-build * ksrc: Remove MIME-Version string from upstream commit subject - Install man page
Ana Guerrero (anag+factory)
accepted
request 1183719
from
Michael Vetter (jubalh)
(revision 2)
- Update to version 0~20240627.48ed241: * ksrc.py: Add --tags to git fetch * Adding support to SLE15-SP6 * config.py: Dump kernel version and arch when a module is not supported * templ.py: Fix Kbuild file generation
Displaying all 10 revisions