[PATCH v2 04/13] libbpf: Support exclusive map creation
Alexei Starovoitov
alexei.starovoitov at gmail.com
Tue Jul 29 02:25:18 UTC 2025
On Mon, Jul 21, 2025 at 2:20 PM KP Singh <kpsingh at kernel.org> wrote:
>
>
> +/**
> + * @brief **bpf_map__get_exclusive_program()** returns the exclusive program
> + * that is registered with the map (if any).
> + * @param map BPF map to which the exclusive program is registered.
> + * @return the registered exclusive program.
> + */
> +LIBBPF_API struct bpf_program *bpf_map__get_exclusive_program(struct bpf_map *map);
I couldn't find patches where it's used.
Do we actually need it?
More information about the Linux-security-module-archive
mailing list