aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/string.h
AgeCommit message (Expand)AuthorFilesLines
2024-05-02string: Add additional __realloc_size() annotations for "dup" helpersKees Cook1-5/+8
2024-04-24string.h: Introduce memtostr() and memtostr_pad()Kees Cook1-0/+49
2024-03-12Merge tag 'hardening-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-5/+81
2024-02-29kernel.h: Move lib/cmdline.c prototypes to string.hAndy Shevchenko1-0/+8
2024-02-20string: Allow 2-argument strscpy_pad()Kees Cook1-13/+20
2024-02-20string: Allow 2-argument strscpy()Kees Cook1-3/+35
2024-02-20string: Redefine strscpy_pad() as a macroKees Cook1-2/+31
2024-02-01mm/util: Introduce kmemdup_array()Kartik1-0/+1
2024-01-19string: Remove strlcpy()Kees Cook1-3/+0
2023-11-03Merge tag 'pinctrl-v6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/l...Linus Torvalds1-0/+1
2023-11-01Merge tag 'drm-next-2023-10-31-1' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-0/+40
2023-10-18string: Adjust strtomem() logic to allow for smaller sourcesKees Cook1-2/+5
2023-10-09string.h: add array-wrappers for (v)memdup_user()Philipp Stanner1-0/+40
2023-10-03kernel.h: Move ARRAY_SIZE() to a separate headerAlejandro Colomar1-0/+1
2023-06-05lib/string_helpers: Change returned value of the strreplace()Andy Shevchenko1-1/+1
2023-01-18mm: new primitive kvmemdup()Hao Sun1-0/+1
2022-11-01string: Add __realloc_size hint to kmemdup()Kees Cook1-1/+1
2022-09-07string: Introduce strtomem() and strtomem_pad()Kees Cook1-0/+43
2022-05-12fortify: Provide a memcpy trap door for sharp cornersKees Cook1-0/+4
2021-11-03string: uninline memcpy_and_padGuenter Roeck1-17/+2
2021-10-18string.h: Introduce memset_startat() for wiping trailing members and paddingKees Cook1-0/+18
2021-10-18string.h: Introduce memset_after() for wiping trailing members/paddingKees Cook1-0/+17
2021-09-25fortify: Move remaining fortify helpers into fortify-string.hKees Cook1-9/+0
2021-08-19isystem: ship and use stdarg.hAlexey Dobriyan1-1/+1
2021-07-01kernel.h: split out kstrtox() and simple_strtox() to a separate headerAndy Shevchenko1-7/+0
2021-02-26string.h: move fortified functions definitions in a dedicated header.Francis Laniel1-281/+1
2020-12-22kasan, arm64: expand CONFIG_KASAN checksAndrey Konovalov1-1/+1
2020-12-15string.h: add FORTIFY coverage for strscpy()Francis Laniel1-0/+48
2020-12-15lib: string.h: detect intra-object overflow in fortified string functionsDaniel Axtens1-11/+16
2020-10-06x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()Dan Williams1-8/+1
2020-06-03string.h: fix incompatibility between FORTIFY_SOURCE and KASANDaniel Axtens1-12/+48
2020-02-04lib/string: add strnchrnul()Yury Norov1-0/+1
2019-12-01rss_stat: add support to detect RSS updates of external mmJoel Fernandes (Google)1-0/+2
2019-10-08lib/string: Make memzero_explicit() inline instead of externalArvind Sankar1-1/+20
2019-09-25kernel-doc: core-api: include string.h into core-apiJoe Perches1-2/+3
2019-04-08lib/string: Add strscpy_pad() functionTobin C. Harding1-0/+4
2019-04-05lib/string.c: implement a basic bcmpNick Desaulniers1-0/+3
2018-12-22string.h: Add str_has_prefix() helper functionSteven Rostedt (VMware)1-0/+20
2018-10-11lib: Add memcat_p(): paste 2 pointer arrays togetherAlexander Shishkin1-0/+7
2018-05-15x86/asm/memcpy_mcsafe: Return bytes remainingDan Williams1-2/+2
2018-01-31Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+1
2018-01-30Merge branch 'for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-1/+1
2018-01-19string: drop __must_check from strscpy() and restore strscpy() usages in cgroupTejun Heo1-1/+1
2018-01-07new primitive: vmemdup_user()Al Viro1-0/+1
2017-12-14string.h: workaround for increased stack usageArnd Bergmann1-1/+4
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-11string.h: un-fortify memcpy_and_padMartin Wilck1-13/+2
2017-09-09Merge branch 'for-4.14/block-postmerge' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+30
2017-09-08lib/string.c: add multibyte memset functionsMatthew Wilcox1-0/+30
2017-08-28string.h: add memcpy_and_pad()Martin Wilck1-0/+30
2017-07-15Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-0/+1
2017-07-14replace incorrect strscpy use in FORTIFY_SOURCEDaniel Micay1-11/+12
2017-07-12include/linux/string.h: add the option of fortified string.h functionsDaniel Micay1-0/+200
2017-07-06Provide a function to create a NUL-terminated string from unterminated dataDavid Howells1-0/+1
2017-06-09x86, uaccess: introduce copy_from_iter_flushcache for pmem / cache-bypass ope...Dan Williams1-0/+6
2017-05-05Merge tag 'libnvdimm-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+8
2017-04-25x86, dax, pmem: remove indirection around memcpy_from_pmem()Dan Williams1-0/+8
2017-03-23lib/string: add sysfs_match_string helperHeikki Krogerus1-0/+10
2016-05-19include/linux: apply __malloc attributeRasmus Villemoes1-1/+1
2016-03-17lib: move strtobool() to kstrtobool()Kees Cook1-1/+5
2016-03-17lib/string: introduce match_string() helperAndy Shevchenko1-0/+2
2016-01-04new helper: memdup_user_nul()Al Viro1-0/+1
2015-09-10string: provide strscpy()Chris Metcalf1-0/+3
2015-06-25lib/string.c: introduce strreplace()Rasmus Villemoes1-0/+1
2015-02-13mm/util: add kstrdup_constAndrzej Hajda1-0/+3
2015-02-12lib/string.c: remove strnicmp()Rasmus Villemoes1-3/+0
2014-10-24Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+3
2014-10-17random: add and use memzero_explicit() for clearing dataDaniel Borkmann1-2/+3
2014-10-14lib: string: Make all calls to strnicmp into calls to strncasecmpRasmus Villemoes1-1/+1
2014-05-23lib: add glibc style strchrnul() variantGrant Likely1-0/+3
2012-12-17string: introduce helper to get base file name from given pathAndy Shevchenko1-0/+11
2012-10-13UAPI: (Scripted) Disintegrate include/linuxDavid Howells1-6/+1
2012-08-21string: do not export memweight() to userspaceWANG Cong1-1/+1
2012-07-30string: introduce memweight()Akinobu Mita1-0/+3
2011-10-31lib/string.c: introduce memchr_inv()Akinobu Mita1-0/+1
2011-05-19Add a strtobool function matching semantics of existing in kernel equivalentsJonathan Cameron1-0/+1
2010-01-14lib: Introduce strnstr()Li Zefan1-1/+4
2009-12-15Subject: Re: [PATCH] strstrip incorrectly marked __must_checkKOSAKI Motohiro1-1/+8
2009-12-15string: factorize skip_spaces and export it to be generally availableAndré Goddard Rosa1-0/+1
2009-10-29strstrip(): mark as as must_checkKOSAKI Motohiro1-1/+1
2009-04-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-module-an...Linus Torvalds1-0/+9
2009-04-05Merge branch 'printk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+7
2009-04-01memdup_user(): introduceLi Zefan1-0/+1
2009-03-31strstarts: helper function for !strncmp(str, prefix, strlen(prefix))Rusty Russell1-0/+9
2009-03-06vsprintf: add binary printfLai Jiangshan1-0/+7
2008-11-02linux/string.h: fix comment typoJeff Garzik1-1/+1
2008-07-24move memory_read_from_buffer() from fs.h to string.hAkinobu Mita1-0/+3
2008-05-01Add a new sysfs_streq() string comparison functionDavid Brownell1-0/+2
2007-10-30[TIPC]: Fix headercheck wrt. tipc_config.hDavid S. Miller1-9/+3
2007-07-18add argv_split()Jeremy Fitzhardinge1-0/+3
2007-07-18add kstrndupJeremy Fitzhardinge1-0/+1
2007-04-26[STRING]: Move strcasecmp/strncasecmp to lib/string.cDavid S. Miller1-0/+6
2006-10-01[PATCH] kmemdup: introduceAlexey Dobriyan1-0/+1
2006-06-23[PATCH] strstrip() APIPekka Enberg1-0/+1
2006-04-11[PATCH] Clean up arch-overrides in linux/string.hKyle McMartin1-5/+12
2006-03-24[PATCH] strndup_user()Davi Arnaut1-0/+2
2005-10-08[PATCH] gfp flags annotations - part 1Al Viro1-1/+1
2005-07-07[PATCH] propagate __nocast annotationsAlexey Dobriyan1-1/+1
2005-06-23[PATCH] create a kstrdup library functionPaulo Marques1-0/+2
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+96