On 06/28/2007 06:30 PM, Alan Cox wrote:

Public domain is GPL compatible.

Would you happen to have an opinion on the attached? I don't so much need it or anything but I thought about submitting this once when I was working on some stuff locally. I didn't since I was expecting arguments that public domain is not so much a license, and how it becomes GPL anyway, ...

Stating that code which one intends to be in the public domain has "GPL and additional rights" is a bit of a travesty though.

Signed-off-by: Rene Herman <[EMAIL PROTECTED]>

Rene.
diff --git a/include/linux/license.h b/include/linux/license.h
index decdbf4..1176471 100644
--- a/include/linux/license.h
+++ b/include/linux/license.h
@@ -8,7 +8,8 @@ static inline int license_is_gpl_compatible(const char *license)
                || strcmp(license, "GPL and additional rights") == 0
                || strcmp(license, "Dual BSD/GPL") == 0
                || strcmp(license, "Dual MIT/GPL") == 0
-               || strcmp(license, "Dual MPL/GPL") == 0);
+               || strcmp(license, "Dual MPL/GPL") == 0
+               || strcmp(license, "Public Domain") == 0);
 }
 
 #endif
diff --git a/include/linux/module.h b/include/linux/module.h
index e6e0f86..2ecacf8 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -107,6 +107,7 @@ extern struct module __this_module;
  *                                      or MIT license choice]
  *     "Dual MPL/GPL"                  [GNU Public License v2
  *                                      or Mozilla license choice]
+ *     "Public Domain"                 [Public domain products]
  *
  * The following other idents are available
  *

Reply via email to