Re: [RFC PATCH 4/7] static_call: fix broken static_call_query() for non-exported keys

From
Peter Zijlstra <peterz@infradead.org>
Date
2021-11-09 18:56:23
Also in
lkml
Reply to
Ard Biesheuvel, 2021-11-09
On Tue, Nov 09, 2021 at 05:45:46PM +0100, Ard Biesheuvel wrote:
static_call_query() accesses the func member of the static call key
directly, which means that it is broken for cases where it is used from
a module and the key resides elsewhere and is not exported.
Arguably when the module can't change the value, it shouldn't be having
any interest in obtaining said value either.

I really think you're exporting too much. Modules aren't good, they
deserve to suffer.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (22 messages) 22 messages, 2 authors, last reply 2021-11-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help