[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhSy_vWSaRy9xJ+Uis1h1YvqM3nhmMZYB6O0ww=tVi3nxw@mail.gmail.com>
Date: Mon, 6 Jan 2020 21:09:33 -0500
From: Paul Moore <paul@...l-moore.com>
To: liuyang34 <yangliuxm34@...il.com>
Cc: Stephen Smalley <sds@...ho.nsa.gov>,
Eric Paris <eparis@...isplace.org>, selinux@...r.kernel.org,
linux-kernel@...r.kernel.org, liuyang34 <liuyang34@...omi.com>
Subject: Re: [PATCH v2] selinuxfs: use scnprinft to get real length for inode
On Mon, Jan 6, 2020 at 8:39 PM liuyang34 <yangliuxm34@...il.com> wrote:
>
> as the return value of snprintf maybe over the size of TMPBUFLEN, use scnprintf
> to instead of it in sel_read_class and sel_read_perm
>
> Signed-off-by: liuyang34 <liuyang34@...omi.com>
> ---
> security/selinux/selinuxfs.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
I corrected the typo in the subject line, and cleaned up the
description a little and merged it into selinux/next - thanks!
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists