Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Make pci(4) device nodes root:wheel 0640 by default.



details:   https://anonhg.NetBSD.org/src/rev/7b4b99204f35
branches:  trunk
changeset: 757730:7b4b99204f35
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Sep 19 20:52:23 2010 +0000

description:
Make pci(4) device nodes root:wheel 0640 by default.
Mortals do not need to be able to generate PCI Configuration Space
read transactions, which are not entirely without side effect, as
reported in PR#16300.

diffstat:

 etc/MAKEDEV.tmpl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r da9f45655d54 -r 7b4b99204f35 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl  Sun Sep 19 11:37:40 2010 +0000
+++ b/etc/MAKEDEV.tmpl  Sun Sep 19 20:52:23 2010 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV.tmpl,v 1.135 2010/08/22 18:56:20 rmind Exp $
+#      $NetBSD: MAKEDEV.tmpl,v 1.136 2010/09/19 20:52:23 jakllsch Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1465,7 +1465,7 @@
 
 pci*)
        unit=${i#pci}
-       mkdev pci$unit c %pci_chr% $unit 644
+       mkdev pci$unit c %pci_chr% $unit 640
        ;;
 
 dpti*)



Home | Main Index | Thread Index | Old Index