1. 27 Oct, 2004 35 commits
  2. 26 Oct, 2004 5 commits
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/libata-2.6 · de8705b5
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      de8705b5
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/net-drivers-2.6 · cd9f63e2
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      cd9f63e2
    • Andrew Morton's avatar
      [PATCH] revert- sys_setaltroot · 64416848
      Andrew Morton authored
      We decided to do this a different way.
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      64416848
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.6 · e734088b
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      e734088b
    • Roland McGrath's avatar
      [PATCH] Wake up signalled tasks when exiting ptrace · 403f2912
      Roland McGrath authored
      In general it is not safe to do any non-ptrace wakeup of a thread in
      TASK_TRACED, because the waking thread could race with a ptrace call
      that could be doing things like mucking directly with its kernel stack. 
      
      AFAIK noone has established that whatever clobberation ptrace can do to
      a running thread is safe even if it will never return to user mode, so
      we can't allow this even for SIGKILL.
      
      What we _can_ safely do is make a thread switching out of TASK_TRACED
      resume rather than sitting in TASK_STOPPED if it has a pending SIGKILL
      or SIGCONT.  The following patch does this.
      
      This should be sufficient for the shutdown case.  When killing all
      processes, if the tracer gets killed first, the tracee goes into
      TASK_STOPPED and will be woken and killed by the SIGKILL (same as
      before).  If the tracee gets killed first, it gets a pending SIGKILL and
      doesn't wake up immediately--but, now, when the tracer gets killed, the
      tracee will then wake up to die. 
      
      This will also fix the (same) situations that can arise now where you
      have used gdb (or whatever ptrace caller), killed -9 the gdb and the
      process being debugged, but still have to kill -CONT the process before
      it goes away (now it should just go away either the first time or when
      you kill gdb). 
      Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      403f2912