Messages in this thread | | | From | Paul Moore <> | Date | Sun, 5 Dec 2021 22:00:28 -0500 | Subject | Re: [PATCH -next] selinux: Use struct_size() helper in kmalloc() |
| |
On Thu, Dec 2, 2021 at 2:34 AM Xiu Jianfeng <xiujianfeng@huawei.com> wrote: > > Make use of struct_size() helper instead of an open-coded calculation. > > Link: https://github.com/KSPP/linux/issues/160 > Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> > --- > security/selinux/ss/sidtab.c | 2 +- > security/selinux/xfrm.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-)
Merged into selinux/next, thank you.
-- paul moore www.paul-moore.com
| |