projects
/
project
/
rpcd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
plugin: use RTLD_LOCAL instead of RTLD_GLOBAL when loading library
[project/rpcd.git]
/
plugin.c
diff --git
a/plugin.c
b/plugin.c
index 70d2c563ba3f12329b138481be12f825efd2f2ea..532fa15284b17a715d896244043befc2c93e1063 100644
(file)
--- a/
plugin.c
+++ b/
plugin.c
@@
-412,7
+412,7
@@
rpc_plugin_register_library(struct ubus_context *ctx, const char *path)
struct rpc_plugin *p;
void *dlh;
- dlh = dlopen(path, RTLD_LAZY | RTLD_
GLOB
AL);
+ dlh = dlopen(path, RTLD_LAZY | RTLD_
LOC
AL);
if (!dlh)
return UBUS_STATUS_UNKNOWN_ERROR;