git: devfs - Fix root open() errors on /dev/[k]mem, /dev/[u]random
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Oct 13 22:36:50 PDT 2023
commit 9d388b3b8f213d81533eb570889eb5979d630bf1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Oct 13 22:29:54 2023 -0700
devfs - Fix root open() errors on /dev/[k]mem, /dev/[u]random
* devfs had a code bug related to QUICK flagged devices, which
are only the mmio devices, where open() failures were being
ignored.
This only happens with RESTRICTEDROOT and in jails. Fix the
code path.
Summary of changes:
sys/vfs/devfs/devfs_vnops.c | 2 ++
1 file changed, 2 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9d388b3b8f213d81533eb570889eb5979d630bf1
--
DragonFly BSD source repository
More information about the Commits
mailing list