An ubus RPC daemon for Liminix
Find a file
Rafał Miłecki 9a8640183c plugin: use RTLD_LOCAL instead of RTLD_GLOBAL when loading library
RTLD_GLOBAL was used to allow plugins use each other symbols but this
facility was (most likely) never used and is a bad design anyway. If
there is a common code it should just go to a library.

Using RTLD_LOCAL on the other hand saves us from conflicting symbols
used by different plugins. An example can be iwinfo plugin using libnl.
If there appears to be another plugin using incompatible netlink
implementation this will result in a problem. Both plugins will start
using the same libnl which will break one of them.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Jo-Philipp Wich <jo@mein.io>
2017-11-09 15:49:15 +01:00
include/rpcd fix for json 0.12 2015-03-08 15:04:13 +01:00
CMakeLists.txt cmake: Find libubox/blobmsg_json.h 2016-12-11 09:16:30 +01:00
exec.c Extend copyright 2014-01-12 12:48:58 +00:00
file.c file: add myself in Copyright header 2016-04-12 17:15:27 +02:00
iwinfo.c iwinfo: expose available HT rates 2016-06-30 00:36:01 +02:00
main.c paths: substitute literal with macro 2015-11-20 18:00:28 +01:00
plugin.c plugin: use RTLD_LOCAL instead of RTLD_GLOBAL when loading library 2017-11-09 15:49:15 +01:00
session.c properly handle return codes 2015-03-28 18:36:40 +01:00
sys.c sys: Check return values of chdir and write 2016-12-11 09:15:27 +01:00
uci.c uci: allow setting zero-length values (to delete an option) 2015-11-23 19:11:44 +01:00
unauthenticated.json session: setup a persistent NULL section and implement login procedure 2013-09-10 19:56:36 +02:00