[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yg0xmWaBDNVmCB3b@redhat.com>
Date: Wed, 16 Feb 2022 12:17:13 -0500
From: Joe Lawrence <joe.lawrence@...hat.com>
To: live-patching@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kbuild@...r.kernel.org
Subject: Re: [RFC PATCH v6 00/12] livepatch: klp-convert tool
On Wed, Feb 16, 2022 at 11:39:28AM -0500, Joe Lawrence wrote:
>
> [ ... snip ... ]
>
> lib/livepatch/Makefile | 12 +
> lib/livepatch/test_klp_convert.h | 45 +
> lib/livepatch/test_klp_convert1.c | 121 +++
> lib/livepatch/test_klp_convert2.c | 110 +++
> lib/livepatch/test_klp_convert_data.c | 190 ++++
> lib/livepatch/test_klp_convert_keys.c | 91 ++
> lib/livepatch/test_klp_convert_keys_mod.c | 52 +
> lib/livepatch/test_klp_convert_mod_a.c | 31 +
> lib/livepatch/test_klp_convert_mod_b.c | 19 +
> lib/livepatch/test_klp_convert_mod_c.c | 36 +
> lib/livepatch/test_klp_convert_sections.c | 120 +++
A general (selftests) question: is there any build mechanism in the
kernel tree that is used to *expect* build failure?
Under certain circumstances, we would need klp-convert to fail and it
would be helpful to test for that. At the moment I am considered out of
tree tests that could exercise the code this way, but definitely prefer
anything that is already in-tree.
Thanks,
-- Joe
Powered by blists - more mailing lists