Thread (50 messages) 50 messages, 6 authors, 2021-10-07

Re: [PATCH v4 06/15] ftrace: Use an opaque type for functions not callable from C

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2021-10-06 14:16:59
Also in: linux-hardening, lkml

On Wed, 6 Oct 2021 06:54:17 -0700
Josh Poimboeuf [off-list ref] wrote:
But this macro is used in other places as well:

  https://lkml.kernel.org/r/20210930180531.1190642-10-samitolvanen@google.com

And many of them aren't internal to a function like the above symbols,
they're actual functions that are called in other ways.

DECLARE_UNCALLED_FROM_C() ?
  DECLARE_NOT_CALLED_FROM_C() ;-)

Straight and to the point!

"uncalled" is a strange word.

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help