Browse code

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 authored on 2016/03/11 22:01:30
Showing 4 changed files
... ...
@@ -101,7 +101,7 @@ RUN set -x \
101 101
 ENV PATH /osxcross/target/bin:$PATH
102 102
 
103 103
 # install seccomp: the version shipped in trusty is too old
104
-ENV SECCOMP_VERSION 2.2.3
104
+ENV SECCOMP_VERSION 2.3.0
105 105
 RUN set -x \
106 106
 	&& export SECCOMP_PATH="$(mktemp -d)" \
107 107
 	&& curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" \
... ...
@@ -78,7 +78,7 @@ RUN cd /usr/local/lvm2 \
78 78
 # see https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL
79 79
 
80 80
 # install seccomp: the version shipped in trusty is too old
81
-ENV SECCOMP_VERSION 2.2.3
81
+ENV SECCOMP_VERSION 2.3.0
82 82
 RUN set -x \
83 83
 	&& export SECCOMP_PATH="$(mktemp -d)" \
84 84
 	&& curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" \
... ...
@@ -103,7 +103,7 @@ RUN git clone https://github.com/golang/lint.git /go/src/github.com/golang/lint
103 103
 	&& go install -v github.com/golang/lint/golint
104 104
 
105 105
 # install seccomp: the version shipped in trusty is too old
106
-ENV SECCOMP_VERSION 2.2.3
106
+ENV SECCOMP_VERSION 2.3.0
107 107
 RUN set -x \
108 108
 	&& export SECCOMP_PATH="$(mktemp -d)" \
109 109
 	&& curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" \
... ...
@@ -43,7 +43,7 @@ RUN cd /usr/local/lvm2 \
43 43
 # see https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL
44 44
 
45 45
 # install seccomp: the version shipped in jessie is too old
46
-ENV SECCOMP_VERSION v2.2.3
46
+ENV SECCOMP_VERSION v2.3.0
47 47
 RUN set -x \
48 48
     && export SECCOMP_PATH=$(mktemp -d) \
49 49
     && git clone https://github.com/seccomp/libseccomp.git "$SECCOMP_PATH" \