diff options
author | Luca Boccassi <bluca@debian.org> | 2024-05-28 19:59:24 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-05-29 08:29:47 +0200 |
commit | 8e495bf0b7c2c6a86ce2af9f49f888c281203eb6 (patch) | |
tree | 0f139c6bf14e88e23b385e479bd7fc2897afad19 /man/systemd-id128.xml | |
parent | test-network: update comment about status of kernel regression (diff) | |
download | systemd-8e495bf0b7c2c6a86ce2af9f49f888c281203eb6.tar.xz systemd-8e495bf0b7c2c6a86ce2af9f49f888c281203eb6.zip |
bpf: add helper to translate kernel error codes from libbpf
libbpf returns error codes from the kernel unmodified, and we don't understand
them so non-fatal ones are handled as hard errors.
Add a translation helper, and start by translating 524 to EOPNOTSUPP, which is
returned when nsresourced tries to use LSM BPF hooks that are not
implemented on a given arch (in this case, arm64 is misssing trampolines).
Fixes https://github.com/systemd/systemd/issues/32170
Diffstat (limited to 'man/systemd-id128.xml')
0 files changed, 0 insertions, 0 deletions