Re: [PATCH v3 1/3] bpf: propagate cb_access from freplace programs

From: Alexei Starovoitov

Date: Sun Sep 20 2026 - 13:12:23 EST


On Sun Sep 20, 2026 at 4:32 PM UTC, Weiming Shi wrote:
>
> struct bpf_prog {
> u16 pages; /* Number of allocated pages */
> + bool cb_access; /* Is control block accessed? */
> u32 jited:1, /* Is our filter JIT'ed? */
> jit_requested:1,/* archs need to JIT the prog */
> jit_required:1, /* program strictly requires JIT compiler */
> gpl_compatible:1, /* Is filter GPL compatible? */
> - cb_access:1, /* Is control block accessed? */

No. keep the signle bit.