commit | e6f2f381e4015386a656a369835f949c26000e6b | [log] [tgz] |
---|---|---|
author | Ondrej Mosnacek <omosnace@redhat.com> | Mon Jan 28 16:43:33 2019 +0100 |
committer | Paul Moore <paul@paul-moore.com> | Mon Jan 28 18:10:28 2019 -0500 |
tree | dc68f80a85a1763ddb8fbe6cf03d569accffcbef | |
parent | fede148324c34360ce8c30a9a5bdfac5574b2a59 [diff] |
selinux: replace BUG_ONs with WARN_ONs in avc.c These checks are only guarding against programming errors that could silently grant too many permissions. These cases are better handled with WARN_ON(), since it doesn't really help much to crash the machine in this case. 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>