ac Patches
Bernhard Sadlowski
sadlowsk at mathematik.uni-bielefeld.de
Tue Mar 23 02:13:42 CET 1999
On 16 Mar 1999 15:01, Florian Lohoff <flo at rfc822.org> wrote:
> > 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 :)
Nö biste nicht :)
>
> ----------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
Ja das war der effekt der auch eintrat, als ich unter 2.2.3ac1 als *user*
eingeloggt war. Trotzdem waren danach alle *root* prozesse weg. Wie du schon
beschreibst.. die gettys waren noch da und man konnte sich anmelden aber
sonst lief kaum noch was anderes.
> Linux move 2.2.1-ac4 #2 Fri Feb 5 16:58:18 CET 1999 i586 unknown
=========
Na doch eine andere Version. Versuche es doch mit 2.2.3ac1 ... Das war wohl
nur ein kurzes problem eines einzigen Alan Cox patches.
> 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 ...
Das hatte ich ja auch nicht angezweifelt. Aber danke für die Doku... :)
Gruss,
Bernhard
All Finagle Laws may be bypassed by learning the simple art of doing
without thinking.
--
Bernhard Sadlowski
mailto:sadlowsk at mathematik.uni-bielefeld.de
More information about the Linux
mailing list