diff options
author | Fam Zheng | 2017-09-05 04:56:11 +0200 |
---|---|---|
committer | Fam Zheng | 2017-09-22 04:20:34 +0200 |
commit | 447074918652e7a72daf0875a97351cad10581b6 (patch) | |
tree | 22f2a3fd01cc2bed02464b1a444861c73988bc49 /tests/docker | |
parent | docker: Add test_fail and prep_fail (diff) | |
download | qemu-447074918652e7a72daf0875a97351cad10581b6.tar.gz qemu-447074918652e7a72daf0875a97351cad10581b6.tar.xz qemu-447074918652e7a72daf0875a97351cad10581b6.zip |
docker: Use unconfined security profile
Some by default blocked syscalls are required to run tests for example
userfaultfd.
Reviewed-by: Kashyap Chamarthy <kchamart@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170905025614.579-4-famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Based-on: 20170905021201.25684-1-famz@redhat.com
Diffstat (limited to 'tests/docker')
-rw-r--r-- | tests/docker/Makefile.include | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 2c49930907..2bed4c0e00 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -145,6 +145,7 @@ docker-run: docker-qemu-src $(call quiet-command, \ $(SRC_PATH)/tests/docker/docker.py run \ $(if $(NOUSER),,-u $(shell id -u)) -t \ + --security-opt seccomp=unconfined \ $(if $V,,--rm) \ $(if $(DEBUG),-i,) \ $(if $(NETWORK),$(if $(subst $(NETWORK),,1),--net=$(NETWORK)),--net=none) \ |