mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 08:52:07 +01:00
/dev nodes for ipfilter
This commit is contained in:
parent
1689d8bdca
commit
edf346c404
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34755
14
etc/MAKEDEV
14
etc/MAKEDEV
@ -105,8 +105,9 @@
|
|||||||
# labpc* National Instrument's Lab-PC and LAB-PC+
|
# labpc* National Instrument's Lab-PC and LAB-PC+
|
||||||
# perfmon CPU performance-monitoring counters
|
# perfmon CPU performance-monitoring counters
|
||||||
# pci PCI configuration-space access from user mode
|
# pci PCI configuration-space access from user mode
|
||||||
|
# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
|
||||||
#
|
#
|
||||||
# $Id: MAKEDEV,v 1.157 1998/03/01 22:18:28 steve Exp $
|
# $Id: MAKEDEV,v 1.158 1998/03/12 12:00:26 bde Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
|
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
|
||||||
@ -203,7 +204,7 @@ all)
|
|||||||
sh MAKEDEV mse0 psm0 sysmouse # cdev, mouse
|
sh MAKEDEV mse0 psm0 sysmouse # cdev, mouse
|
||||||
sh MAKEDEV pcaudio speaker # cdev, noise
|
sh MAKEDEV pcaudio speaker # cdev, noise
|
||||||
sh MAKEDEV lpt0 lpt1 lpt2 # cdev, printer
|
sh MAKEDEV lpt0 lpt1 lpt2 # cdev, printer
|
||||||
sh MAKEDEV bpf0 tun0 # cdev, network
|
sh MAKEDEV bpf0 tun0 ipl # cdev, network
|
||||||
sh MAKEDEV ch0 perfmon tw0 # cdev, miscellaneous
|
sh MAKEDEV ch0 perfmon tw0 # cdev, miscellaneous
|
||||||
sh MAKEDEV apm card0 card1 # cdev, laptop
|
sh MAKEDEV apm card0 card1 # cdev, laptop
|
||||||
;;
|
;;
|
||||||
@ -1146,6 +1147,15 @@ perfmon)
|
|||||||
chmod 640 perfmon
|
chmod 640 perfmon
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
ipl)
|
||||||
|
mknod ipl c 79 0
|
||||||
|
mknod ipnat c 79 1
|
||||||
|
mknod ipstate c 79 2
|
||||||
|
mknod ipstate c 79 3
|
||||||
|
chown root:wheel ipl ipnat ipstate ipauth
|
||||||
|
chmod 600 ipl ipnat ipstate ipauth
|
||||||
|
;;
|
||||||
|
|
||||||
local)
|
local)
|
||||||
umask 0 # XXX should be elsewhere
|
umask 0 # XXX should be elsewhere
|
||||||
sh MAKEDEV.local
|
sh MAKEDEV.local
|
||||||
|
@ -105,8 +105,9 @@
|
|||||||
# labpc* National Instrument's Lab-PC and LAB-PC+
|
# labpc* National Instrument's Lab-PC and LAB-PC+
|
||||||
# perfmon CPU performance-monitoring counters
|
# perfmon CPU performance-monitoring counters
|
||||||
# pci PCI configuration-space access from user mode
|
# pci PCI configuration-space access from user mode
|
||||||
|
# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
|
||||||
#
|
#
|
||||||
# $Id: MAKEDEV,v 1.157 1998/03/01 22:18:28 steve Exp $
|
# $Id: MAKEDEV,v 1.158 1998/03/12 12:00:26 bde Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
|
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
|
||||||
@ -203,7 +204,7 @@ all)
|
|||||||
sh MAKEDEV mse0 psm0 sysmouse # cdev, mouse
|
sh MAKEDEV mse0 psm0 sysmouse # cdev, mouse
|
||||||
sh MAKEDEV pcaudio speaker # cdev, noise
|
sh MAKEDEV pcaudio speaker # cdev, noise
|
||||||
sh MAKEDEV lpt0 lpt1 lpt2 # cdev, printer
|
sh MAKEDEV lpt0 lpt1 lpt2 # cdev, printer
|
||||||
sh MAKEDEV bpf0 tun0 # cdev, network
|
sh MAKEDEV bpf0 tun0 ipl # cdev, network
|
||||||
sh MAKEDEV ch0 perfmon tw0 # cdev, miscellaneous
|
sh MAKEDEV ch0 perfmon tw0 # cdev, miscellaneous
|
||||||
sh MAKEDEV apm card0 card1 # cdev, laptop
|
sh MAKEDEV apm card0 card1 # cdev, laptop
|
||||||
;;
|
;;
|
||||||
@ -1146,6 +1147,15 @@ perfmon)
|
|||||||
chmod 640 perfmon
|
chmod 640 perfmon
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
ipl)
|
||||||
|
mknod ipl c 79 0
|
||||||
|
mknod ipnat c 79 1
|
||||||
|
mknod ipstate c 79 2
|
||||||
|
mknod ipstate c 79 3
|
||||||
|
chown root:wheel ipl ipnat ipstate ipauth
|
||||||
|
chmod 600 ipl ipnat ipstate ipauth
|
||||||
|
;;
|
||||||
|
|
||||||
local)
|
local)
|
||||||
umask 0 # XXX should be elsewhere
|
umask 0 # XXX should be elsewhere
|
||||||
sh MAKEDEV.local
|
sh MAKEDEV.local
|
||||||
|
Loading…
Reference in New Issue
Block a user