-
Notifications
You must be signed in to change notification settings - Fork 149
bpftool: add kernel.kptr_restrict hint for no instructions #9436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: bpf-next_base
Are you sure you want to change the base?
Conversation
Upstream branch: fa47913 |
8270ae7
to
2a0e5cd
Compare
Upstream branch: fa47913 |
44186cd
to
66a8a9b
Compare
2a0e5cd
to
2562e0e
Compare
Upstream branch: 9e293d4 |
66a8a9b
to
3964dd4
Compare
2562e0e
to
5583eb6
Compare
Upstream branch: 3e2b799 |
3964dd4
to
5611ffc
Compare
5583eb6
to
601ea2d
Compare
Upstream branch: c93c59b |
5611ffc
to
249f488
Compare
601ea2d
to
7390c2c
Compare
Upstream branch: bf0c2a8 |
249f488
to
fafd8c1
Compare
7390c2c
to
3a736b5
Compare
Upstream branch: 2caa6b8 |
fafd8c1
to
4d16ba4
Compare
3a736b5
to
c210f22
Compare
Upstream branch: 0786654 |
4d16ba4
to
5f60eb4
Compare
c210f22
to
2530e45
Compare
Upstream branch: dc0fe95 |
5f60eb4
to
1385cc4
Compare
2530e45
to
61c9cef
Compare
Upstream branch: c80d797 |
1385cc4
to
342488a
Compare
61c9cef
to
715d6cb
Compare
Upstream branch: 3ec8560 |
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].
342488a
to
13516f7
Compare
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