diff options
author | Milan Landaverde <[email protected]> | 2022-03-22 10:49:45 -0400 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-03-28 19:01:54 -0700 |
commit | 8c1b21198551d795a44f08ad185f716732b47bbe (patch) | |
tree | 011355cb0088c63cd08ce86de5812e910f490e22 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | d717e4cae0fe77e10a27e8545a967b8c379873ac (diff) |
bpf/bpftool: Add unprivileged_bpf_disabled check against value of 2
In [1], we added a kconfig knob that can set
/proc/sys/kernel/unprivileged_bpf_disabled to 2
We now check against this value in bpftool feature probe
[1] https://lore.kernel.org/bpf/74ec548079189e4e4dffaeb42b8987bb3c852eee.1620765074.git.daniel@iogearbox.net
Signed-off-by: Milan Landaverde <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Acked-by: KP Singh <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions