I forgot to answer this: Sergey Bugaev, le sam. 30 oct. 2021 15:06:30 +0300, a ecrit: > > > Should the implementation cap the length to that of the entry > > > silently, or should it return an error if called with an overly long > > > len argument? > > > > > > > I don't know, Samuel, what do you think? > > Actually now that I think about it, it would probably make sense for > this to, some day, transparently support proxying multiple regions, > which is something that the memory object proxies API supports in > theory (but it's currently unimplemented). So maybe it should return a > "not yet supported" error for now.
Yes, though we don't have such error, but KERN_INVALID_ARGUMENT would be fine enough. Samuel