aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorPu Lehui <[email protected]>2022-09-21 10:46:02 +0000
committerMartin KaFai Lau <[email protected]>2022-09-21 10:57:12 -0700
commit0e426a3ae030a9e891899370229e117158b35de6 (patch)
tree995c2de05da1e29140c01af9fb034f51dd2a2a35 /scripts/generate_rust_analyzer.py
parent83c10cc362d91c0d8d25e60779ee52fdbbf3894d (diff)
bpf, cgroup: Reject prog_attach_flags array when effective query
Attach flags is only valid for attached progs of this layer cgroup, but not for effective progs. For querying with EFFECTIVE flags, exporting attach flags does not make sense. So when effective query, we reject prog_attach_flags array and don't need to populate it. Also we limit attach_flags to output 0 during effective query. Fixes: b79c9fc9551b ("bpf: implement BPF_PROG_QUERY for BPF_LSM_CGROUP") Signed-off-by: Pu Lehui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions