aboutsummaryrefslogtreecommitdiff
path: root/tests/nixos/io_uring/default.nix
diff options
context:
space:
mode:
authorAlois Wohlschlager <alois1@gmx-topmail.de>2024-07-01 09:18:01 +0200
committerAlois Wohlschlager <alois1@gmx-topmail.de>2024-07-25 18:24:45 +0200
commite7188e211a5a2ac0ba34635a846569560bb5f000 (patch)
tree4d42560d44069fb8a4ecc43d983d0c5956302832 /tests/nixos/io_uring/default.nix
parent127ee1a101e3f5ebab39ad98cbe58fefcd52eca5 (diff)
libstore/build: block io_uring
Unfortunately, io_uring is totally opaque to seccomp, and while currently there are no dangerous operations implemented, there is no guarantee that it remains this way. This means that io_uring should be blocked entirely to ensure that the sandbox is future-proof. This has not been observed to cause issues in practice. Change-Id: I45d3895f95abe1bc103a63969f444c334dbbf50d
Diffstat (limited to 'tests/nixos/io_uring/default.nix')
-rw-r--r--tests/nixos/io_uring/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/nixos/io_uring/default.nix b/tests/nixos/io_uring/default.nix
new file mode 100644
index 000000000..9cd445d6a
--- /dev/null
+++ b/tests/nixos/io_uring/default.nix
@@ -0,0 +1,7 @@
+let
+ inherit (import ../util.nix) mkNixBuildTest;
+in
+mkNixBuildTest {
+ name = "io_uring";
+ expressionFile = ./package.nix;
+}