cvs commit: src/usr.sbin/pciconf pciconf.c

Robert Watson rwatson at FreeBSD.org
Wed Dec 31 11:38:30 PST 2003


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 at siue.edu>
  
  Revision  Changes    Path
  1.20      +1 -1      src/usr.sbin/pciconf/pciconf.c


More information about the cvs-src mailing list