On Tue, May 16, 2006 at 07:40:36AM +0200, Poul-Henning Kamp wrote: > In message <4468DC05.9080808_at_sippysoft.com>, Maxim Sobolev writes: > >Poul-Henning Kamp wrote: > >> In message <44681D92.80309_at_sippysoft.com>, Maxim Sobolev writes: > >>> Hi, > >>> > >>> I would like to extend md(4) with support for mmap(4) operations, > >> > >> Uhm, how exactly would that work ? > > > >Just like ioctl(2) works: geom_dev will accept mmap requests and pass it > >to the underlying provider for execution if that provider has mmap > >handler in its g_class. > > No, I meant: how will you use this ? Well, in my particular case I would like to experiment with dynamic exporting of shared ELF objects from the kernel into userspace. md(4) seems like a good fit, but dlopen(3) uses mmap, so that it doesn't work OOB. There can be other uses as well. -MaximReceived on Tue May 16 2006 - 06:24:09 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC