Consider moving scheme management out of the kernel
Created by: Yoric
I believe that we can move scheme management out of the kernel.
What I write below is inspired of things I understand from Hurd.
- A privileged (but isolated) process
scheme-serverreceives registration and unregistration of protocols.
- Upon startup, processes receive the pid of the
- To lookup the implementation of a scheme
foo:, send a message to
scheme-server, it returns a pid.
- To open
foo:path, send a message containing
As a side-effect of this, we can have different
scheme-server implementations for different processes, which gives us another implementation of namespaces.
This assumes that we can send messages across processes using their pids. Maybe pids should be replaced with another kind of capability.
If there is interest, I'll try and write a RFC.