summaryrefslogtreecommitdiffstats
path: root/security/yama/yama_lsm.c
diff options
context:
space:
mode:
authorKees Cook2016-04-21 00:46:25 +0200
committerJames Morris2016-04-21 02:47:26 +0200
commit21985319add60b55fc27230d9421a3e5af7e998a (patch)
treeb6684d0914ddfbf34da20da2c7608e89694f7596 /security/yama/yama_lsm.c
parentstring_helpers: add kstrdup_quotable_cmdline (diff)
downloadkernel-qcow2-linux-21985319add60b55fc27230d9421a3e5af7e998a.tar.gz
kernel-qcow2-linux-21985319add60b55fc27230d9421a3e5af7e998a.tar.xz
kernel-qcow2-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 'security/yama/yama_lsm.c')
0 files changed, 0 insertions, 0 deletions