Re: is_module()

2024-06-14 Thread Lucas De Marchi
o bug it did not make waves because the bug fix did not require it: https://lore.kernel.org/linux-integrity/d1gxkodmd4s8.1j12d4goeq...@kernel.org/ So the gist of is_module() would be that it would have different semantics than IS_MODULE(): it could be used to e.g. check modules in a loop. Compil

is_module()

2024-05-23 Thread Jarkko Sakkinen
re it: https://lore.kernel.org/linux-integrity/d1gxkodmd4s8.1j12d4goeq...@kernel.org/ So the gist of is_module() would be that it would have different semantics than IS_MODULE(): it could be used to e.g. check modules in a loop. Compilation would generate a new ELF section with following entries: