[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhRCMp=E15FKVVSmkrat_u_WqWY6WE=Evsj=Ar-hHm3y3Q@mail.gmail.com>
Date: Thu, 16 Dec 2021 17:42:44 -0500
From: Paul Moore <paul@...l-moore.com>
To: xiujianfeng <xiujianfeng@...wei.com>
Cc: "Gustavo A. R. Silva" <gustavoars@...nel.org>, eparis@...hat.com,
keescook@...omium.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH -next, v2] audit: use struct_size() helper in kmalloc()
On Wed, Dec 15, 2021 at 9:05 PM xiujianfeng <xiujianfeng@...wei.com> wrote:
> 在 2021/12/16 6:00, Gustavo A. R. Silva 写道:
> > On Wed, Dec 15, 2021 at 11:04:20AM +0800, Xiu Jianfeng wrote:
> >> Make use of struct_size() helper instead of an open-coded calculation.
> > I think you should also mention the flexible array transformation in
> > struct audit_rule_data.
>
> thanks, and due to the previous patch has been merged into linux-next,
> a diff patch about struct_size() and
>
> a seperate patch about flexible array will be send.
Please make sure to send it to the audit mailing list as well. I
don't like merging patches that haven't been sent to the mailing list,
it's a bad practice IMO.
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists