[PATCH v1 2/4] [RFC] x86/trampfd: Provide support for the trampoline file descriptor

Greg KH gregkh at linuxfoundation.org
Thu Jul 30 09:06:12 UTC 2020


On Tue, Jul 28, 2020 at 08:10:48AM -0500, madvenka at linux.microsoft.com wrote:
> +EXPORT_SYMBOL_GPL(trampfd_valid_regs);

Why are all of these exported?  I don't see a module user in this
series, or did I miss it somehow?

EXPORT_SYMBOL* is only needed for symbols to be used by modules, not by
code that is built into the kernel.

thanks,

greg k-h



More information about the Linux-security-module-archive mailing list