diff options
author | Kees Cook <keescook@chromium.org> | 2016-04-21 01:46:25 +0300 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2016-04-21 03:47:26 +0300 |
commit | 21985319add60b55fc27230d9421a3e5af7e998a (patch) | |
tree | b6684d0914ddfbf34da20da2c7608e89694f7596 /kernel/time/posix-clock.c | |
parent | 0d0443288f2244d7054796086e481ddef6abdbba (diff) | |
download | linux-21985319add60b55fc27230d9421a3e5af7e998a.tar.xz |
string_helpers: add kstrdup_quotable_file
Allocate a NULL-terminated file path with special characters escaped,
safe for logging.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'kernel/time/posix-clock.c')
0 files changed, 0 insertions, 0 deletions