audit: audit_tree_match can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Wed, 4 Nov 2015 13:23:51 +0000 (08:23 -0500)
committerPaul Moore <pmoore@redhat.com>
Wed, 4 Nov 2015 13:23:51 +0000 (08:23 -0500)
commit6f1b5d7afe1d737b7ca726e08e26f2e0367876d2
tree19d282f149497913afac9a9ed25389e5ee3f6199
parent9fcf836b215ca5685030ecab3e35ecc14ee3bcfb
audit: audit_tree_match can be boolean

This patch makes audit_tree_match return bool to improve readability
due to this particular function only using either one or zero as its
return value.

No functional change.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
[PM: tweaked the subject line]
Signed-off-by: Paul Moore <pmoore@redhat.com>
kernel/audit.h
kernel/audit_tree.c