summaryrefslogtreecommitdiff
path: root/src/core/mount-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-02-16 14:59:26 +0100
committerLennart Poettering <lennart@poettering.net>2018-02-21 16:43:36 +0100
commit43b7f24b5e0dd048452112bfb344739764c58694 (patch)
treed3ae7e671a6e422fa1f92f1b401d1d2ad476f16c /src/core/mount-setup.c
parent9b3c189786a637fbd3b402a1c09626cb831c0fd3 (diff)
downloadsystemd-43b7f24b5e0dd048452112bfb344739764c58694.tar.gz
bpf: mount bpffs by default on boot
We make heavy use of BPF functionality these days, hence expose the BPF file system too by default now. (Note however, that we don't actually make use bpf file systems object yet, but we might later on too.)
Diffstat (limited to 'src/core/mount-setup.c')
-rw-r--r--src/core/mount-setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index ed78c945d1..e8e572c63e 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -118,6 +118,8 @@ static const MountPoint mount_table[] = {
{ "efivarfs", "/sys/firmware/efi/efivars", "efivarfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
is_efi_boot, MNT_NONE },
#endif
+ { "bpf", "/sys/fs/bpf", "bpf", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ NULL, MNT_NONE, },
};
/* These are API file systems that might be mounted by other software,