summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
AgeCommit message (Expand)AuthorFilesLines
2023-09-12lib/string_helpers: string_get_size() now returns characters wroteKent Overstreet1-4/+6
2023-08-05lib/string_helpers: Add kstrdup_and_replace() helperAndy Shevchenko1-0/+15
2023-06-06lib/string_helpers: Change returned value of the strreplace()Andy Shevchenko1-4/+8
2022-09-05lib/string_helpers: Introduce parse_int_array_user()Cezary Rojewski1-0/+44
2022-05-13lib/string_helpers: fix not adding strarray to device's resource listPuyou Lu1-0/+3
2022-02-14fortify: Detect struct member overflows in memcpy() at compile-timeKees Cook1-0/+6
2021-11-18lib/string_helpers: Introduce managed variant of kasprintf_strarray()Andy Shevchenko1-0/+31
2021-11-18lib/string_helpers: Introduce kasprintf_strarray()Andy Shevchenko1-0/+33
2021-11-03string: uninline memcpy_and_padGuenter Roeck1-0/+20
2021-09-25fortify: Move remaining fortify helpers into fortify-string.hKees Cook1-0/+2
2021-09-25lib/string: Move helper functions out of string.cKees Cook1-0/+193
2021-07-19string_helpers: Escape double quotes in escape_specialChris Down1-0/+4
2021-07-01seq_file: drop unused *_escape_mem_ascii()Andy Shevchenko1-19/+0
2021-07-01lib/string_helpers: allow to append additional characters to be escapedAndy Shevchenko1-4/+15
2021-07-01lib/string_helpers: introduce ESCAPE_NAP to escape non-ASCII and non-printableAndy Shevchenko1-4/+16
2021-07-01lib/string_helpers: introduce ESCAPE_NA for escaping non-ASCIIAndy Shevchenko1-4/+17
2021-07-01lib/string_helpers: drop indentation level in string_escape_mem()Andy Shevchenko1-18/+18
2021-07-01lib/string_helpers: move ESCAPE_NP check inside 'else' branch in a loopAndy Shevchenko1-7/+10
2020-09-30lib: string_helpers: provide kfree_strarray()Bartosz Golaszewski1-0/+23
2019-07-17lib/string_helpers: fix some kerneldoc warningsJonathan Corbet1-37/+40
2019-07-04nfsd: escape high characters in binary dataJ. Bruce Fields1-0/+19
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2017-09-14mm: treewide: remove GFP_TEMPORARY allocation flagMichal Hocko1-2/+2
2016-04-21string_helpers: add kstrdup_quotable_fileKees Cook1-0/+30
2016-04-21string_helpers: add kstrdup_quotable_cmdlineKees Cook1-0/+34
2016-04-21string_helpers: add kstrdup_quotableKees Cook1-0/+28
2016-01-21string_helpers: fix precision loss for some inputsJames Bottomley1-20/+43
2015-09-18lib/string_helpers.c: fix infinite loop in string_get_size()Vitaly Kuznetsov1-1/+5
2015-09-10lib/string_helpers: rename "esc" arg to "only"Kees Cook1-7/+7
2015-09-10lib/string_helpers: clarify esc arg in string_escape_memKees Cook1-4/+6
2015-04-17Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-20/+48
2015-04-16lib/string_helpers.c: change semantics of string_escape_memRasmus Villemoes1-42/+7
2015-04-16lib/string_helpers.c: refactor string_escape_memRasmus Villemoes1-103/+105
2015-04-11sd, mmc, virtio_blk, string_helpers: fix block size unitsJames Bottomley1-20/+48
2015-02-13libstring_helpers.c:string_get_size(): return voidRasmus Villemoes1-6/+4
2015-02-13lib/string_helpers.c:string_get_size(): use 32 bit arithmetic when possibleRasmus Villemoes1-5/+4
2015-02-13lib/string_helpers.c:string_get_size(): remove redundant prefixesRasmus Villemoes1-4/+3
2014-10-14lib / string_helpers: introduce string_escape_mem()Andy Shevchenko1-0/+274
2014-10-14lib / string_helpers: move documentation to c-fileAndy Shevchenko1-0/+38
2014-08-07lib/string_helpers.c: constify static arraysMathias Krause1-6/+9
2013-05-01lib/string_helpers: introduce generic string_unescapeAndy Shevchenko1-0/+133
2012-05-30lib/string_helpers.c: make arrays staticAndrew Morton1-4/+4
2012-03-08lib: reduce the use of module.h wherever possiblePaul Gortmaker1-1/+1
2008-10-23[SCSI] lib: string_get_size(): don't hang on zero; no decimals on exactH. Peter Anvin1-15/+19
2008-10-03[SCSI] lib: add generic helper to print sizes rounded to the correct SI rangeJames Bottomley1-0/+64