mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Use the canonical root:operator 0640 for GEOM disk devices.
Spotted by: brooks Sponsored by: DARPA & NAI Labs.
This commit is contained in:
parent
31db71276a
commit
0a2ece0481
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104316
|
@ -151,7 +151,7 @@ g_dev_taste(struct g_class *mp, struct g_provider *pp, int insist __unused)
|
|||
g_topology_unlock();
|
||||
mtx_lock(&Giant);
|
||||
dev = make_dev(&g_dev_cdevsw, unit2minor(unit++),
|
||||
UID_ROOT, GID_WHEEL, 0600, gp->name);
|
||||
UID_ROOT, GID_OPERATOR, 0640, gp->name);
|
||||
mtx_unlock(&Giant);
|
||||
g_topology_lock();
|
||||
|
||||
|
|
Loading…
Reference in a new issue