Bug 23216

Summary: [PATCH] PCIOCGETCONF ioctl requires write permissions
Product: Base System Reporter: Lyndon Nerenberg <lyndon>
Component: kernAssignee: 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:00 UTC
/sys/pci/pci.c:pci_ioctl() fails all ioctl operations unless the caller
has /dev/pci opened for write. This causes 'pciconf -l' to fail when
run as a non-superuser. (A patch to pciconf to open /dev/pci read
only in the -l case follows in another pr.)

How-To-Repeat: 
Issue a PCIOCGETCONF request with /dev/pci opened read only.
Comment 1 Bruce A. Mah freebsd_committer freebsd_triage 2001-04-16 19:26:02 UTC
State Changed
From-To: open->closed

Closed by submitter's request.