diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-07-01 03:55:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-01 20:06:04 +0200 |
commit | aec0d0966f20d131cc4ff6927b02d448a478a6d4 (patch) | |
tree | 751fc1eca537287e2c12147d96dec9b074349881 /lib/test-string_helpers.c | |
parent | lib/string_helpers: introduce ESCAPE_NAP to escape non-ASCII and non-printable (diff) | |
download | linux-aec0d0966f20d131cc4ff6927b02d448a478a6d4.tar.xz linux-aec0d0966f20d131cc4ff6927b02d448a478a6d4.zip |
lib/string_helpers: allow to append additional characters to be escaped
Introduce a new flag to append additional characters, passed in 'only'
parameter, to be escaped if they fall in the corresponding class.
Link: https://lkml.kernel.org/r/20210504180819.73127-7-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions