summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-06-03 02:12:07 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-03 02:12:07 +0200
commit91681e8480af21dcab2c0d91bb1b7851cbc83d81 (patch)
tree4f362e947af8aa580f836d8232955ac2e693d23f /security
parentMerge tag 'for-5.8/io_uring-2020-06-01' of git://git.kernel.dk/linux-block (diff)
parenttomoyo: use true for bool variable (diff)
downloadlinux-91681e8480af21dcab2c0d91bb1b7851cbc83d81.tar.xz
linux-91681e8480af21dcab2c0d91bb1b7851cbc83d81.zip
Merge tag 'tomoyo-pr-20200601' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1
Pull tomoyo update from Tetsuo Handa: "One patch for suppressing coccicheck's warning" * tag 'tomoyo-pr-20200601' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1: tomoyo: use true for bool variable
Diffstat (limited to 'security')
-rw-r--r--security/tomoyo/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/common.c b/security/tomoyo/common.c
index f93f8acd05f7..c16b8c1b03e7 100644
--- a/security/tomoyo/common.c
+++ b/security/tomoyo/common.c
@@ -1025,7 +1025,7 @@ static bool tomoyo_select_domain(struct tomoyo_io_buffer *head,
if (domain)
head->r.domain = &domain->list;
else
- head->r.eof = 1;
+ head->r.eof = true;
tomoyo_io_printf(head, "# select %s\n", data);
if (domain && domain->is_deleted)
tomoyo_io_printf(head, "# This is a deleted domain.\n");