Change our module code to not use the special symbol name init_module()
authorAndrew Tridgell <tridge@samba.org>
Tue, 17 Jun 2008 03:11:29 +0000 (13:11 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 17 Jun 2008 03:11:29 +0000 (13:11 +1000)
commit310875e637fd237752770027b28675ed970352dd
treec89feb3d60d311f064c5e266c11e85aed2e240a8
parent370f95acfc197759f9140876b31ac127d3a0e10c
Change our module code to not use the special symbol name init_module()

Current glibc libraries include a function called init_module(). If we
use the same name, then a dlsym() can find the glibc function if the
module doesn't have an initialisation function.

In ldb, none of our modules have an init_module(), so we end up calling the libc
functions with bogus arguments.
(This used to be commit 1b0621068998590e7b1e9528b78744dcd2cd5909)
source4/include/includes.h
source4/lib/ldb/common/ldb.c
source4/lib/ldb/common/ldb_modules.c
source4/param/util.c