Date: Wed, 31 Dec 2003 11:38:29 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pciconf pciconf.c Message-ID: <200312311938.hBVJcTqU076686@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2003/12/31 11:38:29 PST FreeBSD src repository Modified files: usr.sbin/pciconf pciconf.c Log: Only a read-only file descriptor is required to implement list_devs() and list_verbose(), so don't open /dev/pci read-write. This allows pciconf -l[v] to work for non-root users, assuming the securelevel is 0 or -1. Problem experienced by: William Michael Grim <wgrim@siue.edu> Revision Changes Path 1.20 +1 -1 src/usr.sbin/pciconf/pciconf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312311938.hBVJcTqU076686>