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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Geliang Tang <tanggeliang@xxxxxxxxxx>

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(-)

-- 
2.43.0





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux