1. 31 5月, 2013 1 次提交
    • M
      arm64: treat unhandled compat el0 traps as undef · 381cc2b9
      Mark Rutland 提交于
      Currently, if a compat process reads or writes from/to a disabled
      cp15/cp14 register, the trap is not handled by the el0_sync_compat
      handler, and the kernel will head to bad_mode, where it will die(), and
      oops(). For 64 bit processes, disabled system register accesses are
      currently treated as unhandled instructions.
      
      This patch modifies entry.S to treat these unhandled traps as undefined
      instructions, sending a SIGILL to userspace. This gives processes a
      chance to handle this and stop using inaccessible registers, and
      prevents further issues in the kernel as a result of the die().
      Reported-by: NJohannes Jensen <Johannes.Jensen@arm.com>
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      381cc2b9
  2. 17 4月, 2013 1 次提交
  3. 14 2月, 2013 1 次提交
  4. 05 12月, 2012 1 次提交
  5. 23 10月, 2012 1 次提交
  6. 17 10月, 2012 3 次提交
  7. 11 10月, 2012 1 次提交
  8. 09 10月, 2012 1 次提交
  9. 17 9月, 2012 1 次提交