aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile
AgeCommit message (Expand)AuthorFilesLines
2 daysMerge branch 'bitmap-for-next' of https://github.com/norov/linux.gitMark Brown1-1/+1
3 daysraid6: move to lib/raid/Christoph Hellwig1-1/+0
4 dayslib/bitrev: Introduce GENERIC_BITREVERSEYury Norov1-1/+1
2026-04-16Merge tag 'mm-nonmm-stable-2026-04-15-04-20' of git://git.kernel.org/pub/scm/...Linus Torvalds1-3/+1
2026-04-15Merge tag 'mm-stable-2026-04-13-21-45' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+1
2026-04-05ubsan: turn off kmsan inside of ubsan instrumentationArnd Bergmann1-0/+1
2026-04-02xor: move to lib/raid/Christoph Hellwig1-1/+1
2026-04-01workqueue: add test_workqueue benchmark moduleBreno Leitao1-0/+1
2026-03-27lib: polynomial: move to math/ subfolderAndy Shevchenko1-2/+0
2026-02-12Merge tag 'mm-nonmm-stable-2026-02-12-10-48' of git://git.kernel.org/pub/scm/...Linus Torvalds1-3/+0
2026-01-26lib/glob: convert selftest to KUnitKir Chou1-1/+0
2026-01-26lib/tests: convert test_min_heap module to KUnitRyota Sakamoto1-1/+0
2026-01-20lib/tests: convert test_uuid module to KUnitRyota Sakamoto1-1/+0
2026-01-05rhashtable: Enable context analysisMarco Elver1-0/+2
2026-01-05stackdepot: Enable context analysisMarco Elver1-0/+1
2026-01-05compiler-context-analysis: Add test stubMarco Elver1-0/+3
2025-11-27Merge tag 'cache-for-v6.19' of https://git.kernel.org/pub/scm/linux/kernel/gi...Arnd Bergmann1-0/+2
2025-11-21lib: Support ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGIONYicong Yang1-0/+2
2025-10-02Merge tag 'bitmap-for-6.18' of https://github.com/norov/linuxLinus Torvalds1-0/+1
2025-09-22rust: add find_bit_benchmark_rust module.Burak Emir1-0/+1
2025-08-15kunit: Always descend into kunit directory during buildThomas Weißschuh1-4/+0
2025-08-03Merge tag 'mm-nonmm-stable-2025-08-03-12-47' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+2
2025-08-02kho: add test for kexec handoverMike Rapoport (Microsoft)1-0/+1
2025-07-28Merge tag 'crc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds1-31/+1
2025-07-21stackleak: Rename STACKLEAK to KSTACK_ERASEKees Cook1-1/+1
2025-07-19panic: generalize panic_print's function to show sys infoFeng Tang1-1/+1
2025-06-30lib/crc: Move files into lib/crc/Eric Biggers1-31/+1
2025-05-08kbuild: Switch from -Wvla to -Wvla-larger-than=1Kees Cook1-1/+0
2025-03-26Merge tag 'net-next-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-1/+0
2025-03-25Merge tag 'crc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds1-1/+0
2025-03-25Merge tag 'timers-vdso-2025-03-23' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2025-03-24Merge tag 'objtool-core-2025-03-22' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+5
2025-03-22tracing: Disable branch profiling in noinstr codeJosh Poimboeuf1-0/+5
2025-03-14scanf: convert self-test to KUnitTamir Duberstein1-1/+0
2025-03-13printf: convert self-test to KUnitTamir Duberstein1-1/+0
2025-02-21vdso: Add generic time data storageThomas Weißschuh1-1/+1
2025-02-11blackhole_dev: convert self-test to KUnitTamir Duberstein1-1/+1
2025-02-10lib: Move KUnit tests into tests/ subdirectoryKees Cook1-38/+1
2025-02-08lib/crc64-rocksoft: stop wrapping the crypto APIEric Biggers1-1/+0
2025-02-01revert "xarray: port tests to kunit"Andrew Morton1-1/+1
2025-01-26Merge tag 'mm-nonmm-stable-2025-01-24-23-16' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2025-01-12xarray: port tests to kunitTamir Duberstein1-1/+1
2024-12-09lib/crc32test: delete obsolete crc32test.cEric Biggers1-1/+0
2024-12-01lib/crc16_kunit: delete obsolete crc16_kunit.cEric Biggers1-1/+0
2024-12-01lib/crc_kunit.c: add KUnit test suite for CRC library functionsEric Biggers1-0/+1
2024-12-01lib/crc32: make crc32c() go directly to libEric Biggers1-1/+0
2024-11-27Merge tag 'modules-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+1
2024-11-25Merge tag 'mm-nonmm-stable-2024-11-24-02-05' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+5
2024-11-21Merge tag 'net-next-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+1
2024-11-11lib: util_macros_kunit: add kunit test for util_macros.hAlexandru Ardelean1-0/+1
2024-11-05lib/min_heap: introduce non-inline versions of min heap API functionsKuan-Wei Chiu1-0/+1
2024-11-05lib/Makefile: make union-find compilation conditional on CONFIG_CPUSETSKuan-Wei Chiu1-1/+2
2024-11-05lib/crc16_kunit.c: add KUnit tests for crc16Vinicius Peixoto1-0/+1
2024-10-28New implementation for IO memcpy and IO memsetJulian Vetter1-1/+1
2024-10-24selftests: add new kallsyms selftestsLuis Chamberlain1-0/+1
2024-10-03lib: packing: add KUnit tests adapted from selftestsJacob Keller1-0/+1
2024-09-21Merge tag 'mm-nonmm-stable-2024-09-21-07-52' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+1
2024-09-18Merge tag 'hardening-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-37/+1
2024-09-01kcov: don't instrument lib/find_bit.cAndrey Konovalov1-0/+1
2024-08-15fortify: refactor test_fortify Makefile to fix some build problemsMasahiro Yamada1-37/+1
2024-07-30Union-Find: add a new module in kernel libraryXavier1-1/+1
2024-07-16Merge tag 'linux_kselftest-kunit-6.11-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-1/+1
2024-07-15fortify: fix warnings in fortify tests with KASANMasahiro Yamada1-0/+4
2024-06-14usercopy: Convert test_user_copy to KUnit testKees Cook1-1/+1
2024-05-19selftests/fpu: allow building on other architecturesSamuel Holland1-23/+2
2024-05-19selftests/fpu: move FP code to a separate translation unitSamuel Holland1-1/+2
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+3
2024-05-18Merge tag 'kbuild-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-3/+3
2024-05-13Merge tag 'hardening-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+0
2024-05-10kbuild: use $(src) instead of $(srctree)/$(src) for source directoryMasahiro Yamada1-3/+3
2024-04-25lib: add allocation tagging support for memory allocation profilingSuren Baghdasaryan1-0/+2
2024-04-25lib: code tagging frameworkSuren Baghdasaryan1-0/+1
2024-04-19string: Merge strcat KUnit tests into string_kunit.cKees Cook1-1/+0
2024-04-19string: Merge strscpy KUnit tests into string_kunit.cKees Cook1-1/+0
2024-04-09lib: Add one-byte emulation functionPaul E. McKenney1-0/+1
2024-03-14Merge tag 'pci-v6.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+0
2024-03-12Merge tag 'hardening-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+5
2024-03-05string: Convert helpers selftest to KUnitKees Cook1-1/+1
2024-03-05string: Convert selftest to KUnitKees Cook1-1/+1
2024-02-29fortify: Add KUnit tests for runtime overflowsKees Cook1-0/+2
2024-02-12PCI: Move pci_iomap.c to drivers/pci/Philipp Stanner1-1/+0
2024-02-06ubsan: Silence W=1 warnings in self-testKees Cook1-0/+1
2024-01-22livepatch: Move tests from lib/livepatch to selftests/livepatchMarcos Paulo de Souza1-2/+0
2023-11-04Merge tag 'cxl-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds1-0/+2
2023-11-03Merge tag 'bitmap-for-6.7' of https://github.com/norov/linuxLinus Torvalds1-1/+1
2023-11-01Merge tag 'probes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-1/+3
2023-10-30Merge tag 'bcachefs-2023-10-30' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-0/+2
2023-10-27acpi: Move common tables helper functions to common libDave Jiang1-0/+2
2023-10-19bcache: move closures to lib/Kent Overstreet1-0/+2
2023-10-18lib: objpool test module addedwuqiang.matt1-0/+2
2023-10-18lib: objpool added: ring-array based lockless MPMCwuqiang.matt1-1/+1
2023-10-16lib: add light-weight queuing mechanism.NeilBrown1-1/+1
2023-10-14lib/bitmap: split-out string-related operations to a separate filesYury Norov1-1/+1
2023-09-09iov_iter: Kunit tests for copying to/from an iteratorDavid Howells1-0/+1
2023-08-29Merge tag 'v6.6-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-1/+0
2023-08-28Merge tag 'hardening-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2023-08-15list: Introduce CONFIG_LIST_HARDENEDMarco Elver1-1/+1
2023-08-11crypto: lib - Move mpi into lib/cryptoHerbert Xu1-1/+0
2023-07-18lib/bitmap: workaround const_eval test build failureYury Norov1-0/+6
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-06-27Merge tag 'hardening-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2023-06-09mm: page_alloc: collect mem statistic into show_mem.cKefeng Wang1-1/+1
2023-05-25x86/csum: Improve performance of `csum_partial`Noah Goldstein1-0/+1
2023-05-16string: Add Kunit tests for strcat() familyKees Cook1-0/+1
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+3
2023-03-28atomics: Provide rcuref - scalable reference countingThomas Gleixner1-1/+1
2023-03-19dyndbg: cleanup dynamic usage in ib_srp.cJason Baron1-0/+3
2023-02-27kunit: Fix 'hooks.o' build by recursing into kunitDavid Gow1-8/+4
2023-02-23Merge tag 'mm-nonmm-stable-2023-02-20-15-29' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+2
2023-02-23Merge tag 'linux-kselftest-kunit-6.3-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-0/+9
2023-02-21Merge tag 'hardening-v6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+0
2023-02-08arm64: Support Clang UBSAN trap codes for better reportingKees Cook1-2/+0
2023-02-08lib/hashtable_test.c: add test for the hashtable structureRae Moar1-0/+1
2023-02-08kunit: Add "hooks" to call into KUnit when it's built as a moduleDavid Gow1-0/+8
2023-02-02lib: add Dhrystone benchmark testGeert Uytterhoeven1-0/+2
2023-01-17genirq/affinity: Move group_cpus_evenly() into lib/Ming Lei1-0/+2
2022-12-14Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+5
2022-12-02lib: fortify_kunit: build without structleak pluginAnders Roxell1-0/+1
2022-11-22kunit/fortify: Validate __alloc_size attribute resultsKees Cook1-0/+1
2022-11-08maple_tree: reorganize testing to restore module testingLiam Howlett1-0/+1
2022-11-02overflow: Introduce overflows_type() and castable_to_type()Kees Cook1-0/+1
2022-11-01siphash: Convert selftest to KUnitKees Cook1-1/+1
2022-11-01string: Convert strscpy() self-test to KUnitKees Cook1-1/+1
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-6/+4
2022-10-10Merge tag 'v6.1-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-1/+0
2022-10-07Merge tag 'driver-core-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+1
2022-10-03Merge tag 'hardening-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+2
2022-10-03kmsan: disable instrumentation of unsupported common kernel codeAlexander Potapenko1-0/+3
2022-10-03kasan: move tests to mm/kasan/Andrey Konovalov1-5/+0
2022-09-26Maple Tree: add new data structureLiam R. Howlett1-1/+1
2022-09-12Merge 6.0-rc5 into driver-core-nextGreg Kroah-Hartman1-1/+1
2022-09-07fortify: Add KUnit test for FORTIFY_SOURCE internalsKees Cook1-0/+1
2022-09-07dyndbg: add test_dynamic_debug moduleJim Cromie1-0/+1
2022-08-31testing/selftests: Add tests for the is_signed_type() macroBart Van Assche1-0/+1
2022-08-24lib/test_cpumask: follow KUnit style guidelinesSander Vanheule1-1/+1
2022-08-19crypto: lib - create utils module and move __crypto_memneq into itEric Biggers1-1/+0
2022-08-15lib/cpumask: add inline cpumask_next_wrap() for UPSander Vanheule1-1/+2
2022-08-07Merge tag 'bitmap-6.0-rc1' of https://github.com/norov/linuxLinus Torvalds1-1/+1
2022-08-07Merge tag 'mm-nonmm-stable-2022-08-06-2' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-2/+2
2022-08-05Merge tag 'asm-generic-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+2
2022-08-04Merge tag 'for-5.20/block-2022-08-04' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2022-08-02lib/base64: RFC4648-compliant base64 encodingHannes Reinecke1-1/+1
2022-08-01lib/nodemask: inline next_node_in() and node_random()Yury Norov1-1/+1
2022-07-17lib/test: introduce cpumask KUnit test suiteSander Vanheule1-0/+1
2022-07-17cpumask: Fix invalid uniprocessor mask assumptionSander Vanheule1-2/+1
2022-07-15crypto: lib - move lib/sha1.c into lib/crypto/Eric Biggers1-1/+1
2022-06-15lib: Add register read/write tracing supportPrasad Sodagudi1-0/+2
2022-06-12crypto: memneq - move into lib/Jason A. Donenfeld1-0/+1
2022-06-10crypto: memneq - move into lib/Jason A. Donenfeld1-0/+1
2022-05-29Merge tag 'trace-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-1/+9
2022-05-22lib: add generic polynomial calculationMichael Walle1-0/+2
2022-04-26bootconfig: Support embedding a bootconfig file in kernelMasami Hiramatsu1-0/+8
2022-04-26bootconfig: Make the bootconfig.o as a normal object fileMasami Hiramatsu1-1/+1
2022-03-26Merge tag 'memcpy-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+2
2022-03-26Merge tag 'for-5.18/64bit-pi-2022-03-25' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2022-03-24Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+2
2022-03-21lib: stackinit: Convert to KUnitKees Cook1-2/+2
2022-03-17fprobe: Add a selftest for fprobeMasami Hiramatsu1-0/+2
2022-03-07crypto: add rocksoft 64b crc guard tag frameworkKeith Busch1-0/+1
2022-02-27lib: overflow: Convert to KunitKees Cook1-1/+1
2022-02-13fortify: Detect struct member overflows in memcpy() at compile-timeKees Cook1-1/+2
2022-01-20Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+2
2022-01-20test_hash.c: refactor into kunitIsabella Basso1-1/+1
2022-01-20lib/Kconfig.debug: properly split hash test kernel entriesIsabella Basso1-1/+2
2021-12-06lib: add tests for reference trackerEric Dumazet1-1/+1
2021-12-06lib: add reference counting tracking infrastructureEric Dumazet1-0/+2
2021-11-01Merge tag 'trace-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-0/+1
2021-11-01Merge tag 'overflow-v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+34
2021-10-26test_kprobes: Move it from kernel/ to lib/Tiezhu Yang1-0/+1
2021-10-18lib: Introduce CONFIG_MEMCPY_KUNIT_TESTKees Cook1-0/+1
2021-10-18fortify: Add compile-time FORTIFY_SOURCE testsKees Cook1-0/+33
2021-10-06bitfield: build kunit tests without structleak pluginArnd Bergmann1-1/+1
2021-07-09Merge tag 'for-linus-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+2
2021-06-29Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+1
2021-06-29Merge tag 'printk-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2021-06-29mm/slub, kunit: add a KUnit test for SLUB debugging functionalityOliver Glitta1-0/+1
2021-06-17lib: add iomem emulation (logic_iomem)Johannes Berg1-0/+2
2021-05-22lib: kunit: suppress a compilation warning of frame sizeZhen Lei1-0/+1
2021-05-19lib: test_scanf: Add tests for sscanf number conversionRichard Fitzgerald1-0/+1
2021-04-14lib: Add ASN.1 encoderJames Bottomley1-0/+1
2021-02-24kasan: rename CONFIG_TEST_KASAN_MODULEAndrey Konovalov1-1/+1
2021-02-21Merge tag 'locking-core-2021-02-17' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-3/+0
2021-01-14bpf: Move stack_map_get_build_id into libJiri Olsa1-1/+2
2021-01-04random32: Re-enable KCSAN instrumentationMarco Elver1-3/+0
2020-12-18Merge tag 'riscv-for-linus-5.11-mw0' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+2
2020-12-15lib/cmdline_kunit: add a new test suite for cmdline APIAndy Shevchenko1-0/+1
2020-12-11selftest/fpu: avoid clang warningArnd Bergmann1-1/+2
2020-12-11Add and use a generic version of devmem_is_allowed()Palmer Dabbelt1-0/+2
2020-12-11lib: Add a generic version of devmem_is_allowed()Palmer Dabbelt1-0/+2
2020-10-18Merge tag 'linux-kselftest-kunit-5.10-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-1/+1
2020-10-16lib, include/linux: add usercopy failure capabilityAlbert van der Linde1-0/+1
2020-10-13mm/page_alloc.c: fix freeing non-compound pagesMatthew Wilcox (Oracle)1-0/+1
2020-10-13KASAN: port KASAN Tests to KUnitPatricia Alfonso1-1/+3
2020-10-13lib: kunit: add bitfield test conversion to KUnitVitor Massaru Iha1-1/+1
2020-08-19lib/string.c: Use freestanding environmentArvind Sankar1-1/+6
2020-08-12lib/test_bits.c: add tests of GENMASKRikard Falkeborn1-0/+1
2020-08-09Merge tag 'kbuild-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-6/+3
2020-08-10kbuild: introduce ccflags-remove-y and asflags-remove-yMasahiro Yamada1-4/+1
2020-08-07mm: move lib/ioremap.c to mm/Mike Rapoport1-1/+0
2020-08-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-0/+3