Re: [tip:x86/urgent] x86-64, modify_ldt: Ban 16-bit segments on 64-bit kernels

From: H. Peter Anvin
Date: Sat Apr 12 2014 - 23:01:27 EST


I would think any sensible application with 16-bit segments would be using sigaltstack. Does anyone know what Wine does?

On April 12, 2014 6:29:11 PM PDT, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
>On Sat, Apr 12, 2014 at 6:25 PM, Andy Lutomirski <luto@xxxxxxxxxxxxxx>
>wrote:
>> On Sat, Apr 12, 2014 at 5:03 PM, H. Peter Anvin <hpa@xxxxxxxxx>
>wrote:
>>> A signal arriving while in the user space trampoline could seriously
>>> complicate life.
>>
>> Agreed.
>
>Maybe I don't agree. Have signals ever worked sensibly when delivered
>to a task running on an unexpected stack or code segment?
>
>--Andy

--
Sent from my mobile phone. Please pardon brevity and lack of formatting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/