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


Groups > linux.kernel > #1306840

RE: [PATCH v8 1/3] x86: Expand exception table to allow new handling options

From "Luck, Tony" <tony.luck@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH v8 1/3] x86: Expand exception table to allow new handling options
Date 2016-01-12 00:50 +0100
Message-ID <qPUnM-162-29@gated-at.bofh.it> (permalink)
References (2 earlier) <qOQYV-6P7-1@gated-at.bofh.it> <qOSHo-88e-5@gated-at.bofh.it> <qOTtM-k6-15@gated-at.bofh.it> <qOVlT-1EY-1@gated-at.bofh.it> <qPTL4-Pk-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> I agree that for at least put_user() using asm goto would be an even
> better option.  get_user() on the other hand, will be much messier to
> deal with, since asm goto statements can't have outputs, plus it
> zeroes the output register on fault.

get_user() is the much more interesting one for me. A read from
a poisoned user address that generates a machine check is something
that can be recovered (kill the process).  A write to user space doesn't
even generate a machine check.

-Tony

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


Thread

[PATCH v8 0/3] Machine check recovery when kernel accesses poison Tony Luck <tony.luck@intel.com> - 2016-01-09 01:20 +0100
  [PATCH v8 1/3] x86: Expand exception table to allow new handling  options Tony Luck <tony.luck@intel.com> - 2016-01-09 01:20 +0100
    Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Andy Lutomirski <luto@amacapital.net> - 2016-01-09 03:00 +0100
      Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Brian Gerst <brgerst@gmail.com> - 2016-01-09 04:50 +0100
        Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Brian Gerst <brgerst@gmail.com> - 2016-01-09 05:40 +0100
          Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Andy Lutomirski <luto@amacapital.net> - 2016-01-09 07:40 +0100
            Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Brian Gerst <brgerst@gmail.com> - 2016-01-12 00:10 +0100
              Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Andy Lutomirski <luto@amacapital.net> - 2016-01-12 00:30 +0100
              RE: [PATCH v8 1/3] x86: Expand exception table to allow new  handling options "Luck, Tony" <tony.luck@intel.com> - 2016-01-12 00:50 +0100
      Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Tony Luck <tony.luck@gmail.com> - 2016-01-09 18:50 +0100
        Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Andy Lutomirski <luto@amacapital.net> - 2016-01-09 19:10 +0100
          Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Tony Luck <tony.luck@gmail.com> - 2016-01-09 21:00 +0100
            Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Andy Lutomirski <luto@amacapital.net> - 2016-01-09 23:40 +0100
              Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling options Tony Luck <tony.luck@gmail.com> - 2016-01-10 02:20 +0100
      Re: [PATCH v8 1/3] x86: Expand exception table to allow new handling  options "Luck, Tony" <tony.luck@intel.com> - 2016-01-11 01:30 +0100
  [PATCH v8 2/3] x86, mce: Check for faults tagged in  EXTABLE_CLASS_FAULT exception table entries Tony Luck <tony.luck@intel.com> - 2016-01-09 01:20 +0100

csiph-web