Jelmer Vernooij
7b186c48d3
Remove sys_dl*() - stubs are already provided by libreplace.
2008-11-01 03:49:49 +01:00
Michael Adam
26c3453407
Use module_path() instead of lib_path() for loading shared modules.
...
Michael
(This used to be commit 22fb3ef1bb
)
2008-08-15 23:19:58 +02:00
Volker Lendecke
993d80fd22
init_shared_module -> init_samba_module
...
(This used to be commit 9b174871a8
)
2008-06-23 07:20:18 +02:00
Volker Lendecke
3cf5395ad5
Use "init_shared_module" instead of "init_module" for initializing .so's
...
(This used to be commit 0c2fd687b2
)
2008-06-21 11:25:41 +02:00
Jeremy Allison
360673e80e
CID 458. Don't leak dlopen handles on failing to load
...
module.
Jeremy.
(This used to be commit 8809eaeb15
)
2008-01-12 00:15:46 -08:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c
)
2007-10-18 17:40:25 -07:00
Günther Deschner
f0653fd572
r25326: Free the context from the talloc_stackframe.
...
Guenther
(This used to be commit 0719835c4d
)
2007-10-10 12:31:00 -05:00
Jeremy Allison
3aaca8028e
r25170: Remove pstring limits from ms_fnmatch and module load.
...
Jeremy.
(This used to be commit 764574ee05
)
2007-10-10 12:30:48 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc
)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b
)
2007-10-10 12:28:20 -05:00
Volker Lendecke
0d91334fe7
r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes winbind
...
who did not run the idle events to drop ldap connections.
Volker
(This used to be commit af3308ce5a
)
2007-10-10 12:18:33 -05:00
James Peach
89c6f04df0
r15655: Log the result of module initialisation if it fails.
...
(This used to be commit 3446ee5c00
)
2007-10-10 11:17:05 -05:00
Gerald Carter
54abd2aa66
r10656: BIG merge from trunk. Features not copied over
...
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d7
)
2007-10-10 11:04:48 -05:00
Jeremy Allison
acf9d61421
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
...
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
(This used to be commit 620f2e608f
)
2007-10-10 10:53:32 -05:00
Jeremy Allison
93435b5096
r4009: Fix from Timur Bakeyev <timur@com.bat.ru> for bugid #2100 ,
...
change the way we check for errors after a dlopen (which
may set internal warnings which get picked up by mistake
in dlsym).
Jeremy
(This used to be commit 6711cb8b02
)
2007-10-10 10:53:27 -05:00
Jeremy Allison
8614cc504e
Look at error before using it in debug statement.
...
Jeremy.
(This used to be commit 69550332f3
)
2003-11-19 22:57:56 +00:00
Jeremy Allison
6fc85b3233
Unregister event fix from metze.
...
Jeremy.
(This used to be commit 0aee73d457
)
2003-09-17 23:36:55 +00:00
Tim Potter
1d7e64e091
For some reason testparm runs at debug level 2 which causes the module probe functions to
...
display verbose debugs. Increase the probe debugs to level 3.
(This used to be commit d71a7470d7
)
2003-09-15 00:19:25 +00:00
Tim Potter
fb638ddf99
Quieten level 0 debug when probing for modules. We shouldn't display so loud
...
an error when a smb_probe_module() fails. Also tidy up debugs a bit.
Bug 375.
(This used to be commit 24a1720472
)
2003-09-04 02:02:26 +00:00
Herb Lewis
aa39cc37da
get rid of more compiler warnings
...
(This used to be commit 398bd14fc6
)
2003-08-15 04:42:05 +00:00
Jelmer Vernooij
ff0a111d37
Remove module_path_get_name() - it's not used anywhere anymore and was a bad idea anyway.
...
(This used to be commit b45a67e7a9
)
2003-05-30 16:36:38 +00:00
Jelmer Vernooij
e731ec1ed6
Get the events API right. Patch from metze with some minor modifications.
...
(This used to be commit 2aad573625
)
2003-05-29 14:40:55 +00:00
Jelmer Vernooij
ecbd2b5d1e
Remove unused variables
...
(This used to be commit 2f631769f8
)
2003-05-06 02:35:33 +00:00
Jelmer Vernooij
06551c644c
Patch from metze to add exit and interval events. Useful for modules
...
(This used to be commit 3033a63cef
)
2003-05-06 02:34:59 +00:00
Andrew Bartlett
24ee141805
Add a comment about the use of string functions in the modules code, and
...
add \n to the end of the non-dlopen case DEBUGs.
Andrew Bartlett
(This used to be commit ce4ff4cc8e
)
2003-05-03 04:34:13 +00:00
Jelmer Vernooij
17a3acafa8
Use NTSTATUS as return value for smb_register_*() functions and init_module()
...
function. Patch by metze with some minor modifications.
(This used to be commit bc4b51bcb2
)
2003-04-28 17:48:48 +00:00
Jelmer Vernooij
c7a6388e7e
Check for absolute paths by only checking the first character of the module name.
...
Don't use strchr_m, which caused race conditions.
(This used to be commit 69ec6be90f
)
2003-04-24 19:47:37 +00:00
Jelmer Vernooij
7fcbdf00f6
Add some more functions for the modules (backport from HEAD):
...
- init_modules()
- smb_probe_module()
(This used to be commit b3328dab2f
)
2003-04-14 22:23:02 +00:00
Jelmer Vernooij
7859c7df44
Merge in smb_load_module() function from HEAD
...
(This used to be commit 6cb124247d
)
2003-02-20 19:14:55 +00:00
Jim McDonough
1793c8f143
dlsym() can return NULL validly, so we can't use that as the error test.
...
dlerror() is the correct way to test.
(This used to be commit 41b1be15ba
)
2003-01-17 21:23:14 +00:00
Jelmer Vernooij
5988d5e92a
Add a DEBUG() that gives the number of successfully loaded modules - useful for debugging
...
(This used to be commit 612ea35ab0
)
2002-11-13 13:47:12 +00:00
Jelmer Vernooij
fb6c6ec09e
add smb_load_modules() to load a list of modules - does this function look ok ?
...
(This used to be commit a82dbb3c22
)
2002-10-31 18:08:45 +00:00
Jelmer Vernooij
9dcba81933
use sys_dlopen instead of dlopen (thanks to jra for noticing)
...
(This used to be commit 86eb0a25b1
)
2002-10-30 17:50:36 +00:00
Jelmer Vernooij
04d21551e1
- Remove RTLD_GLOBAL
...
- make smb_load_module() return the return value of init_module()
(This used to be commit a8d2dd8d00
)
2002-10-30 12:07:49 +00:00
Jelmer Vernooij
1f40ad5813
Add initial vesion of new module system
...
(This used to be commit b5d05d3ec6
)
2002-10-30 11:52:36 +00:00