From 5acd03effb828bdfdbad4e129e7daf84af6670b4 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 6 Aug 2020 14:37:03 +0200 Subject: [PATCH] unix: update Dockerfile to glibc 2.32 Change-Id: Ia5ebb34a743c6e676d3cb2febaefc55afa9fc7ac Reviewed-on: https://go-review.googlesource.com/c/sys/+/247157 Run-TryBot: Tobias Klauser TryBot-Result: Gobot Gobot Reviewed-by: Matt Layher --- unix/linux/Dockerfile | 4 ++-- unix/zerrors_linux.go | 2 ++ unix/zerrors_linux_arm64.go | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/unix/linux/Dockerfile b/unix/linux/Dockerfile index 0a501f83..6ff5ce9c 100644 --- a/unix/linux/Dockerfile +++ b/unix/linux/Dockerfile @@ -17,8 +17,8 @@ WORKDIR /git RUN git config --global advice.detachedHead false # Linux Kernel: Released 02 Aug 2020 RUN git clone --branch v5.8 --depth 1 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux -# GNU C library: Released 01 Feb 2020 (we should try to get a secure way to clone this) -RUN git clone --branch release/2.31/master --depth 1 git://sourceware.org/git/glibc.git +# GNU C library: Released 06 Aug 2020 (we should try to get a secure way to clone this) +RUN git clone --branch release/2.32/master --depth 1 git://sourceware.org/git/glibc.git # Get Go ENV GOLANG_VERSION 1.15rc1 diff --git a/unix/zerrors_linux.go b/unix/zerrors_linux.go index d9138207..e5c4b5d2 100644 --- a/unix/zerrors_linux.go +++ b/unix/zerrors_linux.go @@ -839,6 +839,7 @@ const ( IPPROTO_EGP = 0x8 IPPROTO_ENCAP = 0x62 IPPROTO_ESP = 0x32 + IPPROTO_ETHERNET = 0x8f IPPROTO_FRAGMENT = 0x2c IPPROTO_GRE = 0x2f IPPROTO_HOPOPTS = 0x0 @@ -852,6 +853,7 @@ const ( IPPROTO_L2TP = 0x73 IPPROTO_MH = 0x87 IPPROTO_MPLS = 0x89 + IPPROTO_MPTCP = 0x106 IPPROTO_MTP = 0x5c IPPROTO_NONE = 0x3b IPPROTO_PIM = 0x67 diff --git a/unix/zerrors_linux_arm64.go b/unix/zerrors_linux_arm64.go index 8b0e024b..84f71e99 100644 --- a/unix/zerrors_linux_arm64.go +++ b/unix/zerrors_linux_arm64.go @@ -192,6 +192,7 @@ const ( PPPIOCSRASYNCMAP = 0x40047454 PPPIOCSXASYNCMAP = 0x4020744f PPPIOCXFERUNIT = 0x744e + PROT_BTI = 0x10 PR_SET_PTRACER_ANY = 0xffffffffffffffff PTRACE_SYSEMU = 0x1f PTRACE_SYSEMU_SINGLESTEP = 0x20