summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2021-02-13lib/string: Add strscpy_pad() functionTobin C. Harding1-7/+40
2021-01-12lib/genalloc: fix the overflow when size is too bigHuang Shijie1-12/+13
2020-11-18random32: make prandom_u32() output unpredictableGeorge Spelvin1-179/+283
2020-11-10lib/crc32test: remove extra local_irq_disable/enableVasily Gorbik1-4/+0
2020-11-10Fonts: Replace discarded const qualifierLee Jones11-11/+11
2020-11-05sgl_alloc_order: fix memory leakDouglas Gilbert1-1/+1
2020-10-30lib/crc32.c: fix trivial typo in preprocessor conditionTobias Jordan1-1/+1
2020-10-14Fonts: Support FONT_EXTRA_WORDS macros for built-in fontsPeilin Ye11-49/+47
2020-10-07random32: Restore __latent_entropy attribute on net_rand_stateThibaut Sautereau1-1/+1
2020-10-01lib/string.c: implement stpcpyNick Desaulniers1-0/+24
2020-08-21test_kmod: avoid potential double free in trigger_config_run_type()Tiezhu Yang1-1/+1
2020-08-19dyndbg: fix a BUG_ON in ddebug_describe_flagsJim Cromie1-12/+11
2020-08-07random32: remove net_rand_state from the latent entropy gcc pluginLinus Torvalds1-1/+1
2020-08-07random32: update the net random state on interrupt and activityWilly Tarreau1-1/+1
2020-06-25lib/zlib: remove outdated and incorrect pre-increment optimizationJann Horn1-56/+35
2020-06-22lib/mpi: Fix 64-bit MIPS build with ClangNathan Chancellor1-1/+1
2020-06-22lib: Reduce user_access_begin() boundaries in strncpy_from_user() and strnlen...Christophe Leroy2-14/+14
2020-06-22make 'user_access_begin()' do 'access_ok()'Linus Torvalds2-8/+10
2020-05-27ubsan: build ubsan.c more conservativelyArnd Bergmann1-1/+2
2020-05-27x86/uaccess, ubsan: Fix UBSAN vs. SMAPPeter Zijlstra1-0/+1
2020-05-10lib: devres: add a helper function for ioremap_ucTuowen Zhao1-0/+19
2020-05-10lib/mpi: Fix building for powerpc with clangNathan Chancellor1-17/+17
2020-04-23lib/raid6: use vdupq_n_u8 to avoid endianness warningsndesaulniers@google.com2-8/+4
2020-04-17uapi: rename ext2_swab() to swab() and share globally in swab.hYury Norov1-14/+2
2020-02-28lib/stackdepot.c: fix global out-of-bounds in stack_slabsAlexander Potapenko1-2/+6
2020-02-24lib/scatterlist.c: adjust indentation in __sg_alloc_tableNathan Chancellor1-1/+1
2020-02-11lib/test_kasan.c: fix memory leak in kmalloc_oob_krealloc_more()Gustavo A. R. Silva1-0/+1
2020-01-27Partially revert "kfifo: fix kfifo_alloc() and kfifo_init()"Linus Torvalds1-1/+2
2020-01-27devres: allow const resource argumentsArnd Bergmann1-1/+2
2019-12-17idr: Fix idr_get_next_ul race with idr_removeMatthew Wilcox (Oracle)1-20/+11
2019-12-17lib: raid6: fix awk build warningsGreg Kroah-Hartman1-1/+1
2019-12-05lib/genalloc.c: include vmalloc.hOlof Johansson1-0/+1
2019-12-05lib/genalloc.c: use vzalloc_node() to allocate the bitmapHuang Shijie1-2/+2
2019-12-05lib/genalloc.c: fix allocation of aligned buffer from non-aligned chunkAlexey Skidanov1-8/+12
2019-12-05idr: Fix idr_alloc_u32 on 32-bit systemsMatthew Wilcox (Oracle)1-1/+1
2019-12-01lib/bitmap.c: fix remaining space computation in bitmap_print_to_pagebufRasmus Villemoes1-4/+6
2019-11-24idr: Fix idr_get_next race with idr_removeMatthew Wilcox (Oracle)1-2/+13
2019-11-20crypto: chacha20 - Fix chacha20_block() keystream alignment (again)Eric Biggers1-3/+3
2019-11-12dump_stack: avoid the livelock of the dump_lockKevin Hao1-1/+6
2019-10-29lib: textsearch: fix escapes in example codeRandy Dunlap1-2/+2
2019-10-07kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16KNicolas Boichat1-1/+1
2019-09-06lib: logic_pio: Add logic_pio_unregister_range()John Garry1-0/+14
2019-09-06lib: logic_pio: Avoid possible overlap for unregistering regionsJohn Garry1-5/+5
2019-09-06lib: logic_pio: Fix RCU usageJohn Garry1-14/+35
2019-08-16test_firmware: fix a memory leak bugWenwen Wang1-1/+4
2019-08-06lib/test_string.c: avoid masking memset16/32/64 failuresPeter Rosin1-3/+3
2019-08-06lib/test_overflow.c: avoid tainting the kernel and fix wrap sizeKees Cook1-5/+6
2019-07-26lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZEChristophe Leroy1-4/+5
2019-07-26rslib: Fix handling of of caller provided syndromeFerdinand Blomqvist1-2/+12
2019-07-26rslib: Fix decoding of shortened codesFerdinand Blomqvist1-2/+2