|
From: | Joan Lledó |
Subject: | Re: [PATCH] hurd: Implement device memory mapping |
Date: | Sun, 9 Jan 2022 12:16:21 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 |
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. Samuel
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#L640I also removed the need to read/write permissions, device scanning only needs read permissions actually.
[Prev in Thread] | Current Thread | [Next in Thread] |