diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-12-14 05:05:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-12-14 05:05:47 +0000 |
commit | 841e0d1da27427e8268c2dfb47c8828f61dd099a (patch) | |
tree | dded0eed9cfa0c3aa71891cdc3e02bb027480a9f /etc/MAKEDEV.common | |
parent | b77d0f584ce1424862dc2ce101ff3024ecc5af14 (diff) |
usb devices nodes have been excesively permissive.
repair that.
Diffstat (limited to 'etc/MAKEDEV.common')
-rw-r--r-- | etc/MAKEDEV.common | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common index c39b83fda08..bd611225f27 100644 --- a/etc/MAKEDEV.common +++ b/etc/MAKEDEV.common @@ -1,4 +1,4 @@ -vers(a, {-$OpenBSD: MAKEDEV.common,v 1.104 2019/12/13 21:03:57 deraadt Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.common,v 1.105 2019/12/14 05:05:46 deraadt Exp $-})dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> dnl @@ -354,11 +354,11 @@ __devitem(lpa, lpa*, Polled printer port,lpt)dnl __devtitle({-usb-}, USB devices)dnl __devitem({-usb-}, usb*, Bus control devices used by usbd for attach/detach)dnl _mkdev({-usb-}, usb*, {-[ "$i" = "usb" ] && u= || u=$U - M usb$u c major_usb_c $U 660-})dnl + M usb$u c major_usb_c $U 640-})dnl __devitem(uhid, uhid*, Generic HID devices)dnl -_mcdev({-uhid-}, uhid*, {-uhid-}, {-major_uhid_c-}, 660)dnl +_mcdev({-uhid-}, uhid*, {-uhid-}, {-major_uhid_c-}, 600)dnl __devitem(ulpt, ulpt*, Printer devices)dnl -_mcdev({-ulpt-}, ulpt*, {-ulpt-}, {-major_ulpt_c-}, 660)dnl +_mcdev({-ulpt-}, ulpt*, {-ulpt-}, {-major_ulpt_c-}, 600)dnl __devitem(ttyU, ttyU*, USB serial ports,ucom)dnl _mkdev({-ttyU-}, {-ttyU[0-9a-zA-Z]-}, {-U=${i#ttyU*} o=$(alph2d $U) @@ -368,7 +368,7 @@ __devitem(ugen, ugen*, Generic USB devices)dnl _mkdev(ugen, ugen*, {-n=Mult($U, 16) for j in 0{0,1,2,3,4,5,6,7,8,9} 1{0,1,2,3,4,5} do - M ugen$U.$j c major_ugen_c Add($n, 10#$j) 660 + M ugen$U.$j c major_ugen_c Add($n, 10#$j) 600 done-})dnl __devtitle(call, Call units)dnl __devtitle(term, Terminal ports)dnl |