Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1250169

Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit signal context

From Stas Sergeev <stsp@list.ru>
Newsgroups linux.kernel
Subject Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit signal context
Date 2015-10-18 18:50 +0200
Message-ID <qkZjH-2st-3@gated-at.bofh.it> (permalink)
References (9 earlier) <qjC5Q-2Mx-13@gated-at.bofh.it> <qkWlQ-6D8-23@gated-at.bofh.it> <qkYQF-1UT-5@gated-at.bofh.it> <qkZa1-2hf-9@gated-at.bofh.it> <qkZa1-2hf-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


18.10.2015 19:36, Andy Lutomirski пишет:
> On Sun, Oct 18, 2015 at 9:29 AM, Stas Sergeev <stsp@list.ru> wrote:
>> 18.10.2015 19:12, Andy Lutomirski пишет:
>>> On Sun, Oct 18, 2015 at 6:36 AM, Stas Sergeev <stsp@list.ru> wrote:
>>>> 15.10.2015 00:41, Andy Lutomirski пишет:
>>>>>> If this my
>>>>>> understanding is correct and the flag is just an indication rather
>>>>>> than a requested action, perhaps the name should be different,
>>>>>> e.g. UC_SIG_FROM_32BIT or the like?
>>>>>> Anyway, this is minor. :)
>>>>>> I'll try to test the patch within a few days, thanks for you time!
>>>>> No problem.  Thanks for being willing to test!
>>>> Hello Andy, I am unlucky at testing this.
>>>> dosemu doesn't even start for me on the git kernels.
>>>> After a half day of debugging, it seems the kernel forgets
>>>> to fill in the "err" field in the sigcontext struct when
>>>> page fault occurs. That confuses the dosemu's instruction
>>>> decoder.
>>>> Does this ring any bells?
>>> No, but I can reproduce it on some kernels.  Let me see if I can fix it,
>>> too.
>> Thanks!
>> You should really consider adding dosemu as your test-case.
>> It feels very unhappy on all recent kernels. I was getting hard
>> lock-ups under different circumstances (when starting windows,
>> for example). But fedora-packaged kernels are quite good, as of
>> yet. I fear the problems will soon populate to them too.
> I'll work on that.  It's a lot easier to have a packaged set of tests
> that say yes/no, though, and it's handy when those tests are fully
> open-source and easy to run (DOSEMU, in contrast, requires the
> annoyingly impossible-to-compile freedos stuff iirc, and the
> interesting bits need other test programs).  In any case, I'll add a
> self-test for the
> err thing once I figure out what's going on.
I meant just a local test-case on your PC. :)
It can't be a part of an automated test-suit of course.
But after changing anything in vm86 or signal handling,
running dosemu will never hurt, as it is probably the
most rigorous test-case for them. I deduce that based
on its breakage frequency with the kernel updates.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC 0/4] x86: sigcontext SS fixes, take 2 Andy Lutomirski <luto@kernel.org> - 2015-10-13 03:10 +0200
  [RFC 4/4] selftests/x86: Add tests for UC_SIGCONTEXT_SS and UC_STRICT_RESTORE_SS Andy Lutomirski <luto@kernel.org> - 2015-10-13 03:10 +0200
  [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit signal context Andy Lutomirski <luto@kernel.org> - 2015-10-13 03:10 +0200
    Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Stas Sergeev <stsp@list.ru> - 2015-10-13 18:10 +0200
      Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Ingo Molnar <mingo@kernel.org> - 2015-10-14 17:10 +0200
        Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Stas Sergeev <stsp@list.ru> - 2015-10-14 17:20 +0200
      Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Andy Lutomirski <luto@amacapital.net> - 2015-10-14 18:50 +0200
        Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Stas Sergeev <stsp@list.ru> - 2015-10-14 19:50 +0200
          Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Andy Lutomirski <luto@amacapital.net> - 2015-10-14 20:10 +0200
            Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Stas Sergeev <stsp@list.ru> - 2015-10-14 20:40 +0200
              Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Andy Lutomirski <luto@amacapital.net> - 2015-10-14 21:00 +0200
                Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Stas Sergeev <stsp@list.ru> - 2015-10-14 23:40 +0200
                Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Andy Lutomirski <luto@amacapital.net> - 2015-10-14 23:50 +0200
                Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Stas Sergeev <stsp@list.ru> - 2015-10-18 15:40 +0200
                Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Andy Lutomirski <luto@amacapital.net> - 2015-10-18 18:20 +0200
                Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Andy Lutomirski <luto@amacapital.net> - 2015-10-18 18:40 +0200
                Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Stas Sergeev <stsp@list.ru> - 2015-10-18 18:50 +0200
                Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Andy Lutomirski <luto@amacapital.net> - 2015-10-18 19:10 +0200
                Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Stas Sergeev <stsp@list.ru> - 2015-10-18 18:40 +0200
    Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Cyrill Gorcunov <gorcunov@gmail.com> - 2015-10-14 18:50 +0200
      Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Andy Lutomirski <luto@amacapital.net> - 2015-10-14 18:50 +0200
        Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Cyrill Gorcunov <gorcunov@gmail.com> - 2015-10-14 19:00 +0200
      Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Stas Sergeev <stsp@list.ru> - 2015-10-14 19:00 +0200
        Re: [RFC 3/4] x86/signal/64: Re-add support for SS in the 64-bit  signal context Cyrill Gorcunov <gorcunov@gmail.com> - 2015-10-14 19:10 +0200
  [RFC 2/4] x86/signal/64: Fix SS if needed when delivering a 64-bit signal Andy Lutomirski <luto@kernel.org> - 2015-10-13 03:10 +0200

csiph-web