This commit is contained in:
Sharad Ahlawat
2021-04-18 01:07:42 -07:00
parent 076c974858
commit 3d64b9b33b
47 changed files with 524 additions and 292 deletions

View File

@ -13,7 +13,7 @@
# references must include a dollar sign '$' in front of the
# name to be expanded properly.
#
# $FreeBSD: releng/12.1/sbin/devfs/devfs.rules 338204 2018-08-22 15:55:23Z brd $
# $FreeBSD: releng/12.2/sbin/devfs/devfs.rules 338204 2018-08-22 15:55:23Z brd $
#
# Very basic and secure ruleset: Hide everything.
@ -87,12 +87,13 @@ add include $devfsrules_unhide_login
add path fuse unhide
add path zfs unhide
# members of group uucp can access all usb and tty devices
[usbrules=100]
add path 'usbctl' mode 660 group uucp
add path 'usb/*' mode 660 group uucp
add path 'ttyU*' mode 660 group uucp
[serial_usb_rules=1000]
[serial_usb_rules=150]
add include $devfsrules_jail
add path 'cuau*' unhide
add path 'cuaU*' unhide
@ -101,7 +102,7 @@ add path 'ttyU*' unhide
add path 'usb*' unhide
add path 'usb/*' unhide
[devfs_rules_bhyve_jail=2000]
[devfs_rules_bhyve_jail=200]
add include $devfsrules_jail
add path vmm unhide
add path vmm/* unhide
@ -111,6 +112,6 @@ add path tap* unhide
add path zvol/ship/raw/* unhide
add path nmdm* unhide
[devfs_rules_tun_jail=3000]
[devfs_rules_tun_jail=300]
add include $devfsrules_jail
add path tun* unhide

View File

@ -13,7 +13,7 @@
# For a more detailed explanation of all the periodic.conf variables, please
# refer to the periodic.conf(5) manual page.
#
# $FreeBSD: releng/12.1/usr.sbin/periodic/periodic.conf 337648 2018-08-11 17:11:08Z brd $
# $FreeBSD: releng/12.2/usr.sbin/periodic/periodic.conf 337648 2018-08-11 17:11:08Z brd $
#
# What files override these defaults ?