APPLIED: [Eoan][SRU][PATCH 0/1] Fix for bpf kselftest build issue
Khaled Elmously
khalid.elmously at canonical.com
Fri Feb 14 04:50:51 UTC 2020
On 2020-02-07 14:47:40 , Po-Hsu Lin wrote:
> == SRU Justification ==
> Commit 7541c87c ("bpf: Allow narrow loads of bpf_sysctl fields with
> offset > 0") applied to Eoan tree via stable-update process brought a
> member called "seek" to tools/testing/selftests/bpf/test_sysctl.c:
> .seek = 4,
>
> However we don't have the commit that declares it, so the compilation
> failed with:
> test_sysctl.c:181:4: error: ‘struct sysctl_test’ has no member named ‘seek’
> 181 | .seek = 4,
> | ^~~~
>
> == Fix ==
> * d895a0f1 ("bpf: fix accessing bpf_sysctl.file_pos on s390")
>
> Only Eoan is affected.
>
> == Test ==
> Patch tested against the affected kernels, the bpf test can be built
> without any issue.
>
> == Regression Potential ==
> Low, changes limited to testing tools.
>
> Ilya Leoshkevich (1):
> bpf: fix accessing bpf_sysctl.file_pos on s390
>
> include/linux/filter.h | 8 ++++----
> kernel/bpf/cgroup.c | 10 ++++++++--
> kernel/bpf/verifier.c | 4 ++--
> tools/testing/selftests/bpf/test_sysctl.c | 9 ++++++++-
> 4 files changed, 22 insertions(+), 9 deletions(-)
>
> --
> 2.7.4
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list