Commit d110e70c authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Will Deacon
Browse files

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: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20231215092707.799451071@infradead.org


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>

Bug: 452811419
Change-Id: I210ffa88fc376cb842d3fac19c072b412b42fa9b
(cherry picked from commit e4c00339)
Signed-off-by: default avatarwei li <sirius.liwei@honor.corp-partner.google.com>
parent dc2c8fc9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment