policy: fix __kdbus_policy_db_check_send_access return value

This got accidentally broken in commit 48b24f97.
test: move add_match_empty to kdbus-util
test: let upload_policy() accept a name
test: add simple benchmark tool
test: kill double include
Fixed releasing name when being in the queue for that name.

Fixed releasing name when being in the queue for that name.

Signed-off-by: Radoslaw Pajak <r.pajak@samsung.com>
Copy mode to endpoint struct in kdbus_ep_new()

Authored-by: HyungJun Choi <hj210.choi@samsung.com>
Signed-off-by: Daniel Kowalski <d.kowalski@samsung.com>
connection: fix monitor destination
test: add simple bus monitor tool

This tool writes out pcap files in a very simple manner. The header type
is set to loopback for now, so you can at least dump the raw bytes in
wireshark already. We need to submit out own type at some point and
implement a real protocol dissector.
test/monitor: close passed-in memfds
test-kdbus-monitor: add newline before printing statistics on exit
names: do not replace 'conn' unless asked to act on behalf of someone else
test/monitor: fix some brainos
test/monitor: capture out-of-band payload (KDBUS_MSG_PAYLOAD_OFF)
test/monitor: add fake kdbus ENCAP id

Eventually, we should register an own link-header type and get our own
entry in this list:

  http://www.tcpdump.org/linktypes.html
test/benchmark: initalize stress payload

... so it can be analyzed in pcap traces.