On April 23, 2013 at 10:55 AM Ingo Weinhold <ingo_weinhold@xxxxxx> wrote: > 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. Sounds nice. We might want to use dedicated modules (ie. those having a module name ending with for example "/syscall/v1"), though, so a module operation might not be necessary -- this would effectively prevent users to load random modules. Would this be desirable for security reasons? OTOH just loading a module should not really do much harm. Bye, Axel.