]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
audit: audit_tree_match can be boolean
authorYaowei Bai <bywxiaobai@163.com>
Tue, 29 Sep 2015 14:15:41 +0000 (22:15 +0800)
committerPaul Moore <pmoore@redhat.com>
Tue, 29 Sep 2015 18:39:18 +0000 (14:39 -0400)
commitfdccf57528695a97da9b4fd9b1484306f25e4e0e
treee7e2add0934ef223727833da90d5a8d82f32f675
parent90aca5424210ee28f3031123bdcb38b36baab7c4
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