1. 08 10月, 2007 1 次提交
    • L
      VT_WAITACTIVE: Avoid returning EINTR when not necessary · 70cb9793
      Linus Torvalds 提交于
      We should generally prefer to return ERESTARTNOHAND rather than EINTR,
      so that processes with unhandled signals that get ignored don't return
      EINTR.
      
      This can help with X startup issues:
      
          Fatal server error:
          xf86OpenConsole: VT_WAITACTIVE failed: Interrupted system call
      
      although the real fix is having the X server always retry EINTR
      regardless (since EINTR does happen for signals that have handlers
      installed). Keithp has a patch for that.
      
      Regardless, ERESTARTNOHAND is the correct thing to use.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      70cb9793
  2. 07 10月, 2007 4 次提交
  3. 06 10月, 2007 4 次提交
  4. 05 10月, 2007 8 次提交
  5. 04 10月, 2007 15 次提交
  6. 03 10月, 2007 8 次提交