Bug 23217

Summary: [PATCH] 'pciconf -l' opens /dev/pci with incorrect permissions
Product: Base System Reporter: Lyndon Nerenberg <lyndon>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Lyndon Nerenberg 2000-12-01 22:20:01 UTC
pciconf always opens /dev/pci with O_RDWR. For the -l case it should
open the device O_RDONLY. When combined with my /sys/pci/pci.c patch
for pci_ioctl this restores the documented behaviour of 'pciconf -l'
being available to mortal users.

How-To-Repeat: 
Run pciconf -l as a non-root user.
Comment 1 Bruce A. Mah freebsd_committer freebsd_triage 2001-04-16 19:26:26 UTC
State Changed
From-To: open->closed

Closed by submitter's request.