aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/seccomp
diff options
context:
space:
mode:
Diffstat (limited to 'container/seccomp')
-rw-r--r--container/seccomp/libseccomp-helper.h6
-rw-r--r--container/seccomp/presets_amd64_test.go12
-rw-r--r--container/seccomp/presets_arm64_test.go12
3 files changed, 15 insertions, 15 deletions
diff --git a/container/seccomp/libseccomp-helper.h b/container/seccomp/libseccomp-helper.h
index 29d5d5de..ffc86585 100644
--- a/container/seccomp/libseccomp-helper.h
+++ b/container/seccomp/libseccomp-helper.h
@@ -1,9 +1,9 @@
#include <seccomp.h>
#include <stdint.h>
-#if (SCMP_VER_MAJOR < 2) || (SCMP_VER_MAJOR == 2 && SCMP_VER_MINOR < 5) || \
- (SCMP_VER_MAJOR == 2 && SCMP_VER_MINOR == 5 && SCMP_VER_MICRO < 1)
-#error This package requires libseccomp >= v2.5.1
+#if (SCMP_VER_MAJOR < 2) || (SCMP_VER_MAJOR == 2 && SCMP_VER_MINOR < 6) || \
+ (SCMP_VER_MAJOR == 2 && SCMP_VER_MINOR == 6 && SCMP_VER_MICRO < 2)
+#error This package requires libseccomp >= v2.6.2
#endif
typedef enum {
diff --git a/container/seccomp/presets_amd64_test.go b/container/seccomp/presets_amd64_test.go
index ba525e7f..4947b03a 100644
--- a/container/seccomp/presets_amd64_test.go
+++ b/container/seccomp/presets_amd64_test.go
@@ -13,15 +13,15 @@ var bpfExpected = bpfLookup{
"OEo0cEGplptK4cjDEehCaXJRRde5bNSy+f85FZ7ix8JBlWg/Vz/tW/krcUTIvkgS"),
{0, 0}: mustParse(
- "sAvw2CtI7W4wSYJO6W3Ze/cR7n8SPosH2V5M7KaUAwx/I/Xt6kQfZ47mdhfpsU7X"),
+ "o0zOjtG/FXS4dFIm/rfirrmy7XKxTvv18bQq9HhZc4xaG+L4anm3Fzqzy6Ycwibr"),
{0, PresetExt}: mustParse(
- "MX+zm1iU5vjinYMESQP/nSwPZAKkg8Be1NB/78ymBWIJQL7YLHXok0wZGYCN0PGV"),
+ "rkt5plUtcKoGSnId0eilH0TI6MZ2sTc4dUpRWKQXDZ82HYsLlYwSBxwAwmimNn2y"),
{0, PresetStrict}: mustParse(
- "isd2gO0e6x0op65JOPQef7PBkQkZsk+yVDMXc6RZicws6kJly86k6D7Oc0et2UAQ"),
+ "0WPy7NuJTdxYathFWp9rc9F5NHPSs+qax6/6vn1z51OuOES+z4J40E0zvq7soGTZ"),
{0, PresetDenyNS | PresetDenyTTY | PresetDenyDevel}: mustParse(
- "rE7j00R4QKuYvFFJIlC0j7t/vepQD+pTFCwWjSpuPLytscUBBYCfhEdeAZuhtMNY"),
+ "gQmg9tonCnDZ22DlQcqlqBBRNGoh24VsDQGadm4ZmN32oGRie8RHnTiisUNV9Irx"),
{0, PresetExt | PresetDenyDevel}: mustParse(
- "G0YXlspH4dCZ7g6xt0xUSDEtovwQniGJAogR1mfPS3/Ku0bVon4Oh5plFbMMDPXh"),
+ "mNUF/wBpXHQAJnjouVj8JSoWv85UDVdPmR8ZBGydv38D3pnZ2rBmgBI56HxHKai3"),
{0, PresetExt | PresetDenyNS | PresetDenyDevel}: mustParse(
- "Y/IbE5y2PSjiP2GS7JDnNIr+sRDdAEaRhyxkrfd5SLZCaJW3j8pu/eqtNIC9ZGAi"),
+ "TfliOSrVS9y6zqMQvysUuEj053iqPooATYf75AWh5UAq7Q2XL0bW3p+SA+EdpPT+"),
}
diff --git a/container/seccomp/presets_arm64_test.go b/container/seccomp/presets_arm64_test.go
index 468591ec..cf114b5e 100644
--- a/container/seccomp/presets_arm64_test.go
+++ b/container/seccomp/presets_arm64_test.go
@@ -13,15 +13,15 @@ var bpfExpected = bpfLookup{
"twXUaARtogDCbL1KBbedm/kHg6sJXznJL0sUqRikKLm2GUtQzSfRhjGdJT0A7qvf"),
{0, 0}: mustParse(
- "E5bX9LpbIOyhramrRow7KUdI88mfJyl5l6fel/ExG225OCKbmHAEUkCjl4Fq5Pb8"),
+ "susIjSML77O/mWUFKJ3T80LbU1mz+DfLawI285KWydS+tvThw8801SEIeqe178Ny"),
{0, PresetExt}: mustParse(
- "tCfjE21krvCxqqcCZBbu7TxeN0B2HMij5bFP/izDwh8eUHDm0OYFmUjvsBGRxmhS"),
+ "esNZFUNz+6+KvvP/XLHjrxAv1QbWDSfQhYQtjvZKVOTmTanHEvLOr+G4MIJMR40v"),
{0, PresetStrict}: mustParse(
- "WMS9H9ShztPm7B/O0n+zHQ8QOjHcmVtnRx9PiGzcsrDEtNcrdjMVqfqS1GR+dMmL"),
+ "Z5AtQWCCtZgYDTKSUHupkHRL7JdTjdLKtJQSl/6OnK+vk4ZTnwJEMqENmukevdVb"),
{0, PresetDenyNS | PresetDenyTTY | PresetDenyDevel}: mustParse(
- "9qFCO42xnesgW9sgPfDSrViBL8z9AQoQNKiqdmkWE2W/9xL/eHzjkLxfhevrE8Ip"),
+ "uvmK2N9Ar9UzcmBWEVXpsEhZ8pIQuPdVoFI3p8XK8C8ymhx119NbRxmEuPPFFWYE"),
{0, PresetExt | PresetDenyDevel}: mustParse(
- "SxAtjuCiDU9kB8Ju2qIcZZHy5VFBd71aqd5migWqh4y+o0UxqY3Zb04pdTvbOQ71"),
+ "v2riXuVelbD173WNf4tr4JhOb/3aDbu74qpai8CMvi/YS877/l/jiZ71KbGvBfUw"),
{0, PresetExt | PresetDenyNS | PresetDenyDevel}: mustParse(
- "RkzpxZqXcMudAKfn/IcGLG6U8G6jcsC6Jn6UxUbnDj0CRcexKy7ZeZyGQcSsvULU"),
+ "BNbEG6cqlmnoqwo12hP+9Ad3kqYjKZDkKCRvClIilPVn+y8ixOKRW/8NfWPDImAw"),
}