A message system like D-Bus for Liminix, taken from OpenWRT's ubus
Find a file
Alexandru Ardelean c09e4f06f0 ubusd: fix incomplete copy of shared buf during queue-ing
For a shared ubus_msg_buf, the ubus_msg_ref function will
create a copy for queue-ing.

Problem is, that during the dequeue (especially) in client_cb,
the header is 0-ed (because it's was a newly alloc-ed buffer).

And during ubus_msg_writev(), the header info will be ignored
by the client.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-02-07 10:45:14 +01:00
examples cmake: Fix find_library for ubusd and examples/server 2016-07-01 15:12:28 +02:00
lua lua: add 'defer_request' and 'complete_deferred_request' functions 2016-11-21 11:27:05 +01:00
.gitignore examples: split client/server code 2012-10-24 14:37:57 +02:00
cli.c cli: register event handler first, then do lookup 2016-10-12 20:00:35 +02:00
CMakeLists.txt build: remove /opt/local prefix 2016-11-20 16:26:19 +01:00
libubus-acl.c add acl code 2015-06-18 19:01:17 +02:00
libubus-internal.h Allow sending a fd along a ubus_request 2016-12-24 14:31:04 +01:00
libubus-io.c libubus: do not modify uloop_cancelled 2017-02-03 18:39:15 +01:00
libubus-obj.c Allow sending a fd along a ubus_request 2016-12-24 14:31:04 +01:00
libubus-req.c libubus: do not modify uloop_cancelled 2017-02-03 18:39:15 +01:00
libubus-sub.c libubus: fix passing the return code of the subscriber callback to the notifier 2013-03-17 18:29:38 +01:00
libubus.c libubus: move uloop_init() call to ubus_connect_ctx 2017-01-22 14:28:49 +01:00
libubus.h libubus: do not modify uloop_cancelled 2017-02-03 18:39:15 +01:00
ubus_common.h libubus: replace __init with __constructor 2014-09-17 13:29:24 +02:00
ubusd.c ubusd: fix incomplete copy of shared buf during queue-ing 2017-02-07 10:45:14 +01:00
ubusd.h ubusd: make ACL path configurable on the command line 2015-12-09 17:44:00 +01:00
ubusd_acl.c ubusd: fix inverted check in ubusd_reply_add 2016-09-05 13:59:34 +02:00
ubusd_acl.h ubusd: fix a memory leak on user/group client info 2016-01-26 10:10:39 +01:00
ubusd_event.c make ubusd_send_event() none static 2015-06-18 19:01:17 +02:00
ubusd_id.c ubusd: use avl_strcmp 2012-12-11 23:38:00 +01:00
ubusd_id.h add copyright/license information 2011-06-17 16:35:11 +02:00
ubusd_monitor.c ubusd: add monitor support 2015-11-19 22:32:11 +01:00
ubusd_obj.c ubusd: add monitor support 2015-11-19 22:32:11 +01:00
ubusd_obj.h pass ubus_msg_buf to callback of internal object 2015-06-18 19:01:17 +02:00
ubusd_proto.c Allow sending a fd along a ubus_request 2016-12-24 14:31:04 +01:00
ubusmsg.h ubusd: add monitor support 2015-11-19 22:32:11 +01:00