From owner-cvs-all@FreeBSD.ORG Wed Dec 31 11:38:30 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A88D16A4CE; Wed, 31 Dec 2003 11:38:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83C8F43D1F; Wed, 31 Dec 2003 11:38:29 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBVJcT0B076687; Wed, 31 Dec 2003 11:38:29 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBVJcTqU076686; Wed, 31 Dec 2003 11:38:29 -0800 (PST) (envelope-from rwatson) Message-Id: <200312311938.hBVJcTqU076686@repoman.freebsd.org> From: Robert Watson Date: Wed, 31 Dec 2003 11:38:29 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/pciconf pciconf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 19:38:30 -0000 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 Revision Changes Path 1.20 +1 -1 src/usr.sbin/pciconf/pciconf.c