1 Jul 09:10
Re: [ANNOUNCE] Introducing Codezero
Bahadir Balban <bahadir <at> l4dev.org>
2009-07-01 07:10:25 GMT
2009-07-01 07:10:25 GMT
Bas Wijnen wrote: > I'm not sure if "adding capabilities" to a working system is a proper > way to get security right. Security is not something that can be added > to a program. It must be at the core, and the design must support it > from the start. > > If you try to add it, I fear that either it will not work, because there > are insecure bypasses for secure parts, or it will have bad performance > because the fast paths of the system aren't used, or both. > Hi Bas, Implementing fine-grained access control mechanism inside the microkernel should take no more than a week or two. I would imagine all I would need to do for the first version is to add a per-thread bitmap structure that controls resources such as the amount of virtual/physical memory, cpu time, with whom the communication is allowed, which requests, what type of ipc ... etc. Securing the existing communication may take some effort, although it should not be too difficult. There are only 2 servers and a handful of requests. I think I will have part of the above implemented on the next version of Codezero. It should also be possible to pass along capabilities dynamically, though I would imagine most security permissions to be set up during initialization. > What I've seen from capability systems, they can be seen by object > oriented systems as remote object calls. However, this is not enforced(Continue reading)
RSS Feed