summaryrefslogtreecommitdiffstats
path: root/security/Kconfig
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2021-04-02 10:56:18 +0200
committerPaul Moore <paul@paul-moore.com>2021-04-02 11:46:37 -0400
commit442dc00f82a9727dc0c48c44f792c168f593c6df (patch)
tree056a44fd675c1b4f0032a2566bf7968d3585af3e /security/Kconfig
parentee5de60a08b7d8d255722662da461ea159c15538 (diff)
downloadlinux-442dc00f82a9727dc0c48c44f792c168f593c6df.tar.bz2
selinux: make nslot handling in avtab more robust
1. Make sure all fileds are initialized in avtab_init(). 2. Slightly refactor avtab_alloc() to use the above fact. 3. Use h->nslot == 0 as a sentinel in the access functions to prevent dereferencing h->htable when it's not allocated. Cc: stable@vger.kernel.org Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/Kconfig')
0 files changed, 0 insertions, 0 deletions