From 4ac1e684e5b973dbfdd93f486825cece88d03036 Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Mon, 7 Jul 2025 19:30:28 +0200 Subject: [PATCH] config: add fanotify I have some eBPF programs using the BTF definition of 'struct fsnotify_group' and attached on kprobe/fsnotify_remove_first_event and other fanotify functions. For this, I need a kernel with fanotify. Signed-off-by: Alban Crequy --- config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config b/config index 29c8e22..54f2ab8 100644 --- a/config +++ b/config @@ -90,6 +90,10 @@ CONFIG_XDP_SOCKETS=y CONFIG_HW_RANDOM_VIRTIO=y CONFIG_VIRTIO_BALLOON=y +# Other features useful to add in BTF +CONFIG_FANOTIFY=y +CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y + # Get rid of some drivers and obsolete features CONFIG_ATA=n CONFIG_DRM=n