mbox series

[bpf-next,0/2] handle errno ENOTSUPP

Message ID cover.1720778831.git.tanggeliang@kylinos.cn (mailing list archive)
Headers show
Series handle errno ENOTSUPP | expand

Message

Geliang Tang July 12, 2024, 10:14 a.m. UTC
From: Geliang Tang <tanggeliang@kylinos.cn>

This patchset contains two fixes for handling errno ENOTSUPP. Patch 1
fixes the return value of fixup_call_args() to make sure ENOTSUPP
is returned to user space correctly. Patch 2 handles ENOTSUPP in
libbpf_strerror_r() in libbpf.

Geliang Tang (2):
  bpf: verifier: Fix return value of fixup_call_args
  libbpf: handle ENOTSUPP in libbpf_strerror_r

 kernel/bpf/verifier.c     |  6 +++---
 tools/lib/bpf/str_error.c | 11 +++++++----
 tools/lib/bpf/str_error.h |  4 ++++
 3 files changed, 14 insertions(+), 7 deletions(-)