Hello,

Joan Lledó, le mar. 03 nov. 2020 11:46:43 +0100, a ecrit:
> So we can take the implementation of io_map from that patch, but adding
> a check to ensure whatever returned by the user from netfs_get_filemap()
> is a proxy object. Is there a way to check that?

I don't find anything like that in gnu mach.

But we can as well just document what netfs_get_filemap is supposed to
return, that can be enough.

> With that, from the aribter side we only need to get the default pager
> and create a proxy for each region file, with its boundaries and
> permissions, and write an implementation of netfs_get_filemap which
> returns the proper proxy for each request.
> 
> What do you think?

That would probably work, yes.

Samuel

Reply via email to