Re: Security flaw when killing a process?

Bernd Eckenfels (ecki@inka.de)
8 Aug 1996 00:25:19 GMT


Stefan Reinauer <stepan@home.culture.mipt.ru> wrote:
: It seems that a process can't be killed while executing
: system routines. Is this right/wrong?

Signals will be delivereed if a syscall is exited. There are two ways for a
syscall to wait for sometihing. Interruptible and uninterruptible.
Geneerally all uninterruptible sleeps should be avoided, but sometimes it is
necessary (to avoid raceconditions or reentrance problems). Syscalls can
check for signals and exit to allow delivery, in any case the developer has
to take care that something is interruptible reasonable.

Greetings
Bernd

-- 
  (OO)      -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
 ( .. )  ecki@lina.{inka.de,ka.sub.org}  http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +4972573817  *plush*
(O____O)       If privacy is outlawed only Outlaws have privacy