On Thu, 23 Jul 2015, Kees Cook wrote: > + > +/* > + * Return an allocated string that has been escaped of special characters > + * and double quotes, making it safe to log in quotes. > + */ > +static char *kstrdup_quotable(char *src) > +{
Do you think these should go into a library? -- James Morris <jmor...@namei.org> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/