Re: [PATCHv5 bpf-next 0/6] bpf: Fixes for CONFIG_X86_KERNEL_IBT

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

 



Hello:

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

On Mon, 26 Sep 2022 17:33:34 +0200 you wrote:
> hi,
> Martynas reported bpf_get_func_ip returning +4 address when
> CONFIG_X86_KERNEL_IBT option is enabled and I found there are
> some failing bpf tests when this option is enabled.
> 
> The CONFIG_X86_KERNEL_IBT option adds endbr instruction at the
> function entry, so the idea is to 'fix' entry ip for kprobe_multi
> and trampoline probes, because they are placed on the function
> entry.
> 
> [...]

Here is the summary with links:
  - [PATCHv5,bpf-next,1/6] kprobes: Add new KPROBE_FLAG_ON_FUNC_ENTRY kprobe flag
    https://git.kernel.org/bpf/bpf-next/c/bf7a87f1075f
  - [PATCHv5,bpf-next,2/6] ftrace: Keep the resolved addr in kallsyms_callback
    https://git.kernel.org/bpf/bpf-next/c/9d68c19c57d6
  - [PATCHv5,bpf-next,3/6] bpf: Use given function address for trampoline ip arg
    https://git.kernel.org/bpf/bpf-next/c/4d854f4f31ec
  - [PATCHv5,bpf-next,4/6] bpf: Adjust kprobe_multi entry_ip for CONFIG_X86_KERNEL_IBT
    https://git.kernel.org/bpf/bpf-next/c/c09eb2e578eb
  - [PATCHv5,bpf-next,5/6] bpf: Return value in kprobe get_func_ip only for entry address
    https://git.kernel.org/bpf/bpf-next/c/0e253f7e558a
  - [PATCHv5,bpf-next,6/6] selftests/bpf: Fix get_func_ip offset test for CONFIG_X86_KERNEL_IBT
    https://git.kernel.org/bpf/bpf-next/c/738c345b74b8

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