]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: remove some no-op BUG_ONs
authorOndrej Mosnacek <omosnace@redhat.com>
Sat, 4 May 2019 19:59:06 +0000 (21:59 +0200)
committerPaul Moore <paul@paul-moore.com>
Tue, 21 May 2019 20:23:43 +0000 (16:23 -0400)
commitec3530ab013286bf060232603721819bf42342c7
tree0acc1ee87df781fe5e80c80a1b4e71d6a7f246c0
parent681911e75d66d48ccb82e5feca7b94825e1e6928
selinux: remove some no-op BUG_ONs

Since a11ac6a8afc8 ("selinux: convert to kvmalloc"), these check whether
an address-of value is NULL, which is pointless.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/services.c