lkml.org 
[lkml]   [1997]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: suidpid( UID, credential? ) ? secure IPC?
Date
Followup to:  <199710061649.MAA21893@dcl.MIT.EDU>
By author: "Theodore Y. Ts'o" <tytso@MIT.EDU>
In newsgroup: linux.dev.kernel
>
> This allows you to do all sorts of very interesting things all in
> userspace, without needing extra special-purpose system calls and
> without requiring an IPC mechanism. It does require a kernel
> context-switch to enter and leave a PSL, but if it's done properly, that
> should be the only overhead.
>

Actually, at least on the i386 you can do a single context switch
straight into the PSL.

The danger is that it is a lot harder to write a safe PSL than it is
to write a safe setuid program, and we all know how easy that is...

-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

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