[PATCH 0/6] Miscellaneous kdbus fixes and code removal

From: David Herrmann
Date: Thu Jul 02 2015 - 04:29:23 EST


Hi Greg

A set of 6 patches to drop unused code and fix some bugs:

#1: simple fix for test-cases
#2: drop redundant internal accounting
#3: drop unused structure member
#4: drop support for an HELLO-ioctl item that was never used. If this breaks
some user-space we're not aware of, we will have to revert it. But I
haven't seen anything using this so far. This does *not* break ABI, but
only cause the ioctl to fail if you pass that item.
#5: pin namespaces on kdbus-connections to simplify namespace handling, further
described in the commit-msg
#6: fix a NULL-deref

Thanks
David

David Herrmann (6):
kdbus/selftests: fix CAP translation tests
kdbus: drop redundant KDBUS_MSG_MAX_ITEMS
kdbus: drop unused 'bloom_generation' field
kdbus: drop support for required attach-flags on buses
kdbus: pin namespaces on HELLO
kdbus: fix NULL-deref in activator cleanup

Documentation/kdbus/kdbus.bus.xml | 15 -------
Documentation/kdbus/kdbus.connection.xml | 8 +---
ipc/kdbus/bus.c | 12 +-----
ipc/kdbus/bus.h | 2 -
ipc/kdbus/connection.c | 18 +++-----
ipc/kdbus/connection.h | 6 +++
ipc/kdbus/limits.h | 3 --
ipc/kdbus/message.c | 3 --
ipc/kdbus/message.h | 2 -
ipc/kdbus/metadata.c | 54 ++++++++++++------------
ipc/kdbus/metadata.h | 1 +
ipc/kdbus/names.c | 2 +-
ipc/kdbus/queue.c | 1 +
tools/testing/selftests/kdbus/kdbus-test.c | 1 -
tools/testing/selftests/kdbus/kdbus-util.c | 20 +++------
tools/testing/selftests/kdbus/kdbus-util.h | 3 +-
tools/testing/selftests/kdbus/test-connection.c | 9 ----
tools/testing/selftests/kdbus/test-metadata-ns.c | 9 ++--
18 files changed, 57 insertions(+), 112 deletions(-)

--
2.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/