lkml.org 
[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCO: "thread creation is about a thousand times faster than
On Mon, Aug 28, 2000 at 07:34:00AM -0600, yodaiken@fsmlabs.com wrote:
> > There are large security considerations. A process must be KILL and
> > STOPable, no matter wether it uses threads or not. every other semantics
> > would be a security nightmare (or make threads a root-only interface).
>
> That's why pthreads as a special library or executable type seems best.

Just that that sounds very fragile ;) setuid-libraries... well...

> Otherwise, there seems room in the POSIX spec to wriggle out of the STOP
> requirement.

That might be the case, but my concern is not POSIX but security, an
orthogonal concept. Lax handling of STOP is a big security problem, even
with the process-only model (see the many programs that suffice to survive
KILL or SOTP for some time), and with threads it only gets easier.

--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@opengroup.org |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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