mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kernel taint
@ 2002-06-23 19:37 Qin Tao
  2002-06-23 21:53 ` Samuel Flory
  2002-06-24 11:06 ` Vincent Hanquez
  0 siblings, 2 replies; 3+ messages in thread
From: Qin Tao @ 2002-06-23 19:37 UTC (permalink / raw)
  To: linux-kernel

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.

Qin


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kernel taint
  2002-06-23 19:37 kernel taint Qin Tao
@ 2002-06-23 21:53 ` Samuel Flory
  2002-06-24 11:06 ` Vincent Hanquez
  1 sibling, 0 replies; 3+ messages in thread
From: Samuel Flory @ 2002-06-23 21:53 UTC (permalink / raw)
  To: Qin Tao; +Cc: linux-kernel

  If this is a module in the RH kernel this may just be due to
mislabeling of the license string.  What's the module?

On Sun, 2002-06-23 at 12:37, 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.
> 
> Qin
> 
> -
> 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/
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kernel taint
  2002-06-23 19:37 kernel taint Qin Tao
  2002-06-23 21:53 ` Samuel Flory
@ 2002-06-24 11:06 ` Vincent Hanquez
  1 sibling, 0 replies; 3+ messages in thread
From: Vincent Hanquez @ 2002-06-24 11:06 UTC (permalink / raw)
  To: Qin Tao; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-24 11:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-23 19:37 kernel taint Qin Tao
2002-06-23 21:53 ` Samuel Flory
2002-06-24 11:06 ` Vincent Hanquez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®