git: lib - add libcuse for the cuse driver

Michael Neumann mneumann at crater.dragonflybsd.org
Sat Aug 9 06:53:45 PDT 2025


commit ec3f0bfd45e2b4f4fe9c9ba287a77fad4a528a12
Author: Yusuf <yusisamerican at gmail.com>
Date:   Tue Jul 29 06:29:10 2025 +0000

    lib - add libcuse for the cuse driver
    
    With some minor modifications to the original PR on github:
    
    * Add cuse_feature_present() to libcuse instead of adding a generic
      feature_present() function to libc.
    
    * Do not hardcode -I/usr/include/sys in the Makefile, instead use
      relative path.
    
    * 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:
 lib/Makefile           |   1 +
 lib/libcuse/Makefile   |  82 +++++
 lib/libcuse/cuse.3     | 391 ++++++++++++++++++++++++
 lib/libcuse/cuse.h     |  96 ++++++
 lib/libcuse/cuse_lib.c | 807 +++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 1377 insertions(+)
 create mode 100644 lib/libcuse/Makefile
 create mode 100644 lib/libcuse/cuse.3
 create mode 100644 lib/libcuse/cuse.h
 create mode 100644 lib/libcuse/cuse_lib.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ec3f0bfd45e2b4f4fe9c9ba287a77fad4a528a12


-- 
DragonFly BSD source repository


More information about the Commits mailing list