POV-Ray : Newsgroups : povray.off-topic : Who was looking for message-passing OS examples? : Re: Singularity Server Time
7 Sep 2024 09:21:08 EDT (-0400)
  Re: Singularity  
From: Manuel Kasten
Date: 13 Aug 2008 12:55:07
Message: <48a311eb$1@news.povray.org>
Warp schrieb:
> Invisible <voi### [at] devnull> wrote:
>> Their approach seems to be to "verify" each program before it runs, 
>> checking that it doesn't do any "bad" things.
> 
>   That's impossible. It can be proven that it's an unsolvable problem,
> exactly for the same reason as the halting problem is unsolvable. There's
> no way for any program to check if a piece of code is executed and how.
> 
>   It's also impossible for it to know, for example, the addresses of all
> pointers by simply examining the program (for example the address of a
> pointer could be calculated from user input).

If you only allow safe-mode managed code, pointer arithmethic is not 
possible. I don't see a big problem to validate managed code, ensuring 
it doesn't do anything "bad" for a fixed definition of "bad".

Manuel


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.