lkml.org 
[lkml]   [1996]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Security flaw when killing a process?
Date
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


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.040 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site