tomoyo: Use str_yes_no()
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 26 Jan 2022 09:39:50 +0000 (01:39 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 7 Feb 2022 21:04:44 +0000 (13:04 -0800)
commitea181a3494699f48e80687e3d467d443883ae0e9
tree0d4d4598b177809dea8ea3203707bf0f361fb99b
parentb8c75bd9746e3f1bdb5a1b6288b50dc2fdfec0ef
tomoyo: Use str_yes_no()

Remove the local yesno() implementation and adopt the str_yes_no() from
linux/string_helpers.h.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220126093951.1470898-11-lucas.demarchi@intel.com
security/tomoyo/audit.c
security/tomoyo/common.c
security/tomoyo/common.h