Re: [PATCH bpf-next v2 4/4] bpf, btf: Enforce destructor kfunc type with CFI
From: Yonghong Song
Date: Fri Jul 25 2025 - 19:38:06 EST
On 7/25/25 2:44 PM, Sami Tolvanen wrote:
Ensure that registered destructor kfuncs have the same type
as btf_dtor_kfunc_t to avoid a kernel panic on systems with
CONFIG_CFI_CLANG enabled.
Signed-off-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
Acked-by: Yonghong Song <yonghong.song@xxxxxxxxx>