diff options
author | Thomas Meyer <thomas@m3y3r.de> | 2017-10-07 16:02:21 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2017-11-08 21:16:36 +0100 |
commit | 39adb92598a7466e00f72bb8a197d8811017418a (patch) | |
tree | 7a8ea743e00544d10547a5a87014d61e35103b2b /security/integrity/ima/ima_fs.c | |
parent | ima: check signature enforcement against cmdline param instead of CONFIG (diff) | |
download | linux-39adb92598a7466e00f72bb8a197d8811017418a.tar.xz linux-39adb92598a7466e00f72bb8a197d8811017418a.zip |
ima: 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: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima_fs.c')
-rw-r--r-- | security/integrity/ima/ima_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_fs.c b/security/integrity/ima/ima_fs.c index 4d50b982b453..fa540c0469da 100644 --- a/security/integrity/ima/ima_fs.c +++ b/security/integrity/ima/ima_fs.c @@ -32,7 +32,7 @@ bool ima_canonical_fmt; static int __init default_canonical_fmt_setup(char *str) { #ifdef __BIG_ENDIAN - ima_canonical_fmt = 1; + ima_canonical_fmt = true; #endif return 1; } |