aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2020-04-28 14:55:12 +0200
committerPaul Moore <paul@paul-moore.com>2020-05-01 16:34:57 -0400
commit03414a49ad5f3c56988c36d2070e402ffa17feaf (patch)
tree810a13efb69606650b481efaf4afec11b5abacad /security/selinux/include
parentselinux: fix return value on error in policydb_read() (diff)
downloadlinux-dev-03414a49ad5f3c56988c36d2070e402ffa17feaf.tar.xz
linux-dev-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/include')
0 files changed, 0 insertions, 0 deletions