bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH x4] hurd: pci-arbiter and rumpdisk static server support


From: Samuel Thibault
Subject: Re: [PATCH x4] hurd: pci-arbiter and rumpdisk static server support
Date: Tue, 2 Mar 2021 22:41:01 +0100
User-agent: NeoMutt/20170609 (1.8.3)

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

[Prev in Thread] Current Thread [Next in Thread]