]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: Fix failure to audit context info in build_change_hat
authorJohn Johansen <john.johansen@canonical.com>
Fri, 20 Jul 2018 10:25:25 +0000 (03:25 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Fri, 20 Jul 2018 10:25:25 +0000 (03:25 -0700)
commit246c038f49d32c9264eb9e9f83fc0f3c57e45d7d
tree60b9bcaf2fe6424453824d30987e3295bb53556f
parent88792dcae7cac462d4875c4b983f2b00768ab98a
apparmor: Fix failure to audit context info in build_change_hat

Cleans up clang warning:
warning: variable 'info' set but not used [-Wunused-but-set-variable]

Fixes: eee275fe7ec1a ("apparmor: move change_hat mediation to using labels")
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/domain.c