commit | 21985319add60b55fc27230d9421a3e5af7e998a | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Wed Apr 20 15:46:25 2016 -0700 |
committer | James Morris <james.l.morris@oracle.com> | Thu Apr 21 10:47:26 2016 +1000 |
tree | b6684d0914ddfbf34da20da2c7608e89694f7596 | |
parent | 0d0443288f2244d7054796086e481ddef6abdbba [diff] |
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>