diff options
| author | Ondrej Mosnacek <[email protected]> | 2019-01-28 15:43:33 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2019-01-28 23:10:28 +0000 |
| commit | e6f2f381e4015386a656a369835f949c26000e6b (patch) | |
| tree | dc68f80a85a1763ddb8fbe6cf03d569accffcbef /drivers/fpga/fpga-mgr.c | |
| parent | selinux: log invalid contexts in AVCs (diff) | |
| download | kernel-e6f2f381e4015386a656a369835f949c26000e6b.tar.gz kernel-e6f2f381e4015386a656a369835f949c26000e6b.zip | |
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 <[email protected]>
Reviewed-by: Stephen Smalley <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
