lkml.org 
[lkml]   [2015]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@oracle.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


\
 
 \ /
  Last update: 2015-04-13 16:01    [W:0.128 / U:3.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site