aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2022-05-18Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-0/+1
2022-05-18percpu_ref_init(): clean ->percpu_count_ref on failureAl Viro1-0/+1
2022-05-09dim: initialize all struct fieldsJesse Brandeburg1-22/+22
2022-05-01Merge tag 'x86_urgent_for_v5.18_rc5' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2-2/+2
2022-04-27hex2bin: fix access beyond string endMikulas Patocka1-3/+6
2022-04-27hex2bin: make the function hex_to_bin constant-timeMikulas Patocka1-7/+25
2022-04-22XArray: Disallow sibling entries of nodesMatthew Wilcox (Oracle)1-0/+2
2022-04-19lib/strn*,objtool: Enforce user_access_begin() rulesPeter Zijlstra2-2/+2
2022-04-10Merge tag 'driver-core-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-32/+0
2022-04-08lz4: fix LZ4_decompress_safe_partial read out of boundGuo Xuenan1-2/+6
2022-04-05kobject: kobj_type: remove default_attrsGreg Kroah-Hartman1-32/+0
2022-04-01Merge tag 'for-5.18/block-2022-04-01' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2022-04-01Merge tag 'xarray-5.18' of git://git.infradead.org/users/willy/xarrayLinus Torvalds2-0/+26
2022-03-31Merge tag 'for-linus-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+4
2022-03-31XArray: Update the LRU list in xas_split()Matthew Wilcox (Oracle)1-0/+2
2022-03-29lib/test: use after free in register_test_dev_kmod()Dan Carpenter1-0/+1
2022-03-28XArray: Fix xas_create_range() when multi-order entry presentMatthew Wilcox (Oracle)2-0/+24
2022-03-26Merge tag 'memcpy-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds7-1/+33
2022-03-26Merge tag 'for-5.18/64bit-pi-2022-03-25' of git://git.kernel.dk/linux-blockLinus Torvalds5-11/+204
2022-03-25Merge branch 'akpm' (patches from Andrew)Linus Torvalds3-39/+228
2022-03-24kasan: update function name in commentsPeter Collingbourne1-3/+3
2022-03-24kasan: test: support async (again) and asymm modes for HW_TAGSAndrey Konovalov1-17/+22
2022-03-24kasan: improve vmalloc testsAndrey Konovalov1-6/+188
2022-03-24kasan: allow enabling KASAN_VMALLOC and SW/HW_TAGSAndrey Konovalov1-10/+10
2022-03-24lib/vsprintf: avoid redundant work with 0 sizeWaiman Long1-3/+5
2022-03-24Merge tag 'cxl-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl...Linus Torvalds1-0/+23
2022-03-24Merge branch 'akpm' (patches from Andrew)Linus Torvalds5-105/+94
2022-03-24Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds5-15/+254
2022-03-23Revert "ubsan, kcsan: Don't combine sanitizer with kcov on clang"Marco Elver2-23/+0
2022-03-23ubsan: no need to unset panic_on_warn in ubsan_epilogue()Tiezhu Yang1-9/+1
2022-03-23lib: bitmap: fix many kernel-doc warningsRandy Dunlap1-7/+17
2022-03-23lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN optionFeng Tang1-1/+2
2022-03-23Kconfig.debug: make DEBUG_INFO selectable from a choiceKees Cook1-65/+74
2022-03-23Merge tag 'asm-generic-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds3-5/+10
2022-03-23Merge tag 'linux-kselftest-kunit-5.18-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds4-57/+161
2022-03-23Merge tag 'printk-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-20/+29
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+3
2022-03-22Merge branch 'akpm' (patches from Andrew)Linus Torvalds3-6/+19
2022-03-22kfence: allow use of a deferrable timerMarco Elver1-0/+12
2022-03-22kunit: make kunit_test_timeout compatible with commentPeng Liu1-1/+1
2022-03-22kunit: fix UAF when run kfence test case test_gfpzeroPeng Liu1-0/+1
2022-03-22xarray: use kmem_cache_alloc_lru to allocate xa_nodeMuchun Song1-5/+5
2022-03-21Merge tag 'overflow-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-409/+422
2022-03-21lib/sbitmap: allocate sb->map via kvzalloc_nodeMing Lei1-1/+1
2022-03-21Merge tag 'for-5.18/drivers-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds3-3/+4
2022-03-21Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-23/+17
2022-03-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds6-9/+260
2022-03-21Merge tag 'random-5.18-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds2-11/+13
2022-03-21lib: stackinit: Convert to KUnitKees Cook3-174/+121
2022-03-21Merge branch 'for-5.18-vsprintf-fourcc-fixup' into for-linusPetr Mladek1-5/+8
2022-03-17lib/sort: Add priv pointer to swap functionJiri Olsa1-10/+30
2022-03-17fprobe: Add a selftest for fprobeMasami Hiramatsu3-0/+188
2022-03-12random: replace custom notifier chain with standard oneJason A. Donenfeld2-9/+13
2022-03-11lib/logic_iomem: correct fallback config referencesJohannes Berg1-4/+4
2022-03-08lib/raid6: Include <asm/ppc-opcode.h> for VPERMXORPaul Menzel1-1/+1
2022-03-08lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3Paul Menzel1-1/+3
2022-03-08lib/raid6/test: fix multiple definition linking errorDirk Müller1-1/+0
2022-03-07crypto: add rocksoft 64b crc guard tag frameworkKeith Busch3-0/+136
2022-03-07lib: add rocksoft model crc64Keith Busch2-11/+68
2022-03-07Merge branch 'for-5.18/block' into for-5.18/64bit-piJens Axboe1-23/+17
2022-03-04Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+10
2022-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+4
2022-03-03mm: remove the extra ZONE_DEVICE struct page refcountChristoph Hellwig1-1/+0
2022-03-03mm: don't include <linux/memremap.h> in <linux/mm.h>Christoph Hellwig1-0/+1
2022-03-03mm: remove pointless includes from <linux/hmm.h>Christoph Hellwig1-0/+2
2022-03-02Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-armLinus Torvalds1-1/+0
2022-03-03lib/mpi: export mpi_rshiftNicolai Stange1-0/+1
2022-02-28bpf: Add config to allow loading modules with BTF mismatchesConnor O'Brien1-0/+10
2022-02-27lib: overflow: Convert to KunitKees Cook3-309/+263
2022-02-26kasan: test: prevent cache merging in kmem_cache_double_destroyAndrey Konovalov1-1/+4
2022-02-25list: test: Add a test for list_entry_is_head()David Gow1-0/+21
2022-02-25list: test: Add a test for list_is_head()David Gow1-0/+19
2022-02-25list: test: Add test for list_del_init_careful()David Gow1-0/+21
2022-02-25uaccess: remove CONFIG_SET_FSArnd Bergmann2-2/+2
2022-02-25lib/test_lockup: fix kernel pointer check for separate address spacesArnd Bergmann1-3/+8
2022-02-25uaccess: fix type mismatch warnings from access_ok()Arnd Bergmann1-2/+2
2022-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2022-02-24vsprintf: Fix %pK with kptr_restrict == 0Christophe Leroy1-15/+21
2022-02-22Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-0/+2
2022-02-21random: remove unused tracepointsJason A. Donenfeld1-2/+0
2022-02-21lib/iov_iter: initialize "flags" in new pipe_bufferMax Kellermann1-0/+2
2022-02-21ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSEJulian Braha1-1/+0
2022-02-16overflow: Provide constant expression struct_sizeKees Cook1-9/+17
2022-02-16overflow: Implement size_t saturating arithmetic helpersKees Cook1-0/+98
2022-02-13fortify: Detect struct member overflows in memset() at compile-timeKees Cook1-0/+5
2022-02-13fortify: Detect struct member overflows in memmove() at compile-timeKees Cook2-0/+10
2022-02-13fortify: Detect struct member overflows in memcpy() at compile-timeKees Cook4-1/+18
2022-02-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2022-02-10vsprintf: Move space out of string literals in fourcc_string()Andy Shevchenko1-1/+2
2022-02-10vsprintf: Fix potential unaligned accessAndy Shevchenko1-5/+7
2022-02-09Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-2/+10
2022-02-09test_overflow: Regularize test reporting outputKees Cook1-24/+30
2022-02-08cxl: Prove CXL lockingDan Williams1-0/+23
2022-02-08sbitmap: Delete old sbitmap_queue_get_shallow()John Garry1-3/+3
2022-02-08lib/sbitmap: kill 'depth' from sbitmap_wordMing Lei1-20/+14
2022-02-06ref_tracker: remove filter_irq_stacks() callEric Dumazet1-2/+0
2022-02-05ref_tracker: add a count of untracked referencesEric Dumazet1-1/+11
2022-02-05ref_tracker: implement use-after-free detectionEric Dumazet1-0/+5
2022-02-04lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFIJason A. Donenfeld1-2/+2
2022-02-02lib/Kconfig.debug: Allow BTF + DWARF5 with pahole 1.21+Nathan Chancellor1-1/+1
2022-02-02lib/Kconfig.debug: Use CONFIG_PAHOLE_VERSIONNathan Chancellor1-2/+2
2022-01-31kunit: factor out str constants from binary assertion structsDaniel Latypov1-19/+19
2022-01-31kunit: remove va_format from kunit_assertDaniel Latypov2-16/+23
2022-01-31lib/crc32test: correct printed bytes countKevin Bracey1-1/+1
2022-01-31lib/crc32: Make crc32_be weak for arch overrideKevin Bracey1-2/+3
2022-01-31lib/crc32: remove unneeded castsKevin Bracey1-6/+3
2022-01-30kasan: test: fix compatibility with FORTIFY_SOURCEMarco Elver1-0/+5
2022-01-28crypto: sm3 - create SM3 stand-alone libraryTianjia Zhang3-0/+252
2022-01-27compiler_types: define __user as __attribute__((btf_type_tag("user")))Yonghong Song1-0/+8
2022-01-27blk-mq: Fix wrong wakeup batch configuration which will cause hangLaibin Qiu1-2/+6
2022-01-25kunit: split out part of kunit_assert into a static constDaniel Latypov2-10/+14
2022-01-25kunit: factor out kunit_base_assert_format() call into kunit_fail()Daniel Latypov2-6/+1
2022-01-25kunit: move check if assertion passed into the macrosDaniel Latypov1-9/+4
2022-01-25kunit: add example test case showing off all the expect macrosDaniel Latypov1-0/+42
2022-01-23Merge tag 'bitmap-5.17-rc1' of git://github.com/norov/linuxLinus Torvalds6-21/+87
2022-01-22lib/stackdepot: always do filter_irq_stacks() in stack_depot_save()Marco Elver1-0/+13
2022-01-22lib/stackdepot: allow optional init and stack_table allocation by kvmalloc()Vlastimil Babka3-6/+33
2022-01-22test_sysctl: simplify subdirectory registration with register_sysctl()Luis Chamberlain1-21/+1
2022-01-21Merge tag 'block-5.17-2022-01-21' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+22
2022-01-20Merge tag 'net-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+4
2022-01-20Merge branch 'akpm' (patches from Andrew)Linus Torvalds9-184/+167
2022-01-20lib: remove redundant assignment to variable retColin Ian King1-2/+0
2022-01-20ubsan: remove CONFIG_UBSAN_OBJECT_SIZEKees Cook2-35/+0
2022-01-20kcov: fix generic Kconfig dependencies if ARCH_WANTS_NO_INSTRMarco Elver1-0/+2
2022-01-20lib/Kconfig.debug: make TEST_KMOD depend on PAGE_SIZE_LESS_THAN_256KBNathan Chancellor1-0/+1
2022-01-20lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() testAndrey Konovalov1-0/+1
2022-01-20test_hash.c: refactor into kunitIsabella Basso3-143/+81
2022-01-20lib/Kconfig.debug: properly split hash test kernel entriesIsabella Basso2-4/+13
2022-01-20test_hash.c: split test_hash_initIsabella Basso1-12/+54
2022-01-20test_hash.c: split test_int_hash into arch-specific functionsIsabella Basso1-29/+62
2022-01-20hash.h: remove unused define directiveIsabella Basso1-23/+1
2022-01-20lib/list_debug.c: print more list debugging context in __list_del_entry_valid()Zhen Lei1-4/+4
2022-01-20kstrtox: uninline everythingAlexey Dobriyan1-0/+12
2022-01-20include/linux/unaligned: replace kernel.h with the necessary inclusionsAndy Shevchenko1-0/+2
2022-01-18lib/crypto: sha1: re-roll loops to reduce code sizeJason A. Donenfeld1-81/+14
2022-01-18lib/crypto: blake2s: move hmac construction into wireguardJason A. Donenfeld2-68/+0
2022-01-18lib/crypto: add prompts back to crypto librariesJustin M. Forbes2-5/+14
2022-01-17Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds2-2/+52
2022-01-15vsprintf: rework bitmap_list_stringYury Norov1-17/+7
2022-01-15lib: bitmap: add performance test for bitmap_print_to_pagebufYury Norov1-0/+37
2022-01-15all: replace find_next{,_zero}_bit with find_first{,_zero}_bit where appropriateYury Norov1-1/+1
2022-01-15lib: add find_first_and_bit()Yury Norov2-0/+42
2022-01-15arch: remove GENERIC_FIND_FIRST_BIT entirelyYury Norov1-3/+0
2022-01-15mm/hmm.c: allow VM_MIXEDMAP to work with hmm_range_faultAlistair Popple1-0/+24
2022-01-15kasan: test: add test case for double-kmem_cache_destroy()Marco Elver1-0/+11
2022-01-15kasan: test: add globals left-out-of-bounds testMarco Elver1-2/+17
2022-01-13blk-mq: fix tag_get wait task can't be awakenedLaibin Qiu1-3/+22
2022-01-12Merge tag 'folio-5.17' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds2-19/+17
2022-01-12Merge tag 'driver-core-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-7/+7
2022-01-12Merge tag 'pinctrl-v5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+64
2022-01-12Merge tag 'for-5.17/drivers-2022-01-11' of git://git.kernel.dk/linux-blockLinus Torvalds3-47/+45
2022-01-12ref_tracker: use __GFP_NOFAIL more carefullyEric Dumazet1-1/+4
2022-01-11Merge tag 'locking_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-56/+118
2022-01-11Merge tag 'for-linus-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-11/+12
2022-01-11Merge tag 'tpmdd-next-v5.17-fixed' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+0
2022-01-11Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+2
2022-01-11Merge tag 'kcsan.2022.01.09a' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+20
2022-01-11Merge tag 'printk-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
2022-01-10Merge tag '5.17-net-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds7-8/+282
2022-01-10Merge tag 'linux-kselftest-kunit-5.17-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-11/+14
2022-01-09lib: remove redundant assignment to variable retColin Ian King1-2/+0
2022-01-08XArray: Add xas_advance()Matthew Wilcox (Oracle)1-3/+3
2022-01-07lib/mpi: Add the return value check of kcalloc()Zizhuang Deng1-0/+2
2022-01-07lib/crypto: blake2s: include as built-inJason A. Donenfeld4-29/+15
2022-01-06lib/raid6: Use strict priority ranking for pq gen() benchmarkingDirk Müller3-8/+8
2022-01-06lib/raid6: skip benchmark of non-chosen xor_syndrome functionsDirk Müller1-39/+37
2022-01-04iov_iter: Convert iter_xarray to use foliosMatthew Wilcox (Oracle)1-16/+14
2021-12-28kobject: remove kset from struct kset_uevent_ops callbacksGreg Kroah-Hartman1-3/+3
2021-12-27driver core: make kobj_type constant.Wedson Almeida Filho1-4/+4
2021-12-24lib: objagg: Use the bitmap API when applicableChristophe JAILLET1-5/+2
2021-12-21logic_io instance of iounmap() needs volatile on argumentAl Viro1-2/+2
2021-12-21lib/logic_iomem: Fix operation on 32-bitJohannes Berg1-3/+3
2021-12-21lib/logic_iomem: Fix 32-bit buildJohannes Berg1-6/+7
2021-12-13kunit: Report test parameter results as (K)TAP subtestsDavid Gow1-3/+4
2021-12-13kunit: Don't crash if no parameters are generatedDavid Gow1-8/+10
2021-12-13exit: Rename complete_and_exit to kthread_complete_and_exitEric W. Biederman1-2/+2
2021-12-13locking/atomic: atomic64: Remove unusable atomic opsMark Rutland1-2/+0
2021-12-13Merge tag 'v5.16-rc5' into locking/core, to pick up fixesIngo Molnar8-10/+39
2021-12-10Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-2/+2
2021-12-09kcsan: Support WEAK_MEMORY with Clang where no objtool support existsMarco Elver1-1/+1
2021-12-09kcsan: Add core support for a subset of weak memory modelingMarco Elver1-0/+20
2021-12-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2021-12-08Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfJakub Kicinski1-0/+1
2021-12-06net: add net device refcount tracker infrastructureEric Dumazet1-0/+5
2021-12-06lib: add tests for reference trackerEric Dumazet3-1/+126
2021-12-06lib: add reference counting tracking infrastructureEric Dumazet3-0/+147
2021-12-06vsprintf: Use non-atomic bitmap API when applicableChristophe JAILLET1-2/+2
2021-12-04lockdep/selftests: Adapt ww-tests for PREEMPT_RTSebastian Andrzej Siewior1-30/+46
2021-12-04lockdep/selftests: Skip the softirq related tests on PREEMPT_RTSebastian Andrzej Siewior1-7/+31
2021-12-04lockdep/selftests: Unbalanced migrate_disable() & rcu_read_lock().Sebastian Andrzej Siewior1-1/+25
2021-12-04lockdep/selftests: Avoid using local_lock_{acquire|release}().Sebastian Andrzej Siewior1-16/+16
2021-12-02bpf: Make CONFIG_DEBUG_INFO_BTF depend upon CONFIG_BPF_SYSCALLKumar Kartikeya Dwivedi1-0/+1
2021-11-29siphash: use _unaligned version by defaultArnd Bergmann1-6/+6
2021-11-27Merge tag 'v5.16-rc2' into develLinus Walleij6-2/+29
2021-11-22parisc: Increase FRAME_WARN to 2048 bytes on pariscHelge Deller1-2/+3
2021-11-20kasan: test: silence intentional read overflow warningsKees Cook1-0/+2
2021-11-18Merge tag 'zstd-for-linus-5.16-rc1' of git://github.com/terrelln/linuxLinus Torvalds4-2/+21
2021-11-18lib: zstd: Don't add -O3 to cflagsNick Terrell1-2/+0
2021-11-18lib: zstd: Don't inline functions in zstd_opt.cNick Terrell2-0/+19