aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/services.c
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2019-01-25 11:06:49 +0100
committerPaul Moore <paul@paul-moore.com>2019-01-25 17:25:02 -0500
commit994fb0651d02e49567e7550eb574981b387fc06f (patch)
tree2093a65b36429491a7b55f6ddcd5e5b508db907d /security/selinux/ss/services.c
parentselinux: inline some AVC functions used only once (diff)
downloadlinux-dev-994fb0651d02e49567e7550eb574981b387fc06f.tar.xz
linux-dev-994fb0651d02e49567e7550eb574981b387fc06f.zip
selinux: replace some BUG_ON()s with a WARN_ON()
We don't need to crash the machine in these cases. Let's just detect the buggy state early and error out with a warning. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Reviewed-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/ss/services.c')
0 files changed, 0 insertions, 0 deletions