MODULELICENSE
MODULE_LICENSE is a macro used in Linux kernel modules to declare the license under which the module is released. The string provided to the macro is metadata that the kernel uses to determine licensing compatibility and to determine how the module should be treated during operation.
Usage is straightforward: place the macro in the module source file, typically near other module metadata. For
The license declaration affects kernel behavior through the module taint mechanism. If a module is declared
Limitations and best practices: MODULE_LICENSE is metadata and does not by itself enforce licensing terms. It
See also: Linux kernel licensing, module taint, GPL-compatible licenses.