Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1192651

Re: [PATCH] LSM: LoadPin for module and firmware loading restrictions

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From James Morris <jmorris@namei.org>
Newsgroups linux.kernel
Subject Re: [PATCH] LSM: LoadPin for module and firmware loading restrictions
Date Mon, 27 Jul 2015 06:30:01 +0200
Message-ID <pQId3-7Ap-7@gated-at.bofh.it> (permalink)
References <pPzvc-6Kc-5@gated-at.bofh.it>
X-Original-To Kees Cook <keescook@chromium.org>
User-Agent Alpine 2.11 (LRH 23 2013-08-11)
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
X-Original-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
X-Original-Date Mon, 27 Jul 2015 14:26:31 +1000 (AEST)
X-Original-Message-ID <alpine.LRH.2.11.1507271425140.25501@namei.org>
X-Original-References <20150724005330.GA15227@www.outflux.net>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1192651

Show key headers only | View raw


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


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