Skip to content

Commit 397d5f8

Browse files
halfcrazygopherbot
authored andcommitted
unix: update to Linux kernel 7.0
Change-Id: I2e77f6fa2ac141018c4fe5cba2c8615c9e05d99c GitHub-Last-Rev: 5d46d8f GitHub-Pull-Request: #274 Reviewed-on: https://go-review.googlesource.com/c/sys/+/779140 Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Auto-Submit: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
1 parent 0a387f7 commit 397d5f8

50 files changed

Lines changed: 929 additions & 583 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

unix/linux/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1515
# Get the git sources. If not cached, this takes O(5 minutes).
1616
WORKDIR /git
1717
RUN git config --global advice.detachedHead false
18-
# Linux Kernel: Released 27 Jul 2025
19-
RUN git clone --branch v6.16 --depth 1 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
18+
# Linux Kernel: Released 13 Apr 2026
19+
RUN git clone --branch v7.0 --depth 1 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
2020
# GNU C library: Released 29 Jan 2025
2121
RUN git clone --branch release/2.41/master --depth 1 https://sourceware.org/git/glibc.git
2222

unix/linux/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,8 @@ type (
564564

565565
type Timespec C.struct_timespec
566566

567+
type KernelTimespec C.struct___kernel_timespec
568+
567569
type Timeval C.struct_timeval
568570

569571
type Timex C.struct_timex

unix/mkerrors.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,9 @@ struct ltchars {
354354
// Renamed in v6.16, commit c6d732c38f93 ("net: ethtool: remove duplicate defines for family info")
355355
#define ETHTOOL_FAMILY_NAME ETHTOOL_GENL_NAME
356356
#define ETHTOOL_FAMILY_VERSION ETHTOOL_GENL_VERSION
357+
358+
// Removed in v6.17, commit 760e6f7befba ("futex: Remove support for IMMUTABLE")
359+
#define PR_FUTEX_HASH_GET_IMMUTABLE 3
357360
'
358361

359362
includes_NetBSD='

unix/zerrors_linux.go

Lines changed: 59 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zerrors_linux_386.go

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unix/zerrors_linux_amd64.go

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)