Skip to content

Conversation

@kernel-patches-daemon-bpf-rc
Copy link

Pull request for series with
subject: bpftool: add kernel.kptr_restrict hint for no instructions
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=989432

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: fa47913
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=989432
version: 1

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: fa47913
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=989432
version: 1

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 0786654
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=989432
version: 1

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: dc0fe95
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=989432
version: 1

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: c80d797
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=989432
version: 1

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: abdaf49
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=989432
version: 1

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 3ec8560
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=989432
version: 1

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 1274163
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=989432
version: 1

from bpftool github repo issue [0], when Linux distribution
kernel.kptr_restrict is set to 2, bpftool prog dump jited returns "no
instructions returned", this message can be puzzling to bpftool users
who is not familiar with kernel BPF internal, so add small hint for
bpftool users to check kernel.kptr_restrict setting. Set
kernel.kptr_restrict to expose kernel address to allow bpftool prog
dump jited to dump the jited bpf program instructions.

[0]: libbpf/bpftool#184

Signed-off-by: Vincent Li <[email protected].
@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: d87fdb1
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=989432
version: 1

@kernel-patches-daemon-bpf-rc
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=989432 expired. Closing PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment