[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHC9VhRYZgDLsouVYkecHK1208dAHwLoGZ56sSTf1zBJ00R0ag@mail.gmail.com>
Date: Tue, 14 Dec 2021 17:47:29 -0500
From: Paul Moore <paul@...l-moore.com>
To: Xiu Jianfeng <xiujianfeng@...wei.com>
Cc: eparis@...hat.com, keescook@...omium.org, linux-audit@...hat.com,
linux-kernel@...r.kernel.org, wangweiyang2@...wei.com,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH -next] audit: use struct_size() helper in kmalloc()
On Tue, Dec 14, 2021 at 6:48 AM Xiu Jianfeng <xiujianfeng@...wei.com> wrote:
>
> Make use of struct_size() helper instead of an open-coded calucation.
>
> Link: https://github.com/KSPP/linux/issues/160
> Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
> ---
> kernel/audit.c | 2 +-
> kernel/audit_tree.c | 2 +-
> kernel/auditfilter.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
Merged into audit/next, thanks!
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists