Skip to content

Commit d3cbad7

Browse files
albanti-mo
authored andcommitted
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 <alban.crequy@gmail.com>
1 parent 4a7e17d commit d3cbad7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ CONFIG_XDP_SOCKETS=y
9191
CONFIG_HW_RANDOM_VIRTIO=y
9292
CONFIG_VIRTIO_BALLOON=y
9393

94+
# Other features useful to add in BTF
95+
CONFIG_FANOTIFY=y
96+
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
97+
9498
# Get rid of some drivers and obsolete features
9599
CONFIG_ATA=n
96100
CONFIG_DRM=n

0 commit comments

Comments
 (0)