mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
namespace: protect bpf file system as part of ProtectKernelTunables=
It also exposes kernel objects, let's better include this in ProtectKernelTunables=.
This commit is contained in:
@@ -106,6 +106,7 @@ static const MountEntry protect_kernel_tunables_table[] = {
|
||||
{ "/sys", READONLY, false },
|
||||
{ "/sys/kernel/debug", READONLY, true },
|
||||
{ "/sys/kernel/tracing", READONLY, true },
|
||||
{ "/sys/fs/bpf", READONLY, true },
|
||||
{ "/sys/fs/cgroup", READWRITE, false }, /* READONLY is set by ProtectControlGroups= option */
|
||||
{ "/sys/fs/selinux", READWRITE, true },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user