Miscellaneous kdbus fixes and code removal
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | kdbus/selftests: fix CAP translation teststools/ | +3 | 0 replies | |
| 2/6 | kdbus: drop redundant KDBUS_MSG_MAX_ITEMSipc/ ipc/ | +0 | 2 replies | |
| 3/6 | kdbus: drop unused 'bloom_generation' fieldipc/ | +0 | 0 replies | |
| 4/6 | kdbus: drop support for required attach-flags on busesDocumentation/ Documentation/ ipc/ +6 more | +9 | 0 replies | |
| 5/6 | kdbus: pin namespaces on HELLOipc/ ipc/ ipc/ +3 more | +44 | 2 replies | |
| 6/6 | kdbus: fix NULL-deref in activator cleanupipc/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Miscellaneous kdbus fixes and code removal
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(-)
Signature · 1 line
2.4.5