Skip to content

Commit

Permalink
Unify license of icp module with the rest of zfs
Browse files Browse the repository at this point in the history
The newly added icp module uses a hardcoded value of CDDL for the license,
however in local development one might want to change that to something
else in order to facilitate compiling against lock debugging enabled kernel.
All modules of the zfs use the ZFS_META_LICNSE string which is replaced with
the value held in the META file. One can modify the value in the META file
once and then rerun the configure to have all modules' licenses changed.

Change the icp module license string to be ZFS_META_LICENSE so that it
falls under the same paradigm.

Signed-off-by: Nikolay Borisov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #4905
  • Loading branch information
Nikolay Borisov authored and behlendorf committed Jul 29, 2016
1 parent 9f3d140 commit e334e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/icp/illumos-crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,5 @@ icp_init(void)
#if defined(_KERNEL) && defined(HAVE_SPL)
module_exit(icp_fini);
module_init(icp_init);
MODULE_LICENSE("CDDL");
MODULE_LICENSE(ZFS_META_LICENSE);
#endif

0 comments on commit e334e82

Please sign in to comment.