FreeBSD Bugzilla – Attachment 11892 Details for
Bug 23217
[PATCH] 'pciconf -l' opens /dev/pci with incorrect permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 512 bytes, created by
Lyndon Nerenberg
on 2000-12-01 22:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Lyndon Nerenberg
Created:
2000-12-01 22:20:01 UTC
Size:
512 bytes
patch
obsolete
>Index: pciconf.c >=================================================================== >RCS file: /home/ncvs/src/usr.sbin/pciconf/pciconf.c,v >retrieving revision 1.11 >diff -u -r1.11 pciconf.c >--- pciconf.c 1999/12/08 17:43:20 1.11 >+++ pciconf.c 2000/12/01 22:11:57 >@@ -134,7 +134,7 @@ > struct pci_conf conf[255], *p; > int none_count = 0; > >- fd = open(_PATH_DEVPCI, O_RDWR, 0); >+ fd = open(_PATH_DEVPCI, O_RDONLY, 0); > if (fd < 0) > err(1, "%s", _PATH_DEVPCI);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23217
: 11892