bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] libmachdev: Install as translator when bootstrapping && fix


From: Samuel Thibault
Subject: Re: [PATCH] libmachdev: Install as translator when bootstrapping && fix rumpdisk injection
Date: Sun, 15 Nov 2020 01:43:36 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Damien Zammit, le dim. 15 nov. 2020 11:33:06 +1100, a ecrit:
> On 14/11/20 9:09 pm, Samuel Thibault wrote:
> > This looks odd to me. The "@/dev/master:" part should rather be
> > dropped way before, by the code that opens /dev/master to access the
> > master device port before calling device_open() on it: the translators
> > shouldn't have to grok which way they were accessed.
> 
> There are two cases to think about here:
> 1) rumpdisk was booted as a bootstrapped task
> 2) rumpdisk was called from a userspace translator
> In both cases, you need @/dev/rumpdisk:/dev/X to be recognised as a valid 
> access rule.

Yes, but in both cases the piece of code that is interpreting
@/dev/rumpdisk should also be eating it.

Samuel



reply via email to

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