[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1604061406080.30748@pobox.suse.cz>
Date: Wed, 6 Apr 2016 14:09:01 +0200 (CEST)
From: Miroslav Benes <mbenes@...e.cz>
To: Chris J Arges <chris.j.arges@...onical.com>
cc: Josh Poimboeuf <jpoimboe@...hat.com>,
Jiri Kosina <jikos@...nel.org>, jeyu@...hat.com,
eugene.shatokhin@...alab.ru, live-patching@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
pmladek@...e.cz
Subject: Re: Bug with paravirt ops and livepatches
On Wed, 6 Apr 2016, Chris J Arges wrote:
> I think this approach needs more thought and my code has bug(s).
And indeed there is...
long (*__kvm_arch_vm_ioctl)(struct file *filp, unsigned long ioctl, unsigned long arg) = NULL;
Use a different name than __kvm_arch_vm_ioctl and (ideally) make it
static.
kallsyms_lookup_name("__kvm_arch_vm_ioctl") returns the address of this
variable from the patch module.
Miroslav
Powered by blists - more mailing lists