]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: Fix bool initialization/comparison
authorThomas Meyer <thomas@m3y3r.de>
Sat, 7 Oct 2017 14:02:21 +0000 (16:02 +0200)
committerJohn Johansen <john.johansen@canonical.com>
Tue, 21 Nov 2017 10:17:12 +0000 (02:17 -0800)
commit954317fef2ee789af55f82903dbc574905250f7c
tree70ced9c6a2a47e3cdb50e0abf878a994b21d019e
parent7bba39ae52c4d7b467d0a6f74cc067a561aac043
apparmor: Fix bool initialization/comparison

Bool initializations should use true and false. Bool tests don't need
comparisons.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c