comp.lang.ada
 help / color / mirror / Atom feed
From: dmitry@elros.cbb-automation.de (Dmitry Kazakov)
Subject: Re: Ada OS Kernel features
Date: Fri, 07 Sep 2001 12:40:37 GMT
Date: 2001-09-07T12:40:37+00:00	[thread overview]
Message-ID: <3b98bddb.18504734@news.cis.dfn.de> (raw)
In-Reply-To: slrn9ph0md.mou.d97svema@licia.dtek.chalmers.se

On 7 Sep 2001 08:18:21 GMT, d97svema@dtek.chalmers.se (Mattias
Svensson) wrote:

>In article <3b987e18.2182875@news.cis.dfn.de>, Dmitry Kazakov wrote:
>>On Thu, 6 Sep 2001 19:06:29 +0100, "chris.danx"
>><chris.danx@ntlworld.com> wrote:
>>Any shared device should be not allowed to be directly used in the
>>user mode. If a video driver operates in the user mode, then it is
>>possible to have an application that reads and updates the parts of
>>the screen of another application. Now consider that another
>>application is a part of home-banking software. Wellcome in the
>>MS-Windows world!
>
>Why? If the video driver has exclusive access to the video memory and
>just presents an API to other programs by some menas of IPC.

If the driver runs on the context of the caller's process, then there
is no way to share the device safely.

>In what
>way is this different from having the video driver in the kernel? 

Not in the kernel, but in a separate process which has other
privilegies than the caller. There IMO should be no monolitic kernel,
but a set of objects having no more access than they should.

>The hard part I think is to give access to the video memory from
>userspace.

Regards,
Dmitry Kazakov



  reply	other threads:[~2001-09-07 12:40 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05  5:58 Ada OS Kernel features Brian Catlin
2001-09-05 10:15 ` Jacob Sparre Andersen
2001-09-05 11:16 ` Larry Kilgallen
2001-09-05 17:06   ` Brian Catlin
2001-09-06 14:35     ` Marin David Condic
2001-09-07  9:31       ` Tarjei T. Jensen
2001-09-05 17:55   ` David Starner
2001-09-05 18:42     ` Darren New
2001-09-12  6:47   ` Mats Karlssohn
2001-09-05 14:04 ` Ted Dennison
2001-09-05 17:23   ` Brian Catlin
2001-09-05 20:17     ` Ted Dennison
2001-09-05 21:10       ` Brian Catlin
2001-09-06  6:45         ` Tarjei T. Jensen
2001-09-06  6:56           ` Brian Catlin
2001-09-06 14:05             ` Ted Dennison
2001-09-05 16:02 ` Alfred Hilscher
2001-09-05 16:19   ` Jacob Sparre Andersen
2001-09-05 17:58     ` Brian Catlin
2001-09-05 17:44   ` Brian Catlin
2001-09-05 17:58     ` Darren New
2001-09-05 18:51     ` Larry Kilgallen
2001-09-05 19:25     ` chris.danx
2001-09-05 20:07       ` Darren New
2001-09-05 20:14       ` Larry Kilgallen
2001-09-06 13:45         ` Alfred Hilscher
2001-09-06 18:06         ` chris.danx
2001-09-06 19:41           ` Larry Kilgallen
2001-09-06 22:32             ` chris.danx
2001-09-07 11:04               ` Larry Kilgallen
2001-09-07  8:04           ` Dmitry Kazakov
2001-09-07  8:18             ` Mattias Svensson
2001-09-07 12:40               ` Dmitry Kazakov [this message]
2001-09-12  7:12               ` Mats Karlssohn
2001-09-05 20:18       ` Brian Catlin
2001-09-06  6:48         ` Ole-Hjalmar Kristensen
2001-09-06  6:59           ` Brian Catlin
2001-09-10  7:32             ` Ole-Hjalmar Kristensen
2001-09-06 13:42     ` Alfred Hilscher
2001-09-07  8:13       ` Dmitry Kazakov
2001-09-08  3:55     ` Kenneth Almquist
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox