1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package seccomp_test
import (
. "hakurei.app/container/seccomp"
. "hakurei.app/container/std"
)
var bpfExpected = bpfLookup{
{AllowMultiarch | AllowCAN |
AllowBluetooth, PresetExt |
PresetDenyNS | PresetDenyTTY | PresetDenyDevel |
PresetLinux32}: mustParse(
"kTU/furbbKFu+aUjE33OgA1lzXHZbBcD42Q+jBd8P75Tz/5x9VStq+vvR7n+rJf8"),
{0, 0}: mustParse(
"o+lUKm/WcU5+agdfjkJm4FlzJ72ntHjS73TdK9miG3FLJc7rog0DeVhA8WG3dK69"),
{0, PresetExt}: mustParse(
"y1EIz4vqXxMtcaqkoT9osa2sDuxtGCb0A/tNm40DWpP8okc+pF3JMlR2ZfOIqabS"),
{0, PresetStrict}: mustParse(
"5b43Aunj1EXM9gzuF0y/0a6zXCJgaHY8Dhbnh2j5m7emu8eQiT/kSCkK1zk4G0h4"),
{0, PresetDenyNS | PresetDenyTTY | PresetDenyDevel}: mustParse(
"2Nla9HGCyjb63w1TnMfdOIg7df/XyS9QW9Lrl+i+ll4SP020G3vOEDfNj0ddd2FV"),
{0, PresetExt | PresetDenyDevel}: mustParse(
"IVhTKOcI8/+ZBLlpepkJD5ip92MNdce+sOzO1rwL/yhki5A7ZBQ345vp7JDFBmWb"),
{0, PresetExt | PresetDenyNS | PresetDenyDevel}: mustParse(
"c2AyOeLdGke02LLEwk+4Rcl6GZhy527Y8YXlMyxPH84jHsCdlK6ntDTQhVr49sp0"),
}
|