Procházet zdrojové kódy

Update statically linked libseccomp to 2.3.0

Fixes #20550

This update to libseccomp supports the new versions of socket
system calls that can be called directly rather than via the
socketcall syscall in kernel versions 4.3 or later with new glibc.

Note this library version now supports s390x and ppc64le, so
seccomp can be potentially be enabled for these architectures now.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Justin Cormack před 9 roky
rodič
revize
68bda672dc
4 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 1 1
      Dockerfile
  2. 1 1
      Dockerfile.aarch64
  3. 1 1
      Dockerfile.armhf
  4. 1 1
      Dockerfile.gccgo

+ 1 - 1
Dockerfile

@@ -101,7 +101,7 @@ RUN set -x \
 ENV PATH /osxcross/target/bin:$PATH
 ENV PATH /osxcross/target/bin:$PATH
 
 
 # install seccomp: the version shipped in trusty is too old
 # install seccomp: the version shipped in trusty is too old
-ENV SECCOMP_VERSION 2.2.3
+ENV SECCOMP_VERSION 2.3.0
 RUN set -x \
 RUN set -x \
 	&& export SECCOMP_PATH="$(mktemp -d)" \
 	&& export SECCOMP_PATH="$(mktemp -d)" \
 	&& curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" \
 	&& curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" \

+ 1 - 1
Dockerfile.aarch64

@@ -78,7 +78,7 @@ RUN cd /usr/local/lvm2 \
 # see https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL
 # see https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL
 
 
 # install seccomp: the version shipped in trusty is too old
 # install seccomp: the version shipped in trusty is too old
-ENV SECCOMP_VERSION 2.2.3
+ENV SECCOMP_VERSION 2.3.0
 RUN set -x \
 RUN set -x \
 	&& export SECCOMP_PATH="$(mktemp -d)" \
 	&& export SECCOMP_PATH="$(mktemp -d)" \
 	&& curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" \
 	&& curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" \

+ 1 - 1
Dockerfile.armhf

@@ -103,7 +103,7 @@ RUN git clone https://github.com/golang/lint.git /go/src/github.com/golang/lint
 	&& go install -v github.com/golang/lint/golint
 	&& go install -v github.com/golang/lint/golint
 
 
 # install seccomp: the version shipped in trusty is too old
 # install seccomp: the version shipped in trusty is too old
-ENV SECCOMP_VERSION 2.2.3
+ENV SECCOMP_VERSION 2.3.0
 RUN set -x \
 RUN set -x \
 	&& export SECCOMP_PATH="$(mktemp -d)" \
 	&& export SECCOMP_PATH="$(mktemp -d)" \
 	&& curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" \
 	&& curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" \

+ 1 - 1
Dockerfile.gccgo

@@ -43,7 +43,7 @@ RUN cd /usr/local/lvm2 \
 # see https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL
 # see https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL
 
 
 # install seccomp: the version shipped in jessie is too old
 # install seccomp: the version shipped in jessie is too old
-ENV SECCOMP_VERSION v2.2.3
+ENV SECCOMP_VERSION v2.3.0
 RUN set -x \
 RUN set -x \
     && export SECCOMP_PATH=$(mktemp -d) \
     && export SECCOMP_PATH=$(mktemp -d) \
     && git clone https://github.com/seccomp/libseccomp.git "$SECCOMP_PATH" \
     && git clone https://github.com/seccomp/libseccomp.git "$SECCOMP_PATH" \