[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202504091029.BC5258A58@keescook>
Date: Wed, 9 Apr 2025 10:29:14 -0700
From: Kees Cook <kees@...nel.org>
To: Joel Granados <joel.granados@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Shuah Khan <shuah@...nel.org>, John Sperbeck <jsperbeck@...gle.com>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kselftest@...r.kernel.org
Subject: Re: [PATCH 4/4] sysctl: Close test ctl_headers with a for loop
On Fri, Mar 21, 2025 at 01:47:27PM +0100, Joel Granados wrote:
> As more tests are added, the exit function gets longer than it should
> be. Condense the un-register calls into a for loop to make it easier to
> add/remove tests.
>
> Signed-off-by: Joel Granados <joel.granados@...nel.org>
Much cleaner too. :)
Reviewed-by: Kees Cook <kees@...nel.org>
--
Kees Cook
Powered by blists - more mailing lists