[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/5] docker: Use unconfined security profile
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH 3/5] docker: Use unconfined security profile |
Date: |
Fri, 05 May 2017 09:27:11 +0100 |
User-agent: |
mu4e 0.9.19; emacs 25.2.17 |
Fam Zheng <address@hidden> writes:
> Some by default blocked syscalls are required to run tests for example
> userfaultfd.
Is there any way the tests could DoS the host? I guess you could achieve
the same running the iotests directly from make but it does seem we
should confine the docker guest as much as possible.
>
> Signed-off-by: Fam Zheng <address@hidden>
> ---
> tests/docker/Makefile.include | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
> index 0ed8c3d..09d157c 100644
> --- a/tests/docker/Makefile.include
> +++ b/tests/docker/Makefile.include
> @@ -127,6 +127,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,--net=none) \
> -e TARGET_LIST=$(TARGET_LIST) \
--
Alex Bennée
- [Qemu-devel] [PATCH 0/5] docker: Add test-block, Fam Zheng, 2017/05/04
- [Qemu-devel] [PATCH 1/5] docker: Run tests with current user, Fam Zheng, 2017/05/04
- [Qemu-devel] [PATCH 2/5] docker: Add bzip2 and hostname to fedora image, Fam Zheng, 2017/05/04
- [Qemu-devel] [PATCH 3/5] docker: Use unconfined security profile, Fam Zheng, 2017/05/04
- [Qemu-devel] [PATCH 4/5] docker: Add libaio to fedora image, Fam Zheng, 2017/05/04
- [Qemu-devel] [PATCH 5/5] docker: Add test-block, Fam Zheng, 2017/05/04