[Top][All Lists]

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

Re: [PATCH] hurd: Implement device memory mapping

From: Samuel Thibault
Subject: Re: [PATCH] hurd: Implement device memory mapping
Date: Sun, 9 Jan 2022 13:14:21 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Joan Lledó, le dim. 09 janv. 2022 12:16:21 +0100, a ecrit:
> El 9/1/22 a les 1:15, Samuel Thibault ha escrit:
> > > Err, this is breaking everything when pci-arbiter is not running as a
> > > bootstrap translator. In that case e.g. netdde succeeds getting the
> > > privileged port, and thus tries to open pci, but fails, and thus the
> > > whole thing aborts. What problem the older approach had?
> > 
> > I uploaded a version with that ordering fixed back to debian-ports, to
> > be seen on mirrors within about 6h.
> That was because I wanted to allow non-root users to install nested
> arbiters. Non-root users can't pass this condition:
> https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/blob/master/src/hurd_pci.c#L640

Then rearrange the conditions to avoid returning when that fails. But
still revert back to file_name_lookup even if that succeeds.


reply via email to

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