diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2020-04-28 14:55:12 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-05-01 16:34:57 -0400 |
commit | 03414a49ad5f3c56988c36d2070e402ffa17feaf (patch) | |
tree | 810a13efb69606650b481efaf4afec11b5abacad /security/selinux/netlink.c | |
parent | 46619b44e431d85d64a8dfcb7166d0ae098544c8 (diff) | |
download | linux-03414a49ad5f3c56988c36d2070e402ffa17feaf.tar.gz linux-03414a49ad5f3c56988c36d2070e402ffa17feaf.tar.bz2 linux-03414a49ad5f3c56988c36d2070e402ffa17feaf.zip |
selinux: do not allocate hashtabs dynamically
It is simpler to allocate them statically in the corresponding
structure, avoiding unnecessary kmalloc() calls and pointer
dereferencing.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
[PM: manual merging required in policydb.c]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/netlink.c')
0 files changed, 0 insertions, 0 deletions