summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--factory-default/sys-apps/baselayout/etc/sysctl.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/factory-default/sys-apps/baselayout/etc/sysctl.conf b/factory-default/sys-apps/baselayout/etc/sysctl.conf
index 8882326f..35fd94ba 100644
--- a/factory-default/sys-apps/baselayout/etc/sysctl.conf
+++ b/factory-default/sys-apps/baselayout/etc/sysctl.conf
@@ -38,6 +38,9 @@ kernel.dmesg_restrict = 1
# Disallow kernel profiling by users without CAP_SYS_ADMIN
kernel.perf_event_paranoid = 2
+# Turn off unprivileged eBPF access.
+kernel.unprivileged_bpf_disabled = 1
+
# Do not allow O_CREAT open on regular files that we don't own in world
# writable sticky directories, unless they are owned by the owner of the
# directory