-
Notifications
You must be signed in to change notification settings - Fork 5
Ease BPF signing build requirements #6360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ease BPF signing build requirements #6360
Conversation
|
Upstream branch: 63066b7 |
|
Upstream branch: 63066b7 |
4125718 to
c31a868
Compare
4fcc7e1 to
1aeb398
Compare
|
Upstream branch: c133390 |
c31a868 to
62ddb64
Compare
1aeb398 to
f68d848
Compare
|
Upstream branch: ef2c0b2 |
62ddb64 to
19d591e
Compare
f68d848 to
3fd24de
Compare
|
Upstream branch: a4d31f4 |
19d591e to
2180860
Compare
3fd24de to
22f76ea
Compare
|
Upstream branch: 4f7bc83 |
ERR_get_error_all()[1] is a openssl v3 API, so to make code compatible with openssl v1 utilize ERR_get_err_line_data instead. Since openssl is already a build requirement for the kernel (minimum requirement openssl 1.0.0), this will allow bpftool to compile where opensslv3 is not available. Signing-related BPF selftests pass with openssl v1. [1] https://docs.openssl.org/3.4/man3/ERR_get_error/ Fixes: 40863f4 ("bpftool: Add support for signing BPF programs") Signed-off-by: Alan Maguire <[email protected]> Acked-by: Song Liu <[email protected]>
Currently selftests require xxd with the "-n <name>" option
which allows the user to specify a name not derived from
the input object path. Instead of relying on this newer
feature, older xxd can be used if we link our desired name
("test_progs_verification_cert") to the input object.
Many distros ship xxd in vim-common package and do not have
the latest xxd with -n support.
Fixes: b720903 ("selftests/bpf: Enable signature verification for some lskel tests")
Signed-off-by: Alan Maguire <[email protected]>
2180860 to
10847ad
Compare
22f76ea to
d766c2f
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1023756 expired. Closing PR. |
Pull request for series with
subject: Ease BPF signing build requirements
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1023756