summaryrefslogtreecommitdiff
path: root/pkg/linux-headers/patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/linux-headers/patch')
-rw-r--r--pkg/linux-headers/patch/0002-Revert-change-of-BPF_F_-to-enum-constants.patch8
-rw-r--r--pkg/linux-headers/patch/0004-Prevent-zero-length-array-members-in-asound.h.patch10
-rw-r--r--pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch12
3 files changed, 15 insertions, 15 deletions
diff --git a/pkg/linux-headers/patch/0002-Revert-change-of-BPF_F_-to-enum-constants.patch b/pkg/linux-headers/patch/0002-Revert-change-of-BPF_F_-to-enum-constants.patch
index bd4a51eb..817af603 100644
--- a/pkg/linux-headers/patch/0002-Revert-change-of-BPF_F_-to-enum-constants.patch
+++ b/pkg/linux-headers/patch/0002-Revert-change-of-BPF_F_-to-enum-constants.patch
@@ -1,4 +1,4 @@
-From 8b57c152660e28afb04d9c03a5b8b5c224bd11fd Mon Sep 17 00:00:00 2001
+From d30eb4721a77809524e1028d7ec750f2a3d2eae6 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Tue, 2 Jun 2020 03:56:03 -0700
Subject: [PATCH] Revert change of BPF_F_* to enum constants
@@ -8,10 +8,10 @@ Subject: [PATCH] Revert change of BPF_F_* to enum constants
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
-index ba5af15e25f5..90c141acf380 100644
+index 59a217ca2dfd..864d6345ebc3 100644
--- a/include/uapi/linux/bpf.h
+++ b/include/uapi/linux/bpf.h
-@@ -5185,12 +5185,10 @@ enum {
+@@ -5606,12 +5606,10 @@ enum {
/* BPF_FUNC_perf_event_output, BPF_FUNC_perf_event_read and
* BPF_FUNC_perf_event_read_value flags.
*/
@@ -28,5 +28,5 @@ index ba5af15e25f5..90c141acf380 100644
/* Current network namespace */
enum {
--
-2.34.1
+2.35.1
diff --git a/pkg/linux-headers/patch/0004-Prevent-zero-length-array-members-in-asound.h.patch b/pkg/linux-headers/patch/0004-Prevent-zero-length-array-members-in-asound.h.patch
index 00d7533c..62a49785 100644
--- a/pkg/linux-headers/patch/0004-Prevent-zero-length-array-members-in-asound.h.patch
+++ b/pkg/linux-headers/patch/0004-Prevent-zero-length-array-members-in-asound.h.patch
@@ -1,4 +1,4 @@
-From 1c362a59b41e944dd21b5d72dbab4465d2346415 Mon Sep 17 00:00:00 2001
+From 0be2d9781e7023f71d1e9b8939a5faf844033846 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Mon, 30 Aug 2021 19:26:32 -0700
Subject: [PATCH] Prevent zero-length array members in asound.h
@@ -8,10 +8,10 @@ Subject: [PATCH] Prevent zero-length array members in asound.h
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h
-index 5859ca0a1439..bbb078f3fddf 100644
+index 3974a2a911cc..ac58a16fc826 100644
--- a/include/uapi/sound/asound.h
+++ b/include/uapi/sound/asound.h
-@@ -554,22 +554,30 @@ struct __snd_pcm_sync_ptr {
+@@ -561,22 +561,30 @@ struct __snd_pcm_sync_ptr {
} c;
};
@@ -48,7 +48,7 @@ index 5859ca0a1439..bbb078f3fddf 100644
struct __snd_timespec64 tstamp; /* Timestamp */
snd_pcm_state_t suspended_state;/* RO: suspended stream state */
__u32 pad3; /* Needed for 64 bit alignment */
-@@ -577,15 +585,18 @@ struct __snd_pcm_mmap_status64 {
+@@ -584,15 +592,18 @@ struct __snd_pcm_mmap_status64 {
};
struct __snd_pcm_mmap_control64 {
@@ -72,5 +72,5 @@ index 5859ca0a1439..bbb078f3fddf 100644
__u32 flags;
__u32 pad1;
--
-2.34.0
+2.35.1
diff --git a/pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch b/pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch
index 025a28d1..91af76ad 100644
--- a/pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch
+++ b/pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch
@@ -1,4 +1,4 @@
-From 2098e4227bca59a46f19f817a6af1f52ea9a408e Mon Sep 17 00:00:00 2001
+From e0e81fd6e3be7bd03fcf82cbb598253a9b7c47f8 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Thu, 2 Dec 2021 14:49:08 -0800
Subject: [PATCH] Make struct bpf_timer include a named member
@@ -12,10 +12,10 @@ Signed-off-by: Michael Forney <mforney@mforney.org>
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
-index 90c141acf380..b05ee9448e6a 100644
+index 864d6345ebc3..a2ac330e49bd 100644
--- a/include/uapi/linux/bpf.h
+++ b/include/uapi/linux/bpf.h
-@@ -6250,9 +6250,8 @@ struct bpf_spin_lock {
+@@ -6688,9 +6688,8 @@ struct bpf_spin_lock {
};
struct bpf_timer {
@@ -25,8 +25,8 @@ index 90c141acf380..b05ee9448e6a 100644
+ __u64 reserved[2];
+};
- struct bpf_sysctl {
- __u32 write; /* Sysctl is being read (= 0) or written (= 1).
+ struct bpf_dynptr {
+ __u64 :64;
--
-2.34.1
+2.35.1