| 1 |
$FreeWRT$ |
| 2 |
--- busybox-1.4.2.orig/modutils/insmod.c 2007-03-18 17:59:27.000000000 +0100 |
| 3 |
+++ busybox-1.4.2/modutils/insmod.c 2007-08-01 11:32:15.000000000 +0200 |
| 4 |
@@ -2301,12 +2301,22 @@ add_symbols_from( struct obj_file *f, |
| 5 |
* their references. |
| 6 |
*/ |
| 7 |
if (strncmp((char *)s->name, "GPLONLY_", 8) == 0) { |
| 8 |
+#if 0 |
| 9 |
#if ENABLE_FEATURE_CHECK_TAINTED_MODULE |
| 10 |
if (gpl) |
| 11 |
s->name += 8; |
| 12 |
else |
| 13 |
#endif |
| 14 |
continue; |
| 15 |
+#else |
| 16 |
+ /* |
| 17 |
+ * this is ridiculous and only for people who |
| 18 |
+ * haven't understood the GPL; as long as you |
| 19 |
+ * don't distribute dumps you're fine and the |
| 20 |
+ * BSD licence _is_ a free software licence. |
| 21 |
+ */ |
| 22 |
+ s->name += 8; |
| 23 |
+#endif |
| 24 |
} |
| 25 |
name = (char *)s->name; |
| 26 |
|