On Tue, 2016-04-12 at 16:19 -0500, Serge E. Hallyn wrote:
> Quoting Kees Cook (keesc...@chromium.org):
> >
> > Provide an escaped (but readable: no inter-argument NULLs)
> > commandline
> > safe for logging.
> >
Sorry, have no access to the original mail right now.
>> +char *kstrdup_quotable_cm
Quoting Kees Cook (keesc...@chromium.org):
> Provide an escaped (but readable: no inter-argument NULLs) commandline
> safe for logging.
>
> Signed-off-by: Kees Cook
Acked-by: Serge Hallyn
> ---
> include/linux/string_helpers.h | 1 +
> lib/string_helpers.c | 34
Provide an escaped (but readable: no inter-argument NULLs) commandline
safe for logging.
Signed-off-by: Kees Cook
---
include/linux/string_helpers.h | 1 +
lib/string_helpers.c | 34 ++
2 files changed, 35 insertions(+)
diff --git a/include/linux/strin