Damien Zammit, le dim. 21 févr. 2021 12:15:11 +1100, a ecrit: > On 20/2/21 10:16 pm, Samuel Thibault wrote: > > It's hard to tell exactly without seeing what exactly you have done > > already. As I wrote before, device_open should return a port to the > > root directory of the pci-arbiter tree. I'm not sure exactly what you > > wrote to achieve that. > > I think I am missing the auth handle and proc server handles.
Ah, possibly. Perhaps you could make libnetfs to accept any access when auth/proc are not available > Do I need to call _hurd_init() before starting rump? No, you'd need actual auth/proc servers, which at that point cannot work since we don't have a FS yet. > Maybe I can bypass the auth just to get a protid on root of pci arbiter tree? > But then how will libpciaccess do lookups during rump bootstrap? ? once libpciaccess gets a port on pci-arbiter's root, it can use file_name_lookup_under to open directories and files in it. libnetfs will want to check permissions, but it could be made to accept anything when auth/proc are not available yet. Samuel