Re: kernel taint

From: Vincent Hanquez (tab@crans.org)
Date: Mon Jun 24 2002 - 06:06:35 EST


On Sun, Jun 23, 2002 at 03:37:47PM -0400, Qin Tao wrote:
> Hi,
>
> I am using redhat7.3 (kernel 2.4.18-3). When I tried to insert a
> kernel module, I got the following warning message:
>
> "Warning: loading mymodule.o will taint the kernel: forced load"
>
> I didn't see this problem when I inserted the module to some earlier
> version kernels, such as 2.4.15. Does anybody know what does the warning
> message mean and how can I modify my module code to avoid that?
>
> Thanks in advance.

I think you can add : MODULE_LICENSE("GPL"); to avoid to taint the
kernel.

you can find others license in the linux source code.
Restrictive licence or unknown license may taint the kernel too.

-- 
Tab
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:06 EST