On Sun, May 29, 2016 at 12:08:29PM -0700, Andy Lutomirski wrote:
> 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.
What about get_fs()? Looks like all arches implement that and on sparc
it is something called thread_info
On May 29, 2016 11:42 AM, "Boris Petkov" wrote:
>
> Andy Lutomirski 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 ad
Andy Lutomirski 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 ma
On Wed, May 25, 2016 at 4:39 AM, Borislav Petkov wrote:
> On Tue, May 24, 2016 at 03:48:41PM -0700, Andy Lutomirski wrote:
>> This will help debug OOPSes related to USER_DS vs KERNEL_DS.
>>
>> Signed-off-by: Andy Lutomirski
>> ---
>> arch/x86/kernel/dumpstack_32.c | 4
>> arch/x86/kernel/du
On Wed, May 25, 2016 at 4:32 AM, Borislav Petkov wrote:
> On Tue, May 24, 2016 at 03:48:41PM -0700, Andy Lutomirski wrote:
>> This will help debug OOPSes related to USER_DS vs KERNEL_DS.
>>
>> Signed-off-by: Andy Lutomirski
>> ---
>> arch/x86/kernel/dumpstack_32.c | 4
>> arch/x86/kernel/du
On Tue, May 24, 2016 at 03:48:41PM -0700, Andy Lutomirski wrote:
> This will help debug OOPSes related to USER_DS vs KERNEL_DS.
>
> Signed-off-by: Andy Lutomirski
> ---
> arch/x86/kernel/dumpstack_32.c | 4
> arch/x86/kernel/dumpstack_64.c | 5 +
> 2 files changed, 9 insertions(+)
>
>
On Tue, May 24, 2016 at 03:48:41PM -0700, Andy Lutomirski wrote:
> This will help debug OOPSes related to USER_DS vs KERNEL_DS.
>
> Signed-off-by: Andy Lutomirski
> ---
> arch/x86/kernel/dumpstack_32.c | 4
> arch/x86/kernel/dumpstack_64.c | 5 +
> 2 files changed, 9 insertions(+)
>
>
This will help debug OOPSes related to USER_DS vs KERNEL_DS.
Signed-off-by: Andy Lutomirski
---
arch/x86/kernel/dumpstack_32.c | 4
arch/x86/kernel/dumpstack_64.c | 5 +
2 files changed, 9 insertions(+)
diff --git a/arch/x86/kernel/dumpstack_32.c b/arch/x86/kernel/dumpstack_32.c
index
8 matches
Mail list logo