summaryrefslogtreecommitdiff
path: root/kernel/kcsan
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2021-12-14 14:48:54 +0300
committerPaul Moore <paul@paul-moore.com>2021-12-15 01:39:42 +0300
commitbc6e60a4fc1daef2d95367fea8ee74fc5b62b7d6 (patch)
tree0cfc61274ea2b8a6b19a8862b59fb1b67935d32b /kernel/kcsan
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
downloadlinux-bc6e60a4fc1daef2d95367fea8ee74fc5b62b7d6.tar.xz
audit: use struct_size() helper in kmalloc()
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@huawei.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/kcsan')
0 files changed, 0 insertions, 0 deletions