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

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Wed, 31 Dec 2003 11:38:29 -0800 (PST)
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
Received on Wed Dec 31 2003 - 11:38:30 UTC