UPSTREAM: bpf: Fix dtor CFI
Ensure the various dtor functions match their prototype and retain their CFI signatures, since they don't have their address taken, they are prone to not getting CFI, making them impossible to call indirectly. Signed-off-by:Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20231215092707.799451071@infradead.org Signed-off-by:
Alexei Starovoitov <ast@kernel.org> Bug: 452811419 Change-Id: I210ffa88fc376cb842d3fac19c072b412b42fa9b (cherry picked from commit e4c00339) Signed-off-by:
wei li <sirius.liwei@honor.corp-partner.google.com>
Loading
Please sign in to comment