git: cuse - add character device in user space driver
Michael Neumann
mneumann at crater.dragonflybsd.org
Sat Aug 9 06:53:43 PDT 2025
commit 725aea6e36d2ba4781b473ab4293a0ebca31a10f
Author: Yusuf <yusisamerican at gmail.com>
Date: Tue Jul 29 06:28:12 2025 +0000
cuse - add character device in user space driver
With some minor modifications to the original PR on github:
* Move the driver from vfs/cuse to dev/misc/cuse
* Minor whitespace cleanup (spaces -> tabs)
* Reorder function cuse_client_poll() to reduce the diff
against FreeBSD
* Add Makefile "dev-diff-freebsd" target to simplfiy diffing
this implementation against the version in FreeBSD
Taken-from: FreeBSD
Reviewed-by: mneumann
Signed-off-by: Yusuf <yusisamerican at gmail.com>
Summary of changes:
sys/dev/misc/Makefile | 2 +-
sys/dev/misc/cuse/Makefile | 19 +
sys/dev/misc/cuse/cuse.c | 2077 ++++++++++++++++++++++++++++++++++++++++
sys/dev/misc/cuse/cuse_defs.h | 87 ++
sys/dev/misc/cuse/cuse_ioctl.h | 90 ++
5 files changed, 2274 insertions(+), 1 deletion(-)
create mode 100644 sys/dev/misc/cuse/Makefile
create mode 100644 sys/dev/misc/cuse/cuse.c
create mode 100644 sys/dev/misc/cuse/cuse_defs.h
create mode 100644 sys/dev/misc/cuse/cuse_ioctl.h
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/725aea6e36d2ba4781b473ab4293a0ebca31a10f
--
DragonFly BSD source repository
More information about the Commits
mailing list