gcc-plugins/stackleak: Don't instrument itself
authorAlexander Popov <alex.popov@linux.com>
Wed, 24 Jun 2020 12:33:26 +0000 (15:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Sep 2020 09:29:15 +0000 (11:29 +0200)
commit2145297ac316df0211f0509d6e3cc913f30332bf
tree390831847029bc118f5c0d3f6350004796347b03
parent27a22e3c16450c3018da8254c544de4cd69c4bd9
gcc-plugins/stackleak: Don't instrument itself

[ Upstream commit 005e696df65d0ff90468ecf38a50aa584dc82421 ]

There is no need to try instrumenting functions in kernel/stackleak.c.
Otherwise that can cause issues if the cleanup pass of stackleak gcc plugin
is disabled.

Signed-off-by: Alexander Popov <alex.popov@linux.com>
Link: https://lore.kernel.org/r/20200624123330.83226-2-alex.popov@linux.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/Makefile