On 04/22/2013 12:08 PM, "Axel Dörfler" wrote: [...]
Alternatively, one could enhance the generic syscall mechanism to be able to load the module providing the API on the fly, so that that one could then take care of registering the service in case the network stack is not loaded. This would allow to completely decouple the needs of userland applications, and the network stack.
Indeed, this sounds like a nice solution. Instead of a function pointer the syscall could be invoked via a new module operation instead. This would safe the trouble of having to deal with a function pointer that my change when the module is reloaded.