lkml.org 
[lkml]   [2011]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] use %pK for /proc/kallsyms and /proc/modules
On Wed, 26 Jan 2011 16:29:36 -0800
Kees Cook <kees.cook@canonical.com> wrote:

> > > Note that this changes %x to %p, so some legitimately 0 values in
> > > /proc/kallsyms would have changed from 00000000 to "(null)". To avoid
> > > this, "(null)" is not used when using the "K" format. Anything parsing
> > > such addresses should have no problem with this change. (Thanks to Joe
> > > Perches for the suggestion.)
> >
> > OK, so what applications did this patch just break?
>
> I'm not aware of any breakage as a result of this yet.

There will be some - there always are :( But users will only see
problems if they've set kptr_restrict.

Which they shall do. How come we defaulted kptr_restrict to "true"?


\
 
 \ /
  Last update: 2011-01-27 01:49    [from the cache]
©2003-2011 Jasper Spaans