aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2020-04-28kobject: Export kobject_get_unless_zero()Jan Kara1-1/+4
2019-12-19dump_stack: avoid the livelock of the dump_lockKevin Hao1-1/+6
2019-10-31lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZEChristophe Leroy1-4/+5
2019-10-05lib/mpi: Fix karactx leak in mpi_powmHerbert Xu1-4/+2
2019-09-23kobject: Don't trigger kobject_uevent(KOBJ_REMOVE) twice.Tetsuo Handa1-2/+7
2019-08-20siphash: implement HalfSipHash1-3 for hash tablesJason A. Donenfeld2-4/+415
2019-08-13siphash: add cryptographically secure PRFJason A. Donenfeld4-1/+375
2019-08-13lib/string.c: implement a basic bcmpNick Desaulniers1-0/+20
2019-07-09lib/div64.c: off by one in shiftStanislaw Gruszka1-2/+2
2019-07-09devres: always use dev_name() in devm_ioremap_resource()Sergei Shtylyov1-3/+1
2019-05-22x86/cpufeature: Carve out X86_FEATURE_*Borislav Petkov1-1/+1
2019-05-22x86/headers: Don't include asm/processor.h in asm/atomic.hAndi Kleen1-0/+4
2019-05-02assoc_array: Fix shortcut creationDavid Howells1-3/+5
2019-04-04lib/string.c: remove duplicated functionRasmus Villemoes1-17/+10
2019-03-25swiotlb: clean up reportingKees Cook1-10/+8
2018-12-16percpu_counter: batch size aware __percpu_counter_compare()Dave Chinner1-3/+3
2018-10-21string: provide strscpy()Chris Metcalf1-0/+88
2018-03-03509: fix printing uninitialized stack memory when OID is emptyEric Biggers1-2/+6
2018-03-03X.509: fix buffer overflow detection in sprint_oid()Eric Biggers1-4/+4
2018-03-03lib/oid_registry.c: X.509: fix the buffer overflow in the utility function fo...Takashi Iwai1-2/+2
2018-03-03ASN.1: check for error from ASN1_OP_END__ACT actionsEric Biggers1-0/+2
2018-03-03ASN.1: fix out-of-bounds read when parsing indefinite length itemEric Biggers1-19/+24
2018-02-13lib/int_sqrt: optimize small argumentPeter Zijlstra1-0/+3
2018-01-01KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]Eric Biggers1-2/+2
2018-01-01KEYS: fix out-of-bounds read during ASN.1 parsingEric Biggers1-0/+3
2018-01-01lib/digsig: fix dereference of NULL user_key_payloadEric Biggers1-0/+6
2017-11-11cpumask_set_cpu_local_first => cpumask_local_spread, lamentRusty Russell1-48/+26
2017-11-11assoc_array: Fix a buggy node-splitting caseDavid Howells1-34/+17
2017-10-12sched/fair, cpumask: Export for_each_cpu_wrap()Peter Zijlstra1-0/+32
2017-09-15lib/cmdline.c: fix get_options() overflow while parsing rangesIlya Matveychikov1-3/+3
2017-03-16lib/vsprintf.c: improve sanity check in vsnprintf()Rasmus Villemoes1-1/+1
2017-02-23mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]Andrey Ryabinin1-1/+6
2017-02-23lib/genalloc.c: start search from start of chunkDaniel Mentz1-1/+2
2016-11-20lib/mpi: mpi_read_raw_data(): fix nbits calculationNicolai Stange1-1/+1
2016-08-22dma-debug: avoid spinlock recursion when disabling dma-debugVille Syrjälä1-1/+1
2016-06-15KEYS: Fix ASN.1 indefinite length object parsingDavid Howells1-7/+9
2016-06-15lib: lz4: fixed zram with lz4 on big endian machinesRui Salvaterra1-9/+12
2016-06-15assoc_array: don't call compare_object() on a nodeJerome Marchand1-1/+3
2016-03-24lib/ucs2_string: Correct ucs2 -> utf8 conversionJason Andryuk1-7/+7
2016-03-24lib/ucs2_string: Add ucs2 -> utf8 helper functionsPeter Jones1-0/+62
2016-02-25klist: fix starting point removed bug in klist iteratorsJames Bottomley1-3/+3
2016-02-25dump_stack: avoid potential deadlocksEric Dumazet1-3/+4
2016-02-25radix-tree: fix race in gang lookupMatthew Wilcox1-2/+10
2016-02-16ASN.1: Fix non-match detection failure on data overrunDavid Howells1-3/+2
2016-02-02crypto: crc32c - Fix crc32c soft dependencyJean Delvare1-0/+1
2016-02-02dma-debug: switch check from _text to _stextLaura Abbott1-1/+1
2016-01-25dma-debug: Fix dma_debug_entry offset calculationDaniel Mentz1-2/+2
2015-12-13devres: fix a for loop bounds checkDan Carpenter1-1/+1
2015-07-15lz4: fix system halt at boot kernel on x86_64Krzysztof Kolasa1-1/+11
2015-07-15LZ4 : fix the data abort issueJeHyeon Yeon1-0/+3
2015-07-15__bitmap_parselist: fix bug in empty string handlingChris Metcalf1-8/+9
2015-06-11lib: Fix strnlen_user() to not touch memory after specified maximumJan Kara1-1/+2
2015-05-06lib: memzero_explicit: use barrier instead of OPTIMIZER_HIDE_VARmancha security1-1/+1
2015-02-10lib/checksum.c: fix build for generic csum_tcpudp_nofoldkarl beldan1-9/+9
2015-02-10lib/checksum.c: fix carry in csum_tcpudp_nofoldkarl beldan1-2/+10
2015-02-04decompress_bunzip2: off by one in get_next_block()Dan Carpenter1-1/+1
2014-11-13lib/bitmap.c: fix undefined shift in __bitmap_shift_{left|right}()Jan Kara1-2/+6
2014-11-05random: add and use memzero_explicit() for clearing dataDaniel Borkmann1-0/+16
2014-10-30lzo: check for length overrun in variable length encoding.Willy Tarreau1-6/+37
2014-10-30Revert "lzo: properly check for overruns"Willy Tarreau1-41/+21
2014-09-17KEYS: Fix termination condition in assoc array garbage collectionDavid Howells1-1/+3
2014-09-17KEYS: Fix use-after-free in assoc_array_gc()David Howells1-1/+1
2014-08-14iovec: make sure the caller actually wants anything in memcpy_fromiovecendSasha Levin1-0/+4
2014-07-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+1
2014-07-03lz4: add overrun checks to lz4_uncompress_unknownoutputsize()Greg Kroah-Hartman1-1/+5
2014-07-02lib/cpumask: cpumask_set_cpu_local_first to use all cores when numa node is n...Amir Vadai1-1/+1
2014-06-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pendingLinus Torvalds1-0/+55
2014-06-27Merge tag 'compress-3.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+3
2014-06-27Merge tag 'stable/for-linus-3.16-rc1-tag' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-10/+18
2014-06-27iovec: move memcpy_from/toiovecend to lib/iovec.cMichael S. Tsirkin1-0/+55
2014-06-27lz4: fix another possible overrunGreg Kroah-Hartman1-1/+3
2014-06-23Merge tag 'compress-3.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-21/+43
2014-06-23lib/Kconfig.debug: let FRAME_POINTER exclude SCORE, just like exclude most of...Chen Gang1-2/+2
2014-06-23lz4: ensure length does not wrapGreg Kroah-Hartman1-0/+2
2014-06-23lzo: properly check for overrunsGreg Kroah-Hartman1-21/+41
2014-06-20swiotlb: don't assume PA 0 is invalidJan Beulich1-10/+18
2014-06-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds5-38/+2052
2014-06-12Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linuxLinus Torvalds5-2/+22
2014-06-11cpumask: Utility function to set n'th cpu - local cpu firstAmir Vadai1-0/+63
2014-06-11net: filter: fix nlattr and nlattr_nest BPF testsAlexei Starovoitov1-13/+21
2014-06-08Merge branch 'next' (accumulated 3.16 merge window patches) into masterLinus Torvalds23-111/+204
2014-06-06lib/radix-tree.c: update the kmemleak stack trace for radix tree allocationsCatalin Marinas1-0/+6
2014-06-06idr: reduce the unneeded check in free_layer()Lai Jiangshan1-1/+1
2014-06-06idr: don't need to shink the free list when idr_remove()Lai Jiangshan1-16/+0
2014-06-06idr: fix idr_replace()'s returned error codeLai Jiangshan1-2/+2
2014-06-06idr: fix NULL pointer dereference when ida_remove(unallocated_id)Lai Jiangshan1-1/+1
2014-06-06idr: fix unexpected ID-removal when idr_remove(unallocated_id)Lai Jiangshan1-0/+8
2014-06-06idr: fix overflow bug during maximum ID calculation at maximum heightLai Jiangshan1-5/+3
2014-06-05Merge branch 'arm64-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-1/+4
2014-06-05Merge commit '9e9a928eed8796a0a1aaed7e0b676db86ba84594' into drm-nextDave Airlie2-4/+4
2014-06-04lib/asn1_decoder.c: kernel-doc warning fixFabian Frederick1-1/+1
2014-06-04lib/atomic64_test.c: convert printk(KERN_INFO to pr_infoFabian Frederick1-5/+8
2014-06-04lib/bug.c: convert printk to pr_foo()Fabian Frederick1-11/+10
2014-06-04lib/textsearch.c: move EXPORT_SYMBOL after functionsFabian Frederick1-5/+4
2014-06-04lib/nlattr.c: move EXPORT_SYMBOL after functionsFabian Frederick1-9/+8
2014-06-04lib/digsig.c: kernel-doc warning fixesFabian Frederick1-2/+3
2014-06-04lib/crc32.c: remove unnecessary __constantFabian Frederick1-2/+2
2014-06-04lib/radix-tree.c: kernel-doc warning fixFabian Frederick1-1/+0
2014-06-04lib/plist.c: make CONFIG_DEBUG_PI_LIST selectableDan Streetman1-5/+10
2014-06-04lib/btree.c: fix leak of whole btree nodesMinfei Huang1-0/+1
2014-06-04lib/vsprintf.c: fix comparison to boolFabian Frederick1-2/+2
2014-06-04lib/libcrc32c.c: use PTR_ERR_OR_ZEROFabian Frederick1-4/+1
2014-06-04lib/xz: enable all filters by default in KconfigLasse Collin1-12/+12
2014-06-04lib/plist.c: replace pr_debug with printk in plist_test()Dan Streetman1-2/+2
2014-06-04lib/xz: add comments for the intentionally missing break statementsLasse Collin1-0/+4
2014-06-04lib/string.c: use the name "C-string" in commentsDan Carpenter1-4/+4
2014-06-04lib/plist: add plist_requeueDan Streetman1-0/+52
2014-06-04mm: replace __get_cpu_var uses with this_cpu_ptrChristoph Lameter1-3/+3
2014-06-04x86: enable DMA CMA with swiotlbAkinobu Mita1-1/+1
2014-06-04mm,vmacache: add debug dataDavidlohr Bueso1-0/+10
2014-06-04lib/debugobjects.c: convert printk(KERN_DEBUG to pr_debugFabian Frederick1-2/+2
2014-06-04lib/debugobjects.c: add pr_fmt to loggingFabian Frederick1-5/+8
2014-06-04lib/debugobjects.c: convert printk to pr_foo()Fabian Frederick1-7/+5
2014-06-04Merge tag 'devicetree-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+18
2014-06-04Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-2/+2
2014-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2014-06-02net: filter: fix length calculation in BPF testsuiteChema Gonzalez1-5/+16
2014-06-02netlink: rate-limit leftover bytes warning and print process nameMichal Schmidt1-2/+2
2014-06-01net: filter: add test for loading SKF_AD_OFF limitsDaniel Borkmann1-0/+22
2014-06-01net: filter: add slot overlapping test with fully filled M[]Daniel Borkmann1-1/+74
2014-06-01net: Revert mlx4 cpumask changes.David S. Miller1-64/+0
2014-06-01cpumask: Utility function to set n'th cpu - local cpu firstAmir Vadai1-0/+64
2014-05-30Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...David S. Miller1-38/+46
2014-05-30net: filter: use block statements in tcpdump testsDaniel Borkmann1-68/+75
2014-05-30net: filter: test fill/spill of all M[] regsDaniel Borkmann1-0/+90
2014-05-27Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...John W. Linville1-38/+46
2014-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2014-05-24lib/devres.c: fix checkpatch warningsFabian Frederick1-3/+3
2014-05-24lib/devres.c: use dev in devm_request_and_ioremapFabian Frederick1-2/+2
2014-05-23net: filter: add test case for jump with holes and ret x variantsDaniel Borkmann1-0/+94
2014-05-23net: filter: improve test case frameworkDaniel Borkmann1-155/+233
2014-05-23net: filter: let unattached filters use sock_fprog_kernDaniel Borkmann1-1/+1
2014-05-23lib/test_bpf.c: don't use gcc union shortcutAndrew Morton1-52/+52
2014-05-23lib: add glibc style strchrnul() variantGrant Likely1-0/+18
2014-05-23Merge 3.15-rc6 into driver-core-nextGreg Kroah-Hartman1-2/+2
2014-05-21net: filter: cleanup invocation of internal BPFAlexei Starovoitov1-2/+2
2014-05-16lib/crc7: Shift crc7() output left 1 bitGeorge Spelvin1-38/+46
2014-05-13net: fix test_bpf build to depend on NETRandy Dunlap1-1/+1
2014-05-12net: filter: additional BPF testsAlexei Starovoitov1-0/+1224
2014-05-12net: filter: BPF testsuiteAlexei Starovoitov3-0/+336
2014-05-05asmlinkage: Add explicit __visible to drivers/*, lib/*, kernel/*Andi Kleen1-2/+2
2014-05-05Kconfig.debug: Grammar s/addition/additional/Geert Uytterhoeven1-2/+2
2014-05-05lib: Export interval_treeChris Wilson5-2/+22
2014-04-30lib: add fdt_empty_tree.cMark Salter2-1/+4
2014-04-25kobject: Make support for uevent_helper optional.Michael Marineau1-0/+6
2014-04-18mm: fix CONFIG_DEBUG_VM_RB descriptionDavidlohr Bueso1-2/+1
2014-04-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-10/+0
2014-04-12Merge git://git.infradead.org/users/eparis/auditLinus Torvalds4-1/+74
2014-04-08lib/percpu_counter.c: fix bad percpu counter state during suspendJens Axboe1-1/+1
2014-04-07percpu: add preemption checks to __this_cpu opsChristoph Lameter1-4/+14
2014-04-07Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAPUwe Kleine-König3-6/+6
2014-04-07initramfs: debug detected compression methodDaniel M. Weeks1-0/+3
2014-04-07lib/idr.c: use RCU_INIT_POINTER(x, NULL)Monam Agarwal1-2/+2
2014-04-07idr: remove dead codeStephen Hemminger1-18/+2
2014-04-03lib/decompress_inflate.c: include appropriate header fileRashika Kheria1-0/+1
2014-04-03lib/clz_ctz.c: add prototype declarations in lib/clz_ctz.cRashika Kheria1-0/+7
2014-04-03lib/random32.c: minor cleanups and kdoc fixDaniel Borkmann1-37/+39
2014-04-03lib/devres.c: fix some sparse warningsSteven Rostedt1-5/+7
2014-04-03vsprintf: remove %n handlingRyan Mallon1-36/+9
2014-04-03lib/syscall.c: unexport task_current_syscall()Andrew Morton1-1/+0
2014-04-03kobject: don't block for each kobject_ueventVladimir Davydov1-6/+36
2014-04-03mm: keep page cache radix tree nodes in checkJohannes Weiner1-14/+22
2014-04-03lib: radix_tree: tree node interfaceJohannes Weiner1-115/+148
2014-04-03mm: filemap: move radix tree hole searching hereJohannes Weiner1-75/+0
2014-04-03lib: radix-tree: add radix_tree_delete_item()Johannes Weiner1-4/+27
2014-04-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-2/+8
2014-04-01get rid of DEBUG_WRITECOUNTAl Viro1-10/+0
2014-04-01Merge branch 'for-3.15/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+10
2014-04-01Merge tag 'driver-core-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2014-04-01Merge tag 'pci-v3.15-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-4/+9
2014-04-01netlink: don't compare the nul-termination in nla_strcmpPablo Neira1-2/+8
2014-03-31Merge branch 'x86-asmlinkage-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-1/+1
2014-03-31Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+20
2014-03-28random32: avoid attempt to late reseed if in the middle of seedingSasha Levin1-1/+12
2014-03-23partly revert commit 8a10bc9: parisc/sti_console: prefer Linux fonts over bui...Helge Deller1-3/+3
2014-03-20audit: Add generic compat syscall supportAKASHI Takahiro4-1/+74
2014-03-04lib/radix-tree.c: swapoff tmpfs radix_tree: remember to rcu_read_unlockHugh Dickins1-1/+3
2014-03-04dma debug: account for cachelines and read-only mappings in overlap trackingDan Williams1-46/+85
2014-02-26vsprintf: Add support for IORESOURCE_UNSET in %pRBjorn Helgaas1-4/+9
2014-02-23locktorture: Add a lock-torture kernel modulePaul E. McKenney1-0/+15
2014-02-23rcutorture: Abstract rcu_torture_random()Paul E. McKenney1-0/+5
2014-02-18Merge 3.14-rc3 into driver-core-nextGreg Kroah-Hartman1-5/+2
2014-02-17idr: Add new function idr_is_empty()Andreas Gruenbacher1-0/+10
2014-02-14Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+2
2014-02-13asmlinkage Make __stack_chk_failed and memcmp visibleAndi Kleen1-1/+1
2014-02-10Merge branch 'master' into driver-core-next-test-merge-rc2Tejun Heo2-1/+2
2014-02-08Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+1
2014-02-07sysfs, kobject: add sysfs wrapper for kernfs_enable_ns()Tejun Heo1-1/+1
2014-02-07Merge tag 'efi-urgent' into x86/urgentH. Peter Anvin27-167/+650
2014-02-06x86, hweight: Fix BUG when booting with CONFIG_GCOV_PROFILE_ALL=yPeter Oberparleiter1-0/+1
2014-02-04kbuild: don't enable DEBUG_INFO when building for COMPILE_TESTLinus Torvalds1-1/+1
2014-02-02parisc/sti_console: prefer Linux fonts over built-in ROM fontsHelge Deller1-3/+3
2014-01-31Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-7/+14
2014-01-30Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-0/+1
2014-01-30percpu_ida: fix a live lockShaohua Li1-5/+2
2014-01-29dma-debug: fix overlap detectionDan Williams1-3/+7
2014-01-29lib/genalloc.c: add check gen_pool_dma_alloc() if dma pointer is not NULLLad, Prabhakar1-2/+3
2014-01-28kobject: export kobj_sysfs_opsJeff Mahoney1-0/+1
2014-01-27dynamic_debug: replace obselete simple_strtoul() with kstrtouint()Andrey Ryabinin1-3/+1
2014-01-27dynamic_debug: fix ddebug_parse_query()Andrey Ryabinin1-2/+4