summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-09-06 21:48:35 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-09-06 21:48:35 +0000
commit985e8fbdba70b74b51bc947594cc2e1e2e4ff011 (patch)
treef570302b9562c8f1e74dbfe4c73597a274438f7d
parent939b2dea8273cec88ca17651e21ab32817f01c77 (diff)
Stricter permission on hil and grf devices, and use fbtab to relax them
whenever necessary.
-rw-r--r--etc/etc.hp300/MAKEDEV.md9
-rw-r--r--etc/etc.hp300/fbtab1
2 files changed, 5 insertions, 5 deletions
diff --git a/etc/etc.hp300/MAKEDEV.md b/etc/etc.hp300/MAKEDEV.md
index 390c28a93c9..c3708e32bf3 100644
--- a/etc/etc.hp300/MAKEDEV.md
+++ b/etc/etc.hp300/MAKEDEV.md
@@ -1,5 +1,5 @@
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.8 2002/05/16 21:11:20 miod Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.9 2002/09/06 21:48:34 miod Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
@@ -149,8 +149,7 @@ ite*)
grf*)
case $U in
0|1|2|3)
- M grf$U c major_grf_c $U
-# echo "grf$U: use MAKEDEV.hpux to make HP-UX names for device"
+ M grf$U c major_grf_c $U 600
;;
*)
echo bad unit for grf in: $i
@@ -158,10 +157,10 @@ grf*)
esac
;;
-hil*)
+hil)
for U in 0 1 2 3 4 5 6 7
do
- M hil$U c 14 $U
+ M hil$U c 14 $U 600
done
MKlist="$MKlist;ln hil1 keyboard"
MKlist="$MKlist;ln hil3 locator"
diff --git a/etc/etc.hp300/fbtab b/etc/etc.hp300/fbtab
index e69de29bb2d..32fb4f357f4 100644
--- a/etc/etc.hp300/fbtab
+++ b/etc/etc.hp300/fbtab
@@ -0,0 +1 @@
+/dev/console 0600 /dev/grf0:/dev/hil0:/dev/hil1:/dev/hil2:/dev/hil3:/dev/hil4:/dev/hil5:/dev/hil6:/dev/hil7