audit: audit_string_contains_control 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)
commit9fcf836b215ca5685030ecab3e35ecc14ee3bcfb
tree7f4724ee44e7ed835ff5459324492aa9b025186a
parent36734810488e618d48cc14782f7111b3dfaffb83
audit: audit_string_contains_control can be boolean

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

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