Thread (116 messages) 116 messages, 14 authors, 2021-11-15

Re: [PATCH v5 09/15] x86: Use an opaque type for functions not callable from C

From: Nick Desaulniers <ndesaulniers@google.com>
Date: 2021-10-14 19:01:02
Also in: linux-hardening, lkml

On Thu, Oct 14, 2021 at 11:24 AM Sami Tolvanen [off-list ref] wrote:
Anyway, I thought using a macro would make the code easier to
understand. I'm happy to rename it to something that makes more sense,
but also fine with switching to a simple extern u8[] if that's
preferable.
Perhaps `extern u8 []`s with a comment that these symbols are
functions that aren't meant to be called from C, only asm (or compiler
generated code) would suffice?
-- 
Thanks,
~Nick Desaulniers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help