IT lexicon › Infra & Ops › EXPORT_SYMBOL_GPL

EXPORT_SYMBOL_GPL

Infra & Ops På svenska → Updated: 2026-11-01

The Linux kernel's way of letting the module loader enforce a licensing opinion.

Functions the kernel makes available to modules are exported with either EXPORT_SYMBOL or EXPORT_SYMBOL_GPL. The latter is only usable by modules declaring a GPL-compatible license through MODULE_LICENSE(). A module claiming to be proprietary is refused if it needs such a symbol, and merely loading it marks the kernel as tainted – bug reports from tainted systems tend to be politely ignored.

The marking reflects the developers' view of what counts as a derivative work and has never been tested in court. Nvidia long worked around it with an open shim layer; Linux 5.9 in 2020 closed off inheriting GPL-only symbols through such a shim. Two years later Nvidia released open kernel modules of its own.

← Back to the lexicon