|
Message-ID: <CABgxDo+W3--A9Gy5jUjbYuPSJMcTz5Wn8A8GWd3v+V9zO9gLYw@mail.gmail.com>
Date: Tue, 23 Feb 2021 18:49:12 +0100
From: Romain Perier <romain.perier@...il.com>
To: Michal Koutný <mkoutny@...e.com>
Cc: Kees Cook <keescook@...omium.org>,
Kernel Hardening <kernel-hardening@...ts.openwall.com>, Tejun Heo <tj@...nel.org>,
Zefan Li <lizefan.x@...edance.com>, Johannes Weiner <hannes@...xchg.org>, cgroups@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 01/20] cgroup: Manual replacement of the deprecated
strlcpy() with return values
Le mar. 23 févr. 2021 à 17:13, Michal Koutný <mkoutny@...e.com> a écrit :
> Hello.
>
> On Mon, Feb 22, 2021 at 04:12:12PM +0100, Romain Perier <
> romain.perier@...il.com> wrote:
> > --- a/kernel/cgroup/cgroup.c
> > +++ b/kernel/cgroup/cgroup.c
> > @@ -2265,7 +2265,7 @@ int task_cgroup_path(struct task_struct *task,
> char *buf, size_t buflen)
> Actually, this function isn't used at all. So I'd instead propose the
> patch below.
>
+1 if it is dead code.
Thanks,
Romain
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.