On Mon, Nov 21, 2022 at 04:52:24PM +0100, Daniel Borkmann wrote: >> +void *execmem_fill(void *dst, void *src, size_t len) >> +{ >> + return ERR_PTR(-EOPNOTSUPP); >> +} > > Don't they need EXPORT_SYMBOL_GPL, too? None of these should be exported. Modular code has absolutely no business creating executable mappings.