diff options
author | Kees Cook <keescook@chromium.org> | 2016-04-21 00:46:25 +0200 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2016-04-21 02:47:26 +0200 |
commit | 21985319add60b55fc27230d9421a3e5af7e998a (patch) | |
tree | b6684d0914ddfbf34da20da2c7608e89694f7596 /security/yama/yama_lsm.c | |
parent | string_helpers: add kstrdup_quotable_cmdline (diff) | |
download | linux-21985319add60b55fc27230d9421a3e5af7e998a.tar.xz linux-21985319add60b55fc27230d9421a3e5af7e998a.zip |
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 '')
0 files changed, 0 insertions, 0 deletions