Skip to content

Release 2.5.0

Choose a tag to compare

@github-actions github-actions released this 23 Aug 02:40
· 9 commits to main since this release
Hook fsnotify to ignore /proc inodes; bump 2.5.0

Bump KPM version to 2.5.0 and add an fsnotify hook to skip notifications for /proc inodes. Introduces PROC_SUPER_MAGIC, minimal inode/super_block structs, is_proc_inode helper, and fsnotify_addr. Installs hook_wrap7 for fsnotify on kernels >= 5.10 and unwraps on cleanup. Also include asm-generic/rwonce.h and switch accesses to hook_active to READ_ONCE/WRITE_ONCE for thread-safety. This prevents fsnotify handling for proc entries and reduces race conditions when toggling the hook.