[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163943830994.160816.6815884532342154175.b4-ty@kernel.dk>
Date: Mon, 13 Dec 2021 16:31:49 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Philipp Reisner <philipp.reisner@...bit.com>,
Kees Cook <keescook@...omium.org>
Cc: drbd-dev@...ts.linbit.com, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org,
Lars Ellenberg <lars.ellenberg@...bit.com>
Subject: Re: [PATCH] drbd: Use struct_group() to zero algs
On Thu, 18 Nov 2021 12:37:12 -0800, Kees Cook wrote:
> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memset(), avoid intentionally writing across
> neighboring fields.
>
> Add a struct_group() for the algs so that memset() can correctly reason
> about the size.
>
> [...]
Applied, thanks!
[1/1] drbd: Use struct_group() to zero algs
commit: 52a0cab35c568f896067641d8e07f798341954f5
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists