Re: Is it a bug in etrap.S srmmu stack check routine?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Eldar Abusalimov <eldar.abusalimov@xxxxxxxxx>
Date: Tue, 4 Aug 2009 17:07:32 +0400

> 2009/8/4 David Miller <davem@xxxxxxxxxxxxx>:
>> No, a bad user stack would be if %sp >= PAGE_OFFSET, the user stack
>> must be below the lowest kernel address which is PAGE_OFFSET.
> 
> Yes, I agree, but you've just written that
> 
>>>> We want to fall through to line 288 if PAGE_OFFSET > %sp and that's
>>>> what we do.
> 
> and line 288 is trap_setup_user_stack_is_bolixed branch.

Sorry, logic reversed.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux