Date: Wed, 31 Dec 2003 20:12:43 +0100 From: Dimitry Andric <dimitry@andric.com> To: Robert Watson <rwatson@freebsd.org> Cc: William Michael Grim <wgrim@siue.edu> Subject: Re: pciconf -lv - /dev/pci error Message-ID: <554656239.20031231201243@andric.com> In-Reply-To: <Pine.NEB.3.96L.1031231125153.54208A-100000@fledge.watson.org> References: <Pine.SO4.4.05.10312310916470.24534-100000@cougar.isg.siue.edu> <Pine.NEB.3.96L.1031231125153.54208A-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
------------EA1282E38C8A0D9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On 2003-12-31 at 19:01:06 Robert Watson wrote: >> superuser. I received this error: >>=20 >> [root@snow 09:12:42 root]# pciconf -lv >> pciconf: /dev/pci: Operation not permitted > pciconf -lv appears to cause pciconf to open /dev/pci writable: > 731 pciconf CALL open(0x8049a55,0x2,0) > 731 pciconf NAMI "/dev/pci" > 731 pciconf RET open -1 errno 13 Permission denied > And, of course, it's not writable by non-root. Didn't the original poster have a problem when he actually was root? Of course I agree that pciconf should only open the device r/w if strictly necessary, but I was just thinking his problem lay elsewhere. ------------EA1282E38C8A0D9 Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: GnuPG v1.2.3 (MingW32) iD8DBQE/8x+qsF6jCi4glqMRAprWAKDpeFgLRf0CBinb5YeOuNo6TusfigCguNnV wUl1s7dQswmyIk4q1h9upAk= =JC7R -----END PGP MESSAGE----- ------------EA1282E38C8A0D9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?554656239.20031231201243>