git: vfs/procfs: Add kqueue support

Aaron LI aly at crater.dragonflybsd.org
Mon Jul 22 21:02:36 PDT 2024


commit 4a361a72d5eb7e167949f7a4975bc29c2fc2c33f
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Jul 23 11:45:32 2024 +0800

    vfs/procfs: Add kqueue support
    
    This patch is mostly derived from tmpfs.
    
    With kqueue support implemented, poll() now works with the files on this
    pseudo filesystem.  For example, poll() would report POLLIN instead of
    timing out, and this makes less(1) work correctly.
    
    Reviewed-by: dillon

Summary of changes:
 sys/vfs/procfs/procfs_subr.c  |  4 ++
 sys/vfs/procfs/procfs_vnops.c | 89 ++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 92 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4a361a72d5eb7e167949f7a4975bc29c2fc2c33f


-- 
DragonFly BSD source repository


More information about the Commits mailing list