apparmor: replace remaining BUG_ON() asserts with AA_BUG()
authorJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 08:43:15 +0000 (00:43 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 09:18:56 +0000 (01:18 -0800)
commite6bfa25deb5096c05a08f01e4d6a436dd331fa88
tree5db7ff5a4ec43181058deb41fdcf403006fe3b42
parent2c17cd3681eab6d5d380dcfd073b5ee8c3440e7e
apparmor: replace remaining BUG_ON() asserts with AA_BUG()

AA_BUG() uses WARN and won't break the kernel like BUG_ON().

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c
security/apparmor/audit.c
security/apparmor/context.c
security/apparmor/lsm.c