[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1405261049390.12047@pobox.suse.cz>
Date: Mon, 26 May 2014 10:50:44 +0200 (CEST)
From: Jiri Kosina <jkosina@...e.cz>
To: Jiri Slaby <jslaby@...e.cz>
cc: Aravinda Prasad <aravinda@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org, jirislaby@...il.com,
Vojtech Pavlik <vojtech@...e.cz>, Michael Matz <matz@...e.de>,
Steven Rostedt <rostedt@...dmis.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...hat.com>
Subject: Re: [RFC 03/16] kgr: initial code
On Tue, 20 May 2014, Jiri Slaby wrote:
> Yes, this is a problem I was thinking of in another context yesterday.
> Patching ->read or any other file_openrations which hold state over
> user<->kernel switches may be a potential threat like above. The same as
> in other implementations of live patching IMO. I put that on a TODO
> checklist for creating patches. This has to be investigated manually
> when creating a patch.
Another thing that has to be handled very carefully is patching functions
which are using self-modifying code (static keys), to make sure that the
logic is not switched in the new function.
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists