From: James Morris <jmorris@namei.org>
To: Kees Cook <keescook@chromium.org>
Cc: linux-security-module@vger.kernel.org,
James Morris <james.l.morris@oracle.com>,
Casey Schaufler <casey@schaufler-ca.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] LSM: LoadPin for module and firmware loading restrictions
Date: Mon, 27 Jul 2015 14:26:31 +1000 (AEST) [thread overview]
Message-ID: <alpine.LRH.2.11.1507271425140.25501@namei.org> (raw)
In-Reply-To: <20150724005330.GA15227@www.outflux.net>
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>
next prev parent reply other threads:[~2015-07-27 4:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-24 0:53 Kees Cook
2015-07-27 4:26 ` James Morris [this message]
2015-07-27 18:33 ` Kees Cook
2015-07-28 2:36 ` James Morris
2015-07-28 2:42 ` Kees Cook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LRH.2.11.1507271425140.25501@namei.org \
--to=jmorris@namei.org \
--cc=casey@schaufler-ca.com \
--cc=james.l.morris@oracle.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®