changelog: note the compiler warning fix on test-message

Note the compiler warning fix and credit Michele Curti

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
kdbus.txt: more documentation on why some metadata items are dropped

If sender and receiver are in different namespaces, then some of the
metadata items will be dropped.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
names: fix ref leak to activator

when releasing a name entry there is no ref to activator, so do not unref it.

Signed-off-by: Rui Miguel Silva <rmfrfs@gmail.com>
names: drop unused argument to kdbus_name_entry_release()

Signed-off-by: Daniel Mack <daniel@zonque.org>
names: return error if moving to activator fail

if the copy of the messages to the activator fail (meaning the activator as
gone) return the error instead of releasing the name till the end. Even though
the messages in queue are lost.

Signed-off-by: Rui Miguel Silva <rmfrfs@gmail.com>
notify: factor out add tail notify list

Signed-off-by: Rui Miguel Silva <rmfrfs@gmail.com>
Changelog: update

Signed-off-by: Daniel Mack <daniel@zonque.org>
handle: remove metadata

Let's take metadata for connection at ioctl() time, just like we
do with buses as well.

Signed-off-by: Daniel Mack <daniel@zonque.org>
test-policy: more test cases for policy upload and update

Test cases to make sure that unprivileged is not able to register nor
update policies

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
doc: code documentation for policy_set() operations

Document various cases where we expect to set or update the policy
of a default or custom endpoints.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
metadata: fix typo audit instead of audio

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
connection: link the connection into monitor list as late as possible

Link the monitor connection as late as possible when it has been fully
initialized and when we have passed other quota checks.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
pool: restore kdbus_pool_slice_offset()

We'll need to determine a slice's offset for the new pool logic, so
restore the old function.

Signed-off-by: Daniel Mack <daniel@zonque.org>
pool: add slice->child

Give slices a child pointer, a function to set it, and code to
automatically free the child when the parent is released.

This is also needed as messages are soon to be distributed over two
slices.

Signed-off-by: Daniel Mack <daniel@zonque.org>
test: add the RUN_CLONE_CHILD() helper and use it in metadata test

The RUN_CLONE_CHILD() will be used to setup appropriate namespaces and
sync between parent and child.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>