aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-29lib/string_helpers: Add flags param to string_get_size()Gravatar Andy Shevchenko 1-13/+16
2024-02-29fortify: Improve buffer overflow reportingGravatar Kees Cook 1-4/+5
2024-02-29fortify: Provide KUnit counters for failure testingGravatar Kees Cook 1-0/+2
2024-02-29fortify: Split reporting and avoid passing string pointerGravatar Kees Cook 1-3/+20
2024-02-20string: Redefine strscpy_pad() as a macroGravatar Kees Cook 1-34/+0
2023-09-11lib/string_helpers: string_get_size() now returns characters wroteGravatar Kent Overstreet 1-4/+6
2023-08-04lib/string_helpers: Add kstrdup_and_replace() helperGravatar Andy Shevchenko 1-0/+15
2023-06-05lib/string_helpers: Change returned value of the strreplace()Gravatar Andy Shevchenko 1-4/+8
2022-09-05lib/string_helpers: Introduce parse_int_array_user()Gravatar Cezary Rojewski 1-0/+44
2022-05-12lib/string_helpers: fix not adding strarray to device's resource listGravatar Puyou Lu 1-0/+3
2022-02-13fortify: Detect struct member overflows in memcpy() at compile-timeGravatar Kees Cook 1-0/+6
2021-11-18lib/string_helpers: Introduce managed variant of kasprintf_strarray()Gravatar Andy Shevchenko 1-0/+31
2021-11-18lib/string_helpers: Introduce kasprintf_strarray()Gravatar Andy Shevchenko 1-0/+33
2021-11-03string: uninline memcpy_and_padGravatar Guenter Roeck 1-0/+20
2021-09-25fortify: Move remaining fortify helpers into fortify-string.hGravatar Kees Cook 1-0/+2
2021-09-25lib/string: Move helper functions out of string.cGravatar Kees Cook 1-0/+193
2021-07-19string_helpers: Escape double quotes in escape_specialGravatar Chris Down 1-0/+4
2021-07-01seq_file: drop unused *_escape_mem_ascii()Gravatar Andy Shevchenko 1-19/+0
2021-07-01lib/string_helpers: allow to append additional characters to be escapedGravatar Andy Shevchenko 1-4/+15
2021-07-01lib/string_helpers: introduce ESCAPE_NAP to escape non-ASCII and non-printableGravatar Andy Shevchenko 1-4/+16
2021-07-01lib/string_helpers: introduce ESCAPE_NA for escaping non-ASCIIGravatar Andy Shevchenko 1-4/+17
2021-07-01lib/string_helpers: drop indentation level in string_escape_mem()Gravatar Andy Shevchenko 1-18/+18
2021-07-01lib/string_helpers: move ESCAPE_NP check inside 'else' branch in a loopGravatar Andy Shevchenko 1-7/+10
2020-09-30lib: string_helpers: provide kfree_strarray()Gravatar Bartosz Golaszewski 1-0/+23
2019-07-16lib/string_helpers: fix some kerneldoc warningsGravatar Jonathan Corbet 1-37/+40
2019-07-03nfsd: escape high characters in binary dataGravatar J. Bruce Fields 1-0/+19
2019-05-21treewide: Add SPDX license identifier for missed filesGravatar Thomas Gleixner 1-0/+1
2017-09-13mm: treewide: remove GFP_TEMPORARY allocation flagGravatar Michal Hocko 1-2/+2
2016-04-21string_helpers: add kstrdup_quotable_fileGravatar Kees Cook 1-0/+30
2016-04-21string_helpers: add kstrdup_quotable_cmdlineGravatar Kees Cook 1-0/+34
2016-04-21string_helpers: add kstrdup_quotableGravatar Kees Cook 1-0/+28
2016-01-20string_helpers: fix precision loss for some inputsGravatar James Bottomley 1-20/+43
2015-09-17lib/string_helpers.c: fix infinite loop in string_get_size()Gravatar Vitaly Kuznetsov 1-1/+5
2015-09-10lib/string_helpers: rename "esc" arg to "only"Gravatar Kees Cook 1-7/+7
2015-09-10lib/string_helpers: clarify esc arg in string_escape_memGravatar Kees Cook 1-4/+6
2015-04-16Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiGravatar Linus Torvalds 1-20/+48
2015-04-15lib/string_helpers.c: change semantics of string_escape_memGravatar Rasmus Villemoes 1-42/+7
2015-04-15lib/string_helpers.c: refactor string_escape_memGravatar Rasmus Villemoes 1-103/+105
2015-04-10sd, mmc, virtio_blk, string_helpers: fix block size unitsGravatar James Bottomley 1-20/+48
2015-02-12libstring_helpers.c:string_get_size(): return voidGravatar Rasmus Villemoes 1-6/+4
2015-02-12lib/string_helpers.c:string_get_size(): use 32 bit arithmetic when possibleGravatar Rasmus Villemoes 1-5/+4
2015-02-12lib/string_helpers.c:string_get_size(): remove redundant prefixesGravatar Rasmus Villemoes 1-4/+3
2014-10-14lib / string_helpers: introduce string_escape_mem()Gravatar Andy Shevchenko 1-0/+274
2014-10-14lib / string_helpers: move documentation to c-fileGravatar Andy Shevchenko 1-0/+38
2014-08-06lib/string_helpers.c: constify static arraysGravatar Mathias Krause 1-6/+9
2013-04-30lib/string_helpers: introduce generic string_unescapeGravatar Andy Shevchenko 1-0/+133
2012-05-29lib/string_helpers.c: make arrays staticGravatar Andrew Morton 1-4/+4
2012-03-07lib: reduce the use of module.h wherever possibleGravatar Paul Gortmaker 1-1/+1
2008-10-23[SCSI] lib: string_get_size(): don't hang on zero; no decimals on exactGravatar H. Peter Anvin 1-15/+19
2008-10-03[SCSI] lib: add generic helper to print sizes rounded to the correct SI rangeGravatar James Bottomley 1-0/+64