commit | 994fb0651d02e49567e7550eb574981b387fc06f | [log] [tgz] |
---|---|---|
author | Ondrej Mosnacek <omosnace@redhat.com> | Fri Jan 25 11:06:49 2019 +0100 |
committer | Paul Moore <paul@paul-moore.com> | Fri Jan 25 17:25:02 2019 -0500 |
tree | 2093a65b36429491a7b55f6ddcd5e5b508db907d | |
parent | a2c513835bb6c6ca660ae4ecda8ff9f676e47e55 [diff] |
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>