[Bugme-new] [Bug 8957] New: Exported functions and variables

From: Matti Linnanvuori
Date: Fri Aug 31 2007 - 13:14:37 EST


It seems to me that kernel/module.c allows the whole kernel to use exported symbols during the execution of the init function if they are weak:
/* Ok if weak. */
if (ELF_ST_BIND(sym[i].st_info) == STB_WEAK)
break;
That seems a possible way to produce the scenario of this so-called bug.



________
Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen. www.yahoo.de/clever

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