[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172555519045.1959528.3550791041539820887.b4-ty@kernel.org>
Date: Thu, 5 Sep 2024 09:53:12 -0700
From: Kees Cook <kees@...nel.org>
To: andy@...nel.org,
Hongbo Li <lihongbo22@...wei.com>
Cc: Kees Cook <kees@...nel.org>,
linux-hardening@...r.kernel.org,
chris.zjh@...wei.com
Subject: Re: [PATCH -next v2 0/2] Introduce several opposite string choice helpers
On Thu, 05 Sep 2024 17:25:38 +0800, Hongbo Li wrote:
> Similar to the exists helper: str_enable_disable/
> str_enabled_disabled/str_on_off/str_yes_no helpers, we can
> add the opposite helpers. That's str_disable_enable,
> str_disabled_enabled, str_off_on and str_no_yes.
>
> There are more than 10 cases currently (expect
> str_disable_enable now has 3 use cases) exist in the code
> can be replaced with these helper.
>
> [...]
Applied to for-next/hardening, thanks!
[1/2] lib/string_choices: Introduce several opposite string choice helpers
https://git.kernel.org/kees/c/c2708ba91c3c
[2/2] lib/string_choices: Add some comments to make more clear for string choices helpers.
https://git.kernel.org/kees/c/c121d5cc3a99
Take care,
--
Kees Cook
Powered by blists - more mailing lists