diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2021-12-02 10:35:33 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-12-06 05:58:32 +0300 |
commit | 5fe375728983b3fca6b958434a2e3f547bbbb2aa (patch) | |
tree | c42049f41c07ecb134db22c7640d8bc4853c54c9 /security/selinux/hooks.c | |
parent | 6326948f940dc3f77066d5cdc44ba6afe67830c0 (diff) | |
download | linux-5fe375728983b3fca6b958434a2e3f547bbbb2aa.tar.xz |
selinux: Use struct_size() helper in kmalloc()
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>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions