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: Damien Zammit
Subject: Re: [PATCH] libmachdev: Install as translator when bootstrapping && fix rumpdisk injection
Date: Sun, 15 Nov 2020 11:33:06 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

Hi,

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.
Perhaps I confused myself and maybe it is not needed, you could be correct.

I will test again without it.

Damien



reply via email to

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