[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrVg_LeHu3iCa-yGT6NubF6Vxo338wfytG-jWa0_+mmgmg@mail.gmail.com>
Date: Sun, 29 May 2016 12:08:29 -0700
From: Andy Lutomirski <luto@...capital.net>
To: Borislav Petkov <bp@...en8.de>
Cc: Brian Gerst <brgerst@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
X86 ML <x86@...nel.org>, Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH 4/7] x86/dumpstack: If addr_limit is non-default, display it
On May 29, 2016 11:42 AM, "Boris Petkov" <bp@...en8.de> wrote:
>
> Andy Lutomirski <luto@...capital.net> wrote:
> >Easier said than done. struct thread_info doesn't have addr_limit on
> >sensible architectures (e.g. sparc), and I'd rather not stick a bunch
> >of ifdefs in generic code.
>
> It's not like it doesn't have an actual address limit though - I'm guessing it is something like the max userspace address on the arch... UINT_MAX or somesuch.
Sure, but how do I implement that? There's no "does this arch have
addr_limit in thread_info" general flag that I know of.
--Andy
Powered by blists - more mailing lists