diff options
| author | Andy Shevchenko <[email protected]> | 2021-07-01 01:55:20 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-07-01 18:06:04 +0000 |
| 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 | kernel-aec0d0966f20d131cc4ff6927b02d448a478a6d4.tar.gz kernel-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/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Chuck Lever <[email protected]>
Cc: "J. Bruce Fields" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
