summaryrefslogtreecommitdiff
path: root/lib/string.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-20string: Allow 2-argument strscpy()Kees Cook1-4/+2
2024-02-01lib/string: shrink lib/string.i via IWYUTanzir Hasan1-8/+9
2024-01-19string: Remove strlcpy()Kees Cook1-15/+0
2023-06-01string: use __builtin_memcpy() in strlcpy/strlcatAlexander Potapenko1-2/+2
2023-01-27lib/string: Use strchr() in strpbrk()Andy Shevchenko1-6/+4
2022-10-28string: Rewrite and add more kern-doc for the str*() functionsKees Cook1-82/+0
2022-10-03kmsan: disable strscpy() optimization under KMSANAlexander Potapenko1-0/+8
2022-04-29lib/string.c: simplify str[c]spnRasmus Villemoes1-19/+6
2021-09-25lib/string: Move helper functions out of string.cKees Cook1-204/+6
2021-08-30string: improve default out-of-line memcmp() implementationLinus Torvalds1-0/+16
2021-07-01lib: memscan() fixletAlexey Dobriyan1-1/+1
2020-12-15lib/string: remove unnecessary #undefsNick Desaulniers1-4/+0
2020-09-26lib/string.c: implement stpcpyNick Desaulniers1-0/+24
2020-02-21lib/string.c: update match_string() doc-strings with correct behaviorAlexandru Ardelean1-0/+16
2020-02-04lib/string: add strnchrnul()Yury Norov1-0/+17
2019-10-08lib/string: Make memzero_explicit() inline instead of externalArvind Sankar1-21/+0
2019-09-25strscpy: reject buffer sizes larger than INT_MAXKees Cook1-1/+1
2019-09-25kernel-doc: core-api: include string.h into core-apiJoe Perches1-4/+6
2019-07-16lib/string.c: allow searching for NUL with strnchrPeter Rosin1-1/+10
2019-04-08lib/string: Add strscpy_pad() functionTobin C. Harding1-7/+40
2019-04-05lib/string.c: implement a basic bcmpNick Desaulniers1-0/+20
2018-10-16lib: Fix ia64 bootloader linkageAlexander Shishkin1-30/+0
2018-10-11lib: Add memcat_p(): paste 2 pointer arrays togetherAlexander Shishkin1-0/+31
2018-02-01lib/strscpy: Shut up KASAN false-positives in strscpy()Andrey Ryabinin1-1/+1
2017-11-17lib: add module support to string testsGeert Uytterhoeven1-141/+0
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-08lib/string.c: check for kmalloc() failureDan Carpenter1-3/+15
2017-09-08lib/string.c: add testcases for memset16/32/64Matthew Wilcox1-0/+129
2017-09-08lib/string.c: add multibyte memset functionsMatthew Wilcox1-0/+66
2017-07-12include/linux/string.h: add the option of fortified string.h functionsDaniel Micay1-0/+7
2017-05-04Merge tag 'usb-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-0/+26
2017-04-02kernel-api.rst: fix a series of errors when parsing C filesmchehab@s-opensource.com1-1/+1
2017-03-23lib/string: add sysfs_match_string helperHeikki Krogerus1-0/+26
2016-03-17lib: move strtobool() to kstrtobool()Kees Cook1-29/+0
2016-03-17lib/string: introduce match_string() helperAndy Shevchenko1-0/+26
2015-11-10lib/string.c: add ULL suffix to the constant definitionAndy Shevchenko1-1/+1
2015-10-06strscpy: zero any trailing garbage bytes in the destinationChris Metcalf1-1/+2
2015-09-10string: provide strscpy()Chris Metcalf1-0/+88
2015-06-25lib/string.c: introduce strreplace()Rasmus Villemoes1-0/+17
2015-05-04lib: make memzero_explicit more robust against dead store eliminationDaniel Borkmann1-1/+1
2015-03-20lib: memzero_explicit: use barrier instead of OPTIMIZER_HIDE_VARmancha security1-1/+1
2015-02-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Linus Torvalds1-0/+5
2015-02-13lib/string.c: improve strrchr()Rasmus Villemoes1-6/+6
2015-02-12lib/string.c: remove strnicmp()Rasmus Villemoes1-8/+0
2015-01-08lib: memzero_explicit: add comment for its usageDaniel Borkmann1-0/+5
2014-10-24Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+16
2014-10-17random: add and use memzero_explicit() for clearing dataDaniel Borkmann1-0/+16
2014-10-14lib: string: Make all calls to strnicmp into calls to strncasecmpRasmus Villemoes1-0/+1
2014-10-14lib/string.c: remove duplicated functionRasmus Villemoes1-17/+10
2014-09-13Make ARCH_HAS_FAST_MULTIPLIER a real config variableLinus Torvalds1-2/+2