Re: [PATCH bpf-next] libbpf: preserve errno across pr_warn/pr_info/pr_debug

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

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Wed, 10 Aug 2022 11:34:25 -0700 you wrote:
> As suggested in [0], make sure that libbpf_print saves and restored
> errno and as such guaranteed that no matter what actual print callback
> user installs, macros like pr_warn/pr_info/pr_debug are completely
> transparent as far as errno goes.
> 
> While libbpf code is pretty careful about not clobbering important errno
> values accidentally with pr_warn(), it's a trivial change to make sure
> that pr_warn can be used anywhere without a risk of clobbering errno.
> 
> [...]

Here is the summary with links:
  - [bpf-next] libbpf: preserve errno across pr_warn/pr_info/pr_debug
    https://git.kernel.org/bpf/bpf-next/c/d7c5802faff6

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[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