[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b5bc7a92-a11e-d75d-eefb-fc640c87490d@redhat.com>
Date: Wed, 22 Jul 2020 10:56:39 -0400
From: Joe Lawrence <joe.lawrence@...hat.com>
To: Kees Cook <keescook@...omium.org>, Miroslav Benes <mbenes@...e.cz>
Cc: Kristen Carlson Accardi <kristen@...ux.intel.com>,
tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
arjan@...ux.intel.com, x86@...nel.org,
linux-kernel@...r.kernel.org, kernel-hardening@...ts.openwall.com,
rick.p.edgecombe@...el.com, live-patching@...r.kernel.org
Subject: Re: [PATCH v4 00/10] Function Granular KASLR
On 7/22/20 10:51 AM, Joe Lawrence wrote:
> On 7/22/20 10:39 AM, Kees Cook wrote:
>> On Wed, Jul 22, 2020 at 11:27:30AM +0200, Miroslav Benes wrote:
>>> Let me CC live-patching ML, because from a quick glance this is something
>>> which could impact live patching code. At least it invalidates assumptions
>>> which "sympos" is based on.
>>
>> In a quick skim, it looks like the symbol resolution is using
>> kallsyms_on_each_symbol(), so I think this is safe? What's a good
>> selftest for live-patching?
>>
>
> Hi Kees,
>
> I don't think any of the in-tree tests currently exercise the
> kallsyms/sympos end of livepatching.
>
On second thought, I mispoke.. The general livepatch code does use it:
klp_init_object
klp_init_object_loaded
klp_find_object_symbol
in which case any of the current kselftests should exercise that.
% make -C tools/testing/selftests/livepatch run_tests
-- Joe
Powered by blists - more mailing lists