aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2024-03-12Merge tag 'printk-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-3/+13
2024-03-12Merge tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds4-2/+124
2024-03-12Merge tag 'hardening-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds14-468/+1265
2024-03-12Merge tag 's390-6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/...Linus Torvalds1-49/+13
2024-03-11Merge tag 'locking-core-2024-03-11' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+2
2024-03-11Merge tag 'vfs-6.9.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds3-29/+168
2024-03-11Merge tag 'linux_kselftest-kunit-6.9-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds5-8/+12
2024-03-11Merge tag 'linux_kselftest-next-6.9-rc1' of git://git.kernel.org/pub/scm/linu...Linus Torvalds13-1113/+0
2024-03-11lib/bitmap: Introduce bitmap_scatter() and bitmap_gather() helpersAndy Shevchenko1-0/+42
2024-03-08net: dqs: add NIC stall detector based on BQLJakub Kicinski1-0/+74
2024-03-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-23/+0
2024-03-06iov_iter: get rid of 'copy_mc' flagLinus Torvalds1-23/+0
2024-03-05string: Convert helpers selftest to KUnitKees Cook3-124/+100
2024-03-05string: Convert selftest to KUnitKees Cook4-260/+204
2024-02-29lib/string_helpers: Add flags param to string_get_size()Andy Shevchenko2-22/+70
2024-02-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-131/+141
2024-02-29lib: stackinit: Adjust target string to 8 bytes for m68kKees Cook1-3/+16
2024-02-29fortify: Improve buffer overflow reportingKees Cook2-6/+7
2024-02-29fortify: Add KUnit tests for runtime overflowsKees Cook2-2/+607
2024-02-29fortify: Provide KUnit counters for failure testingKees Cook2-0/+43
2024-02-29fortify: Allow KUnit test to build without FORTIFYKees Cook2-1/+15
2024-02-29fortify: Split reporting and avoid passing string pointerKees Cook1-3/+20
2024-02-29overflow: Introduce wrapping_assign_add() and wrapping_assign_sub()Kees Cook1-0/+43
2024-02-29overflow: Introduce wrapping_add(), wrapping_sub(), and wrapping_mul()Kees Cook1-4/+20
2024-02-29Merge tag 'net-6.8-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds2-8/+13
2024-02-29kunit: Fix again checksum tests on big endian CPUsChristophe Leroy1-8/+9
2024-02-28locking/rwsem: Make DEBUG_RWSEMS and PREEMPT_RT mutually exclusiveWaiman Long1-2/+2
2024-02-27lib: memcpy_kunit: Fix an invalid format specifier in an assertion msgDavid Gow1-2/+2
2024-02-27lib/cmdline: Fix an invalid format specifier in an assertion msgDavid Gow1-1/+1
2024-02-27kunit: test: Log the correct filter string in executor_testDavid Gow1-1/+1
2024-02-27kunit: Setup DMA masks on the kunit deviceMaxime Ripard1-0/+4
2024-02-27kunit: make kunit_bus_type constRicardo B. Marliere1-1/+1
2024-02-27kunit: Mark filter* params as rwLucas De Marchi1-3/+3
2024-02-23stackdepot: use variable size records for non-evictable entriesMarco Elver1-123/+127
2024-02-22netlink: add nla be16/32 types to minlen arrayFlorian Westphal1-0/+4
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-29/+44
2024-02-22Merge series 'Use Maple Trees for simple_offset utilities' of https://lore.ke...Christian Brauner2-0/+137
2024-02-21test_maple_tree: testing the cyclic allocationLiam R. Howlett1-0/+44
2024-02-21maple_tree: Add mtree_alloc_cyclic()Chuck Lever1-0/+93
2024-02-20string: Allow 2-argument strscpy()Kees Cook1-4/+2
2024-02-20string: Redefine strscpy_pad() as a macroKees Cook1-34/+0
2024-02-20ubsan: Reintroduce signed overflow sanitizerKees Cook4-1/+123
2024-02-20lib/Kconfig.debug: TEST_IOV_ITER depends on MMUGuenter Roeck1-0/+1
2024-02-17Merge tag 'driver-core-6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-10/+14
2024-02-16Merge tag 'trace-v6.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-19/+30
2024-02-16s390/raid6: convert to use standard fpu_*() inline assembliesHeiko Carstens1-45/+10
2024-02-16s390/fpu: decrease stack usage for some casesHeiko Carstens1-2/+2
2024-02-16s390/fpu: move, rename, and merge header filesHeiko Carstens1-2/+1
2024-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-0/+19
2024-02-15seq_buf: Fix kernel documentationAndy Shevchenko1-17/+18
2024-02-15seq_buf: Don't use "proxy" headersAndy Shevchenko1-2/+12
2024-02-14Merge tag 'linux_kselftest-kunit-fixes-6.8-rc5' of git://git.kernel.org/pub/s...Linus Torvalds3-0/+19
2024-02-09s390/fpu: make use of __uninitialized macroHeiko Carstens1-2/+2
2024-02-08Revert "kobject: Remove redundant checks for whether ktype is NULL"Greg Kroah-Hartman1-10/+14
2024-02-07dump_stack: Do not get cpu_sync for panic CPUJohn Ogness1-3/+13
2024-02-06kunit: device: Unregister the kunit_bus on shutdownDavid Gow3-0/+19
2024-02-06ubsan: Remove CONFIG_UBSAN_SANITIZE_ALLKees Cook1-12/+1
2024-02-06ubsan: Silence W=1 warnings in self-testKees Cook2-2/+3
2024-02-05net: blackhole_dev: fix build warning for ethh set but not usedBreno Leitao1-2/+1
2024-02-02iov_iter: Avoid wrap-around instrumentation in copy_compat_iovec_from_user()Kees Cook1-2/+3
2024-02-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-116/+281
2024-02-01lib/string: shrink lib/string.i via IWYUTanzir Hasan1-8/+9
2024-02-01cpumask: add cpumask_weight_andnot()Yury Norov1-0/+7
2024-01-30Merge tag 'linux_kselftest-kunit-fixes-6.8-rc3' of git://git.kernel.org/pub/s...Linus Torvalds4-6/+18
2024-01-25stackdepot: make fast paths lock-less againMarco Elver1-111/+211
2024-01-25stackdepot: add stats counters exported via debugfsMarco Elver1-0/+53
2024-01-25iov_iter: streamline iovec/bvec alignment iterationJens Axboe1-27/+28
2024-01-22livepatch: Move tests from lib/livepatch to selftests/livepatchMarcos Paulo de Souza13-1113/+0
2024-01-22kunit: run test suites only after module initialization completesMarco Pagani2-3/+15
2024-01-22kunit: device: Fix a NULL vs IS_ERR() check in init()Dan Carpenter1-2/+2
2024-01-22kunit: Fix a NULL vs IS_ERR() bugDan Carpenter1-1/+1
2024-01-20Merge tag 'riscv-for-linus-6.8-mw4' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-6/+292
2024-01-19Merge tag 'strlcpy-removal-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds4-26/+1
2024-01-19string: Remove strlcpy()Kees Cook4-26/+1
2024-01-19lib: checksum: Fix build with CONFIG_NET=nPalmer Dabbelt1-0/+2
2024-01-18Merge tag 'for-6.8/block-2024-01-18' of git://git.kernel.dk/linuxLinus Torvalds1-5/+0
2024-01-18Merge tag 'cxl-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds1-11/+62
2024-01-17Merge patch series "RISC-V: Disable DWARF5 with known broken LLVM versions"Palmer Dabbelt1-5/+7
2024-01-17lib/Kconfig.debug: Update AS_HAS_NON_CONST_LEB128 comment and nameNathan Chancellor1-5/+6
2024-01-17riscv: Restrict DWARF5 when building with LLVM to known working versionsNathan Chancellor1-0/+1
2024-01-17kunit: Add tests for csum_ipv6_magic and ip_fast_csumCharlie Jenkins1-1/+283
2024-01-17Merge tag 'mm-hotfixes-stable-2024-01-12-16-52' of git://git.kernel.org/pub/s...Linus Torvalds1-0/+2
2024-01-15sbitmap: remove stale comment in sbq_calc_wake_batchKemeng Shi1-5/+0
2024-01-12lib/Kconfig.debug: disable CONFIG_DEBUG_INFO_BTF for HexagonNathan Chancellor1-0/+2
2024-01-11Merge tag 'net-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-19/+2
2024-01-10Merge tag 's390-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/...Linus Torvalds1-1/+1
2024-01-10Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-2/+29
2024-01-10Merge tag 'header_cleanup-2024-01-10' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-0/+1
2024-01-10Merge tag 'v6.8-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds2-0/+16
2024-01-09Merge tag 'linux_kselftest-kunit-6.8-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds13-34/+685
2024-01-09Merge tag 'acpi-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-21/+9
2024-01-09Merge tag 'mm-nonmm-stable-2024-01-09-10-33' of git://git.kernel.org/pub/scm/...Linus Torvalds4-61/+4
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds7-709/+1213
2024-01-09Merge tag 'slab-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/vba...Linus Torvalds4-11/+5
2024-01-08Merge tag 'core-debugobjects-2024-01-08' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-122/+78
2024-01-08mm, treewide: introduce NR_PAGE_ORDERSKirill A. Shutemov1-1/+1
2024-01-08Merge tag 'vfs-6.8.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-13/+0
2024-01-05Merge branch 'for-6.8/cxl-misc' into for-6.8/cxlDan Williams3-4/+49
2024-01-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-4/+60
2024-01-04Merge branches 'acpi-osl', 'acpi-bus' and 'acpi-tables'Rafael J. Wysocki1-21/+9
2024-01-03kunit: Fix some comments which were mistakenly kerneldocDavid Gow1-3/+3
2024-01-03kunit: Add example of kunit_activate_static_stub() with pointer-to-functionRichard Fitzgerald1-0/+35
2024-01-03kunit: Fix NULL-dereference in kunit_init_suite() if suite->log is NULLRichard Fitzgerald1-1/+3
2023-12-29lib/trace_readwrite.c:: replace asm-generic/io with linux/ioTanzir Hasan1-1/+1
2023-12-29lib: crc_ccitt_false() is identical to crc_itu_t()Mathis Marion1-55/+0
2023-12-29lib: add note about process exit message for DEBUG_STACK_USAGEUwe Kleine-König1-0/+2
2023-12-29lib/stackdepot: add printk_deferred_enter/exit guardsAndrey Konovalov1-0/+9
2023-12-28sysctl: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-2/+0
2023-12-28sysctl: Add a selftest for handling empty dirsJoel Granados1-0/+29
2023-12-27Merge tag 'mm-hotfixes-stable-2023-12-27-15-00' of git://git.kernel.org/pub/s...Linus Torvalds1-0/+11
2023-12-27Kill sched.h dependency on rcupdate.hKent Overstreet1-0/+1
2023-12-22lib/firmware_table: tables: Add CDAT table parsing supportDave Jiang1-12/+63
2023-12-22Merge tag 'printk-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-3/+8
2023-12-22crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_initTianjia Zhang1-0/+3
2023-12-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-15/+0
2023-12-21ida: Fix crash in ida_free when the bitmap is emptyMatthew Wilcox (Oracle)2-1/+41
2023-12-20kcov: remove stale RANDOMIZE_BASE textMark Rutland1-4/+0
2023-12-20UBSAN: use the kernel panic message markersBorislav Petkov (AMD)1-4/+3
2023-12-20maple_tree: avoid checking other gaps after getting the largest gapPeng Zhang1-0/+3
2023-12-20maple_tree: fix typos/spellos etcRandy Dunlap1-4/+4
2023-12-20lib/maple_tree.c: fix build error due to hotfix alterationAndrew Morton1-1/+1
2023-12-20sync mm-stable with mm-hotfixes-stable to pick up depended-upon changesAndrew Morton1-0/+11
2023-12-20maple_tree: do not preallocate nodes for slot storesSidhartha Kumar1-0/+11
2023-12-18Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+1
2023-12-18kunit: Reset test->priv after each param iterationMichal Wajdeczko1-0/+1
2023-12-18kunit: Add example for using test->privMichal Wajdeczko1-0/+15
2023-12-18overflow: Replace fake root_device with kunit_devicedavidgow@google.com1-3/+2
2023-12-18fortify: test: Use kunit_devicedavidgow@google.com1-2/+3
2023-12-18kunit: Add APIs for managing devicesdavidgow@google.com5-2/+336
2023-12-18kunit: add ability to run tests after boot using debugfsRae Moar2-0/+78
2023-12-18kunit: add is_init test attributeRae Moar2-1/+65
2023-12-18kunit: add example suite to test init suitesRae Moar1-0/+37
2023-12-18kunit: add KUNIT_INIT_TABLE to init linker sectionRae Moar2-13/+77
2023-12-18kunit: debugfs: Handle errors from alloc_string_stream()Richard Fitzgerald1-5/+25
2023-12-18kunit: debugfs: Fix unchecked dereference in debugfs_print_results()Richard Fitzgerald1-1/+3
2023-12-18kunit: string-stream: Allow ERR_PTR to be passed to string_stream_destroy()Richard Fitzgerald1-1/+1
2023-12-18kunit: string-stream-test: Avoid cast warning when testing gfp_t flagsRichard Fitzgerald1-1/+1
2023-12-18kunit: Add a macro to wrap a deferred action functionDavid Gow2-6/+5
2023-12-15cred: get rid of CONFIG_DEBUG_CREDENTIALSJens Axboe1-15/+0
2023-12-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+16
2023-12-12maple_tree: change return type of mas_split_final_node as void.Levi Yun1-2/+1
2023-12-12maple_tree: simplify mas_leaf_set_meta()Peng Zhang1-18/+4
2023-12-12maple_tree: delete one of the two identical checksPeng Zhang1-3/+0
2023-12-12maple_tree: remove an unused parameter for ma_meta_end()Peng Zhang1-6/+4
2023-12-12maple_tree: avoid ascending when mas->min is also the parent's minimumPeng Zhang1-3/+5
2023-12-12maple_tree: move the check forward to avoid static check warningPeng Zhang1-1/+1
2023-12-12maple_tree: remove unused functionJiapeng Chong1-29/+0
2023-12-12maple_tree: mtree_range_walk() clean upLiam R. Howlett1-15/+12
2023-12-12maple_tree: don't find node end in mtree_lookup_walk()Liam R. Howlett2-9/+24
2023-12-12maple_tree: use maple state end for write operationsLiam R. Howlett1-22/+24
2023-12-12maple_tree: remove mas_searchable()Liam R. Howlett1-50/+16
2023-12-12maple_tree: separate ma_state node from statusLiam R. Howlett2-274/+374
2023-12-12maple_tree: clean up inlines for some functionsLiam R. Howlett1-39/+39
2023-12-12maple_tree: use cached node end in mas_destroy()Liam R. Howlett1-1/+1
2023-12-12maple_tree: use cached node end in mas_next()Liam R. Howlett1-6/+8
2023-12-12maple_tree: add end of node tracking to the maple stateLiam R. Howlett1-0/+7
2023-12-12maple_tree: make mas_erase() more robustLiam R. Howlett1-1/+1
2023-12-12maple_tree: remove unnecessary default labels from switch statementsLiam R. Howlett1-7/+2
2023-12-11s390/fpu: get rid of MACHINE_HAS_VXHeiko Carstens1-1/+1
2023-12-10ida: make 'ida_dump' staticArnd Bergmann1-1/+1
2023-12-10kasan: record and report more informationJuntong Deng1-0/+21
2023-12-10lib/stackdepot: adjust DEPOT_POOLS_CAP for KMSANAndrey Konovalov1-0/+10
2023-12-10lib/stackdepot: allow users to evict stack tracesAndrey Konovalov1-1/+36
2023-12-10lib/stackdepot: add refcount for recordsAndrey Konovalov1-2/+10
2023-12-10lib/stackdepot, kasan: add flags to __stack_depot_save and renameAndrey Konovalov1-5/+11
2023-12-10lib/stackdepot: use list_head for stack record linksAndrey Konovalov1-37/+50
2023-12-10lib/stackdepot: use read/write lockAndrey Konovalov1-41/+46
2023-12-10lib/stackdepot: store free stack records in a freelistAndrey Konovalov1-49/+82
2023-12-10lib/stackdepot: store next pool pointer in new_poolAndrey Konovalov1-1/+5
2023-12-10lib/stackdepot: rename next_pool_required to new_pool_requiredAndrey Konovalov1-25/+24
2023-12-10lib/stackdepot: rework helpers for depot_alloc_stackAndrey Konovalov1-37/+49
2023-12-10lib/stackdepot: fix and clean-up atomic annotationsAndrey Konovalov1-15/+14
2023-12-10lib/stackdepot: use fixed-sized slots for stack recordsAndrey Konovalov2-4/+19
2023-12-10lib/stackdepot: add depot_fetch_stack helperAndrey Konovalov1-17/+28
2023-12-10lib/stackdepot: drop valid bit from handlesAndrey Konovalov1-5/+2
2023-12-10lib/stackdepot: simplify __stack_depot_saveAndrey Konovalov1-5/+4
2023-12-10lib/stackdepot: check disabled flag when fetchingAndrey Konovalov1-1/+1
2023-12-10lib/stackdepot: print disabled message only if truly disabledAndrey Konovalov1-9/+15
2023-12-10kasan: default to inline instrumentationPaul Heidekrüger1-1/+1
2023-12-10maple_tree: preserve the tree attributes when destroying maple treePeng Zhang1-1/+1
2023-12-10maple_tree: update check_forking() and bench_forking()Peng Zhang1-59/+58
2023-12-10maple_tree: skip other tests when BENCH is enabledPeng Zhang1-4/+4
2023-12-10maple_tree: introduce interfaces __mt_dup() and mtree_dup()Peng Zhang1-0/+274
2023-12-10maple_tree: add mt_free_one() and mt_attr() helpersPeng Zhang1-1/+11
2023-12-09test_bpf: Rename second ALU64_SMOD_X to ALU64_SMOD_KTiezhu Yang1-1/+1
2023-12-08Merge tag 'mm-hotfixes-stable-2023-12-07-18-47' of git://git.kernel.org/pub/s...Linus Torvalds1-6/+16
2023-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-6/+62
2023-12-06Merge branch 'master' into mm-hotfixes-stableAndrew Morton6-12/+62
2023-12-06lib/group_cpus.c: avoid acquiring cpu hotplug lock in group_cpus_evenlyMing Lei1-6/+16
2023-12-06ACPI: tables: Correct and clean up the logic of acpi_parse_entries_array()Yuntao Wang1-21/+9
2023-12-06lib/vsprintf: Fix %pfwf when current node refcount == 0Herve Codina1-3/+8
2023-12-05iov_iter: replace import_single_range() with import_ubuf()Jens Axboe1-13/+0
2023-12-05iov_iter: remove unused 'iov' argument from import_single_range()Jens Axboe1-1/+1
2023-12-05mm/slab: remove CONFIG_SLAB from all Kconfig and MakefileVlastimil Babka4-11/+5
2023-12-03Merge tag 'probes-fixes-v6.7-rc3' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+17
2023-12-02Merge tag 'acpi-6.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-1/+1
2023-12-02Merge tag 'bcachefs-2023-11-29' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-2/+3
2023-12-01Merge branch 'acpi-tables'Rafael J. Wysocki1-1/+1
2023-12-01lib: objpool: fix head overrun on RK3588 SBCwuqiang.matt1-0/+17
2023-12-01Merge tag 'linux_kselftest-kunit-fixes-6.7-rc4' of git://git.kernel.org/pub/s...Linus Torvalds2-3/+41