Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-11-02 Thread Toshi Kani
On Sat, 2015-10-31 at 14:58 +0300, Stas Sergeev wrote: > 29.10.2015 01:51, Toshi Kani пишет: > > On Wed, 2015-10-28 at 13:22 -0600, Toshi Kani wrote: > > > On Wed, 2015-10-28 at 10:34 -0600, Toshi Kani wrote: : > > > I looked at the dosemu code and was able to reproduce the issue with a > > >

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-11-02 Thread Toshi Kani
On Sat, 2015-10-31 at 14:58 +0300, Stas Sergeev wrote: > 29.10.2015 01:51, Toshi Kani пишет: > > On Wed, 2015-10-28 at 13:22 -0600, Toshi Kani wrote: > > > On Wed, 2015-10-28 at 10:34 -0600, Toshi Kani wrote: : > > > I looked at the dosemu code and was able to reproduce the issue with a > > >

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-31 Thread Stas Sergeev
29.10.2015 01:51, Toshi Kani пишет: On Wed, 2015-10-28 at 13:22 -0600, Toshi Kani wrote: On Wed, 2015-10-28 at 10:34 -0600, Toshi Kani wrote: On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: 28.10.2015 03:04, Toshi Kani пишет: On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote:

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-31 Thread Stas Sergeev
29.10.2015 01:51, Toshi Kani пишет: On Wed, 2015-10-28 at 13:22 -0600, Toshi Kani wrote: On Wed, 2015-10-28 at 10:34 -0600, Toshi Kani wrote: On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: 28.10.2015 03:04, Toshi Kani пишет: On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote:

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-30 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 7:05 AM, Stas Sergeev wrote: > 27.10.2015 03:52, Andy Lutomirski пишет: >> On Mon, Oct 26, 2015 at 4:45 AM, Stas Sergeev wrote: >>> 26.10.2015 04:25, Andy Lutomirski пишет: This is take 2 at fixing x86 64-bit signals wrt SS. After a lot of thought, this is not

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-30 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 7:05 AM, Stas Sergeev wrote: > 27.10.2015 03:52, Andy Lutomirski пишет: >> On Mon, Oct 26, 2015 at 4:45 AM, Stas Sergeev wrote: >>> 26.10.2015 04:25, Andy Lutomirski пишет: This is take 2 at fixing x86 64-bit signals wrt SS. After a lot

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Toshi Kani
On Wed, 2015-10-28 at 13:22 -0600, Toshi Kani wrote: > On Wed, 2015-10-28 at 10:34 -0600, Toshi Kani wrote: > > On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: > > > 28.10.2015 03:04, Toshi Kani пишет: > > > > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > > > > > On Tue, Oct

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Toshi Kani
On Wed, 2015-10-28 at 10:34 -0600, Toshi Kani wrote: > On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: > > 28.10.2015 03:04, Toshi Kani пишет: > > > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > > > > On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev > > > > wrote: > > > > > > >

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Toshi Kani
On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: > 28.10.2015 03:04, Toshi Kani пишет: > > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > > > On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev wrote: > > > > > > > > I can't easily post an Oops: under X it doesn't even appear - > >

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Stas Sergeev
28.10.2015 03:04, Toshi Kani пишет: > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: >> On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev wrote: >>> >>> I can't easily post an Oops: under X it doesn't even appear - >>> machine freezes immediately, and under non-KMS console it is >>>

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Stas Sergeev
28.10.2015 03:04, Toshi Kani пишет: > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: >> On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev wrote: >>> >>> I can't easily post an Oops: under X it doesn't even appear - >>> machine freezes immediately, and under non-KMS console it

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Toshi Kani
On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: > 28.10.2015 03:04, Toshi Kani пишет: > > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > > > On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev wrote: > > > > > > > > I can't easily post an Oops: under X it doesn't even

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Toshi Kani
On Wed, 2015-10-28 at 10:34 -0600, Toshi Kani wrote: > On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: > > 28.10.2015 03:04, Toshi Kani пишет: > > > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > > > > On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev > > > > wrote:

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Toshi Kani
On Wed, 2015-10-28 at 13:22 -0600, Toshi Kani wrote: > On Wed, 2015-10-28 at 10:34 -0600, Toshi Kani wrote: > > On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: > > > 28.10.2015 03:04, Toshi Kani пишет: > > > > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > > > > > On Tue, Oct

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-27 Thread Toshi Kani
On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev wrote: > > > > I can't easily post an Oops: under X it doesn't even appear - > > machine freezes immediately, and under non-KMS console it is > > possible to get one, but difficult to

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-27 Thread Linus Torvalds
On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev wrote: > > I can't easily post an Oops: under X it doesn't even appear - > machine freezes immediately, and under non-KMS console it is > possible to get one, but difficult to screen-shot (using bare > metal, not VM). Also the Oops was seemingly

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-27 Thread Stas Sergeev
27.10.2015 03:52, Andy Lutomirski пишет: > On Mon, Oct 26, 2015 at 4:45 AM, Stas Sergeev wrote: >> 26.10.2015 04:25, Andy Lutomirski пишет: >>> This is take 2 at fixing x86 64-bit signals wrt SS. After a lot of >>> thought, this is not controlled by any flags -- I would much prefer >>> to avoid

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-27 Thread Linus Torvalds
On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev wrote: > > I can't easily post an Oops: under X it doesn't even appear - > machine freezes immediately, and under non-KMS console it is > possible to get one, but difficult to screen-shot (using bare > metal, not VM). Also the Oops was

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-27 Thread Toshi Kani
On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev wrote: > > > > I can't easily post an Oops: under X it doesn't even appear - > > machine freezes immediately, and under non-KMS console it is > > possible to get one, but

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-27 Thread Stas Sergeev
27.10.2015 03:52, Andy Lutomirski пишет: > On Mon, Oct 26, 2015 at 4:45 AM, Stas Sergeev wrote: >> 26.10.2015 04:25, Andy Lutomirski пишет: >>> This is take 2 at fixing x86 64-bit signals wrt SS. After a lot of >>> thought, this is not controlled by any flags -- I would much prefer

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-26 Thread Andy Lutomirski
On Mon, Oct 26, 2015 at 4:45 AM, Stas Sergeev wrote: > 26.10.2015 04:25, Andy Lutomirski пишет: >> This is take 2 at fixing x86 64-bit signals wrt SS. After a lot of >> thought, this is not controlled by any flags -- I would much prefer >> to avoid opt-in behavior. Instead, it just tries hard

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-26 Thread Stas Sergeev
26.10.2015 04:25, Andy Lutomirski пишет: > This is take 2 at fixing x86 64-bit signals wrt SS. After a lot of > thought, this is not controlled by any flags -- I would much prefer > to avoid opt-in behavior. Instead, it just tries hard to avoid > triggering the cases that break DOSEMU. > >

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-26 Thread Stas Sergeev
26.10.2015 04:25, Andy Lutomirski пишет: > This is take 2 at fixing x86 64-bit signals wrt SS. After a lot of > thought, this is not controlled by any flags -- I would much prefer > to avoid opt-in behavior. Instead, it just tries hard to avoid > triggering the cases that break DOSEMU. > >

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-26 Thread Andy Lutomirski
On Mon, Oct 26, 2015 at 4:45 AM, Stas Sergeev wrote: > 26.10.2015 04:25, Andy Lutomirski пишет: >> This is take 2 at fixing x86 64-bit signals wrt SS. After a lot of >> thought, this is not controlled by any flags -- I would much prefer >> to avoid opt-in behavior. Instead, it

[PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-25 Thread Andy Lutomirski
This is take 2 at fixing x86 64-bit signals wrt SS. After a lot of thought, this is not controlled by any flags -- I would much prefer to avoid opt-in behavior. Instead, it just tries hard to avoid triggering the cases that break DOSEMU. Stas, this now seems to pass the test you sent me. It

[PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-25 Thread Andy Lutomirski
This is take 2 at fixing x86 64-bit signals wrt SS. After a lot of thought, this is not controlled by any flags -- I would much prefer to avoid opt-in behavior. Instead, it just tries hard to avoid triggering the cases that break DOSEMU. Stas, this now seems to pass the test you sent me. It