From eecfca82b99e589c286acd8d2dd63f9c56757844 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Thu, 22 Aug 2024 19:39:34 +0200 Subject: [PATCH] linux: Enable perf events for BPF LSM --- package/linux-hardened/config.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/linux-hardened/config.nix b/package/linux-hardened/config.nix index 5b4ca11..1852f6c 100644 --- a/package/linux-hardened/config.nix +++ b/package/linux-hardened/config.nix @@ -228,6 +228,9 @@ COMPAT_VDSO = false; COMPAT_32BIT_TIME = false; + # Required for BPF LSM instrumentation + PERF_EVENTS = true; + DNOTIFY = false; bpf = {