1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-17 03:50:37 +00:00
Peter Zijlstra 707f853d7f module: Provide EXPORT_SYMBOL_GPL_FOR_MODULES() helper
Helper macro to more easily limit the export of a symbol to a given
list of modules.

Eg:

  EXPORT_SYMBOL_GPL_FOR_MODULES(preempt_notifier_inc, "kvm");

will limit the use of said function to kvm.ko, any other module trying
to use this symbol will refure to load (and get modpost build
failures).

Requested-by: Masahiro Yamada <masahiroy@kernel.org>
Requested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2025-05-25 18:12:14 +09:00
..
2025-04-03 21:35:32 +02:00
2025-04-01 11:02:03 -07:00
2025-04-03 15:31:14 -07:00
2025-03-29 11:12:28 -07:00
2025-04-02 18:23:31 -07:00
2025-04-02 20:04:43 -07:00
2025-04-25 11:34:39 -07:00
2025-03-30 13:45:28 -07:00
2025-04-02 07:06:59 -06:00
2025-04-01 11:02:03 -07:00
2025-03-30 12:43:03 -07:00
2025-04-01 18:03:46 -07:00
2025-03-28 12:37:13 -07:00
2025-03-30 12:43:03 -07:00
2025-04-15 11:32:34 +02:00
2025-04-02 17:06:31 -07:00
2025-03-29 11:23:16 -07:00
2025-03-28 19:36:53 -07:00
2025-03-30 12:43:03 -07:00
2025-05-15 04:49:15 +03:00
2025-04-18 10:05:49 -04:00