Browse Source

Stricter permission on hil and grf devices, and use fbtab to relax them

whenever necessary.
OPENBSD_3_2
miod 22 years ago
parent
commit
87db0f6ee8
2 changed files with 5 additions and 5 deletions
  1. +4
    -5
      src/etc/etc.hp300/MAKEDEV.md
  2. +1
    -0
      src/etc/etc.hp300/fbtab

+ 4
- 5
src/etc/etc.hp300/MAKEDEV.md View File

@ -1,5 +1,5 @@
vers(__file__, 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 etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
@ -149,8 +149,7 @@ ite*)
grf*) grf*)
case $U in case $U in
0|1|2|3) 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 echo bad unit for grf in: $i
@ -158,10 +157,10 @@ grf*)
esac esac
;; ;;
hil*)
hil)
for U in 0 1 2 3 4 5 6 7 for U in 0 1 2 3 4 5 6 7
do do
M hil$U c 14 $U
M hil$U c 14 $U 600
done done
MKlist="$MKlist;ln hil1 keyboard" MKlist="$MKlist;ln hil1 keyboard"
MKlist="$MKlist;ln hil3 locator" MKlist="$MKlist;ln hil3 locator"


+ 1
- 0
src/etc/etc.hp300/fbtab View File

@ -0,0 +1 @@
/dev/console 0600 /dev/grf0:/dev/hil0:/dev/hil1:/dev/hil2:/dev/hil3:/dev/hil4:/dev/hil5:/dev/hil6:/dev/hil7

Loading…
Cancel
Save