pkg/init: Mount /sys/fs/bpf

NOTE: This will be a shared mount, due to root being turned into a
shared with `MC_REC` set: `mount("", "/", "", rec|shared, "")`.
For some reason setting `shared` when mounting `/sys/fs/bpf` doesn't
work at all, perhaps that's just a kernel feature.

Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
Ilya Dmitrichenko
2020-04-16 15:19:01 +01:00
parent 39aafb21d0
commit 86fb6ba0aa
104 changed files with 105 additions and 103 deletions

View File

@@ -2,7 +2,7 @@ kernel:
image: linuxkit/kernel-ima:4.11.1-186dd3605ee7b23214850142f8f02b4679dbd148
cmdline: "console=ttyS0 console=tty0 page_poison=1 ima_appraise=enforce_ns"
init:
- linuxkit/init:7195dc244cd92af01fd0895fd204249a6114c5e2
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
- linuxkit/runc:f79954950022fea76b8b6f10de58cb48e4fb3878
- linuxkit/containerd:6ef473a228db6f6ee163f9b9a051102a1552a4ef
- linuxkit/ca-certificates:abfc6701b9ca17e34ac9439ce5946a247e720ff5