Skip to contentSkip to conversation

kernel hooks interface available to non-GPL modules?

DISCUSSION Matthew Wilcox 2 participants 2 messages Oct 23, 2002 – Oct 24, 2002

lore
Share & tools
lore
#0 lore raw

+EXPORT_SYMBOL(hook_exit_deregister);
+EXPORT_SYMBOL(hook_exit_arm);
+EXPORT_SYMBOL(hook_exit_disarm);
+EXPORT_SYMBOL(_hook_initialise);
+EXPORT_SYMBOL(_hook_terminate);
+EXPORT_SYMBOL(_hook_exit_register);

I'm not sure this is a great idea. OK, your DECLARE_HOOK macros are _GPL (and why are they _NOVERS_GPL? Surely this is the exact kind of thing you want versioned?), but I wouldn't have to use the DECLARE_HOOK macros, would I?

If you thought the LSM GPL furore was bad, this one would be worse.

Signature · 1 line
Revolutions do not require corporate support.
#1 lore raw
Quoted 5 lines · Matthew Wilcox

I'm not sure this is a great idea. OK, your DECLARE_HOOK macros are _GPL (and why are they _NOVERS_GPL? Surely this is the exact kind of thing you want versioned?), but I wouldn't have to use the DECLARE_HOOK macros, would I?

I agree and have exported hook interfaces with _GPL in the latest version of the patch. It will be at http://www-124.ibm.com/linux/patches/?patch_id=595.

Signature · 5 lines
Vamsi Krishna S.
Linux Technology Center,
IBM Software Lab, Bangalore.
Ph: +91 80 5044959
Internet: [email protected]