diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-02-16 14:59:26 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:59:03 +0200 |
commit | e614bab976056dd3b6e402a71a0a6de5b0b7572b (patch) | |
tree | b8e3af3318986138050fa5dcfe645278bec8feaf /src/core/mount-setup.c | |
parent | 5e7eb6fbbd4a55cb4b26929482478ca7b2eef6aa (diff) |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c index cad593471..6c6b8d102 100644 --- a/src/core/mount-setup.c +++ b/src/core/mount-setup.c @@ -124,6 +124,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, }, #else { "cgroup", "/sys/fs/cgroup/elogind", "cgroup", "none,name=elogind,release_agent="SYSTEMD_CGROUP_AGENT_PATH",xattr", MS_NOSUID|MS_NOEXEC|MS_NODEV, cg_is_legacy_wanted, MNT_IN_CONTAINER }, |