[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.20.1707121754520.1175@namei.org>
Date: Wed, 12 Jul 2017 17:59:31 +1000 (AEST)
From: James Morris <jmorris@...ei.org>
To: Stefan Berger <"Stefan Bergerstefanb"@linux.vnet.ibm.com>
cc: ebiederm@...ssion.com, containers@...ts.linux-foundation.org,
lkp@...org, linux-kernel@...r.kernel.org,
James.Bottomley@...senPartnership.com,
linux-security-module@...r.kernel.org, casey@...aufler-ca.com,
zohar@...ux.vnet.ibm.com
Subject: Re: [PATCH v2] xattr: Enable security.capability in user
namespaces
On Tue, 11 Jul 2017, Stefan Berger wrote:
> + buflen = sizeof("@uid=") - 1 + sizeof("4294967295") - 1 + 1;
Why not strlen() here?
--
James Morris
<jmorris@...ei.org>
Powered by blists - more mailing lists