osmith submitted this change.
ttcn3: io_uring: use custom seccomp profile
Use the custom seccomp profile that allows io_uring syscalls for the
ttcn3 testsuites running with io_uring.
Related: OS#6405
Depends: docker-playground I27567c2a5d9543c3509c316226c082ab950c5ebc
Change-Id: Iaeb84627fc1404014e5a8a2e88a02ee66cfb880d
---
M jobs/ttcn3-testsuites.yml
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml
index 06a796a..14e0a36 100644
--- a/jobs/ttcn3-testsuites.yml
+++ b/jobs/ttcn3-testsuites.yml
@@ -377,8 +377,13 @@
;;
*-io_uring)
DIR="$(echo "{job-name}" | sed s/\-io_uring$//)"
- # OS#6405: set memlock to unlimited for older kernels
- export DOCKER_ARGS="-e LIBOSMO_IO_BACKEND=IO_URING --ulimit memlock=-1"
+ # OS#6405: set memlock to unlimited for older kernels and
+ # enable io_uring syscalls in the seccomp profile
+ export DOCKER_ARGS="
+ -e LIBOSMO_IO_BACKEND=IO_URING
+ --ulimit memlock=-1
+ --security-opt seccomp=../seccomp_profile.json
+ "
;;
*-latest)
DIR="$(echo "{job-name}" | sed s/\-latest$//)"
To view, visit change 37433. To unsubscribe, or for help writing mail filters, visit settings.