1. 05 7月, 2010 5 次提交
  2. 03 7月, 2010 1 次提交
  3. 02 7月, 2010 2 次提交
  4. 01 7月, 2010 9 次提交
  5. 30 6月, 2010 2 次提交
    • F
      x86: Send a SIGTRAP for user icebp traps · a1e80faf
      Frederic Weisbecker 提交于
      Before we had a generic breakpoint layer, x86 used to send a
      sigtrap for any debug event that happened in userspace,
      except if it was caused by lazy dr7 switches.
      
      Currently we only send such signal for single step or breakpoint
      events.
      
      However, there are three other kind of debug exceptions:
      
      - debug register access detected: trigger an exception if the
        next instruction touches the debug registers. We don't use
        it.
      - task switch, but we don't use tss.
      - icebp/int01 trap. This instruction (0xf1) is undocumented and
        generates an int 1 exception. Unlike single step through TF
        flag, it doesn't set the single step origin of the exception
        in dr6.
      
      icebp then used to be reported in userspace using trap signals
      but this have been incidentally broken with the new breakpoint
      code. Reenable this. Since this is the only debug event that
      doesn't set anything in dr6, this is all we have to check.
      
      This fixes a regression in Wine where World Of Warcraft got broken
      as it uses this for software protection checks purposes. And
      probably other apps do.
      Reported-and-tested-by: NAlexandre Julliard <julliard@winehq.org>
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Prasad <prasad@linux.vnet.ibm.com>
      Cc: 2.6.33.x 2.6.34.x <stable@kernel.org>
      a1e80faf
    • L
      um: os-linux/mem.c needs sys/stat.h · fb967ecc
      Liu Aleaxander 提交于
      The os-linux/mem.c file calls fchmod function, which is declared in sys/stat.h
      header file, so include it.  Fixes build breakage under FC13.
      Signed-off-by: NLiu Aleaxander <Aleaxander@gmail.com>
      Acked-by: NBoaz Harrosh <bharrosh@panasas.com>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fb967ecc
  6. 28 6月, 2010 1 次提交
  7. 25 6月, 2010 1 次提交
  8. 24 6月, 2010 1 次提交
  9. 21 6月, 2010 1 次提交
  10. 20 6月, 2010 1 次提交
  11. 19 6月, 2010 1 次提交
  12. 17 6月, 2010 1 次提交
  13. 16 6月, 2010 5 次提交
  14. 15 6月, 2010 9 次提交