ac Patches

Florian Lohoff flo at rfc822.org
Tue Mar 16 15:01:57 CET 1999


On Tue, Mar 16, 1999 at 01:29:59PM +0100, Bernhard Sadlowski wrote:
> On 16 Mar 1999 12:20, Florian Lohoff <flo at rfc822.org> wrote:
> > 
> > Auf vielfachen Wunsch *hihi*
> > 
> > ftp.rfc822.org:/pub/mirror/ftp.linux.org.uk/pub/linux/alan
> > 
> > Taegliches update ...
> 
> Hat schon jemand als User mit uid != 0 unter 2.2.3 ein "kill -9 -1 <pid>"
> auf einen root prozess versucht? Unter 2.2.3ac1 auf meinem Rechner war das
> verheerend... fast alle Prozesse sind gekillt worden.

Danke - Ich bin reingefallen :)

----------schnipp man kill---------------------------
     Some of the more commonly used signals:

           -1     -1      (super-user broadcast to all processes, or user
                          broadcast to user's processes)
           0      0       (sh(1) only, signals all members of process group)
           2      INT     (interrupt)
           3      QUIT    (quit)
           6      ABRT    (abort)
           9      KILL    (non-catchable, non-ignorable kill)
           14     ALRM    (alarm clock)
           15     TERM    (software termination signal)
----------schnapp man kill---------------------------

----------schnipp man 2 kill-------------------------
DESCRIPTION
       The kill system call can be used to send any signal to any
       process group or process.

       If pid is positive, then signal sig is sent to pid.

       If pid equals 0, then sig is sent to every process in  the
       process group of the current process.

       If pid equals -1, then sig is sent to every process except
       for the first one, from  higher  numbers  in  the  process
       table to lower.

       If  pid is less than -1, then sig is sent to every process
       in the process group -pid.

       If sig is 0, then no signal is sent, but error checking is
       still performed.
----------schnapp man 2 kill-------------------------

kill -9 -1 schickt demnach an alle prozesse in der Process Table
einen SIGKILL.

Also root sollte danach die kiste mehr oder minder tot sein - Naja
ok - Init ist da - D.h. es sind auch noch gettys da - Man sollte
sich demnach noch einloggen koennen. Als user unter 

Linux move 2.2.1-ac4 #2 Fri Feb 5 16:58:18 CET 1999 i586 unknown

Waren nur "meine" prozesse weg ..

Unter 2.2.3 (Alpha) sind bei "kill -9 -1 0" nur meine Prozesse weg
also laut manpage korrektes verhalten ...

Flo
-- 
Florian Lohoff		flo at rfc822.org		      	+49-5241-470566
Good, Fast, Cheap: Pick any two (you can't have all three).  (RFC 1925)



More information about the Linux mailing list