Damien Zammit, le mar. 02 mars 2021 22:41:33 +1100, a ecrit:
> The only problem I can see is the uid=0 faking the cred by allowing
> netfs to install ports that have no cred at all,

Yes, that's dirty for now, we probably want something cleaner otherwise
we'll have to carry unconfortable tricks.

> perhaps we need a new RPC for obtaining a temporary uid=0 cred during
> bootstrap?

You mentioned fsys_getroot at some point. This indeed looks like a
proper way to build a protid with uid=0. That's what
libdiskfs/boot-start.c's diskfs_start_bootstrap does to get access to
the exec server.

> With these changes, plus the pciaccess change I will post shortly,
> rumpdisk.static boots with pci-arbiter.static as the bootstrap server.

Yay!!

Samuel

Reply via email to