From 1c1b9b1eba6a51cf62024505e66017fcd6aa559f Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 4 Feb 2022 09:36:42 +0100 Subject: [PATCH] unix/linux: update to glibc 2.35, Go 1.17.6 Change-Id: I90b7eee499d6ed6ea431d2c8539aae5afa25cfab Reviewed-on: https://go-review.googlesource.com/c/sys/+/383134 Trust: Tobias Klauser Run-TryBot: Tobias Klauser TryBot-Result: Gopher Robot Reviewed-by: Matt Layher --- unix/linux/Dockerfile | 8 ++++---- unix/zerrors_linux.go | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/unix/linux/Dockerfile b/unix/linux/Dockerfile index a9243e38..47763508 100644 --- a/unix/linux/Dockerfile +++ b/unix/linux/Dockerfile @@ -17,13 +17,13 @@ WORKDIR /git RUN git config --global advice.detachedHead false # Linux Kernel: Released 09 Jan 2022 RUN git clone --branch v5.16 --depth 1 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux -# GNU C library: Released 02 Aug 2021 -RUN git clone --branch release/2.34/master --depth 1 https://sourceware.org/git/glibc.git +# GNU C library: Released 03 Feb 2022 +RUN git clone --branch release/2.35/master --depth 1 https://sourceware.org/git/glibc.git # Get Go -ENV GOLANG_VERSION 1.17.3 +ENV GOLANG_VERSION 1.17.6 ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz -ENV GOLANG_DOWNLOAD_SHA256 550f9845451c0c94be679faf116291e7807a8d78b43149f9506c1b15eb89008c +ENV GOLANG_DOWNLOAD_SHA256 231654bbf2dab3d86c1619ce799e77b03d96f9b50770297c8f4dff8836fc8ca2 RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ && echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \ diff --git a/unix/zerrors_linux.go b/unix/zerrors_linux.go index 4e542058..6bce6580 100644 --- a/unix/zerrors_linux.go +++ b/unix/zerrors_linux.go @@ -38,7 +38,8 @@ const ( AF_KEY = 0xf AF_LLC = 0x1a AF_LOCAL = 0x1 - AF_MAX = 0x2d + AF_MAX = 0x2e + AF_MCTP = 0x2d AF_MPLS = 0x1c AF_NETBEUI = 0xd AF_NETLINK = 0x10