[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VeWvezuhKx-Q4hHV6=TqbHx=jEmR1wuqEzdJY+xUv7OAw@mail.gmail.com>
Date: Tue, 15 Jul 2025 09:52:46 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Kees Cook <kees@...nel.org>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, linux-hardening@...r.kernel.org,
linux-kernel@...r.kernel.org, Andy Shevchenko <andy@...nel.org>
Subject: Re: [PATCH v1 1/1] string: Group str_has_prefix() and strstarts()
On Tue, Jul 15, 2025 at 8:24 AM Kees Cook <kees@...nel.org> wrote:
>
> On Fri, Jul 11, 2025 at 11:55:14AM +0300, Andy Shevchenko wrote:
> > The two str_has_prefix() and strstarts() are about the same
> > with a slight difference on what they return. Group them in
> > the header.
>
> It seems more like strstarts should just be a macro around
> str_has_prefix() != 0?
This change is only about grouping, but if you think it worth
modifying, I am not going to object. Just that I am about to have my
vacation and I leave this as is for now. Up to you how to proceed.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists