mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 03:33:25 +00:00
Change default devfs permissions to the ones in MAKEDEV.
Suggested by: rwatson
This commit is contained in:
parent
0ca9484af4
commit
cf4bfc5243
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72703
@ -261,11 +261,11 @@ USB_ATTACH(usb)
|
||||
#if defined(__FreeBSD__)
|
||||
/* The per controller devices (used for usb_discover) */
|
||||
make_dev(&usb_cdevsw, device_get_unit(self), UID_ROOT, GID_OPERATOR,
|
||||
0644, "usb%d", device_get_unit(self));
|
||||
0660, "usb%d", device_get_unit(self));
|
||||
if (!global_init_done) {
|
||||
/* The device spitting out events */
|
||||
make_dev(&usb_cdevsw, USB_DEV_MINOR, UID_ROOT, GID_OPERATOR,
|
||||
0644, "usb");
|
||||
0660, "usb");
|
||||
global_init_done = 1;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user