Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1192651
| From | James Morris <jmorris@namei.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] LSM: LoadPin for module and firmware loading restrictions |
| Date | 2015-07-27 06:30 +0200 |
| Message-ID | <pQId3-7Ap-7@gated-at.bofh.it> (permalink) |
| References | <pPzvc-6Kc-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
<jmorris@namei.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] LSM: LoadPin for module and firmware loading restrictions Kees Cook <keescook@chromium.org> - 2015-07-24 03:00 +0200 Re: [PATCH] LSM: LoadPin for module and firmware loading restrictions James Morris <jmorris@namei.org> - 2015-07-27 06:30 +0200
csiph-web