hook_fsnotify is a KernelPatch Module (KPM) that hooks the fsnotify syscall on Linux kernels ranging from 5.10 up to 6.12.
- Name:
hook_fsnotify - Version:
1.2.0 - License: MIT
- Author: Yervant7
- Target Architecture: ARM64 (
aarch64) - Supported Kernel Range: 5.10 – 6.12 (GKI Android kernels)
- Inline‑hook of
fsnotifyto filter out notifications from/proc. - Runtime control commands:
enable,disable,status,toggle. - Fully compatible with KernelPatch's symbol resolution and hooking APIs.
The project uses a standard Makefile to produce a .kpm binary.
# Clone the repository
git clone --recurse-submodules https://github.com/Yervant7/hook_fsnotify.git
cd hook_fsnotify
# Build the KPM (requires aarch64-none-elf-gcc)
makeThe resulting artifact will be placed in hook_fsnotify.kpm.
After loading the KPM on the target device, you can control it using the KPM control interface.
This project is licensed under the MIT License – see the LICENSE file for details.
Yervant7 – https://github.com/Yervant7