[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150413133346.GC12442@chrystal.uk.oracle.com>
Date: Mon, 13 Apr 2015 15:33:46 +0200
From: Quentin Casasnovas <quentin.casasnovas@...cle.com>
To: Rusty Russell <rusty@...abs.org>
Cc: Quentin Casasnovas <quentin.casasnovas@...cle.com>,
lkml <linux-kernel@...r.kernel.org>,
Oleg Nesterov <oleg@...hat.com>,
Borislav Petkov <bp@...en8.de>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 7/7] modpost: handle relocations mismatch in __ex_table.
On Mon, Apr 13, 2015 at 08:48:56PM +0930, Rusty Russell wrote:
> Quentin Casasnovas <quentin.casasnovas@...cle.com> writes:
> > __ex_table is a simple table section where each entry is a pair of
> > addresses - the first address is an address which can fault in kernel
> > space, and the second address points to where the kernel should jump to
> > when handling that fault. This is how copy_from_user() does not crash the
> > kernel if userspace gives a borked pointer for example.
>
> Warnings on 32-bit:
>
> [snip/]
>
> Fixed like so:
Thanks for the fixing, and nice catch on the "mistmatch" ;)
^
Quentin
--
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