lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20210125124533.101339-3-arnd@kernel.org> Date: Mon, 25 Jan 2021 13:45:27 +0100 From: Arnd Bergmann <arnd@...nel.org> To: linux-kernel@...r.kernel.org Cc: Arnd Bergmann <arnd@...db.de>, Kees Cook <keescook@...omium.org>, Brendan Higgins <brendanhiggins@...gle.com>, Shuah Khan <skhan@...uxfoundation.org>, Geert Uytterhoeven <geert+renesas@...der.be>, Alan Maguire <alan.maguire@...cle.com>, Dmitry Torokhov <dmitry.torokhov@...il.com>, Mika Westerberg <mika.westerberg@...ux.intel.com>, Vitor Massaru Iha <vitor@...saru.org>, linux-hardening@...r.kernel.org, linux-kselftest@...r.kernel.org, kunit-dev@...glegroups.com, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, "Rafael J. Wysocki" <rafael@...nel.org> Subject: [RFC 2/3] drivers/base: build kunit tests without structleak plugin From: Arnd Bergmann <arnd@...db.de> The structleak plugin causes the stack frame size to grow immensely: drivers/base/test/property-entry-test.c: In function 'pe_test_reference': drivers/base/test/property-entry-test.c:481:1: error: the frame size of 2640 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 481 | } | ^ drivers/base/test/property-entry-test.c: In function 'pe_test_uints': drivers/base/test/property-entry-test.c:99:1: error: the frame size of 2592 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] Turn it off in this file. Signed-off-by: Arnd Bergmann <arnd@...db.de> --- drivers/base/test/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/test/Makefile b/drivers/base/test/Makefile index 3ca56367c84b..2f15fae8625f 100644 --- a/drivers/base/test/Makefile +++ b/drivers/base/test/Makefile @@ -2,3 +2,4 @@ obj-$(CONFIG_TEST_ASYNC_DRIVER_PROBE) += test_async_driver_probe.o obj-$(CONFIG_KUNIT_DRIVER_PE_TEST) += property-entry-test.o +CFLAGS_REMOVE_property-entry-test.o += -fplugin-arg-structleak_plugin-byref -fplugin-arg-structleak_plugin-byref-all -- 2.29.2
Powered by blists - more mailing lists