From: Daniel Mack <daniel@zonque.org>
To: gregkh@linuxfoundation.org
Cc: dh.herrmann@gmail.com, tixxdz@opendz.org, teg@jklm.no,
linux-kernel@vger.kernel.org, Daniel Mack <daniel@zonque.org>
Subject: [PATCH 0/4] kdbus: name registry cleanup patches
Date: Fri, 7 Aug 2015 16:36:32 +0200 [thread overview]
Message-ID: <1438958196-23036-1-git-send-email-daniel@zonque.org> (raw)
Hi Greg,
Here are some patches for kdbus-next David and I prepared:
* The first one cleans up the name registry code and brings the name
queuing logic in sync with what the DBus spec requires. We were off
in some small details concerning flags updates of already queued
names.
* The second one adds two more return flags in the name queuing logic,
so userspace has better ways of knowing what effect a name acquisition
call had.
* Number three is a small cleanup that makes sure we never return
negative return codes from ioctls if we modified any internal state.
This is a rule all other command dispatchers follow as well.
* The last one adds more selftests for the name registry, covering the
newly added flags.
None of these patches is critical, and everything has been running well
on our machines for a while.
Thanks,
Daniel
Daniel Mack (1):
kdbus: selftests: add more name registry tests
David Herrmann (3):
kdbus: restructure name-registry to follow dbus-spec
kdbus: inform caller about exact updates on NAME_ACQUIRE
kdbus: never return <0 from ioctls if we changed state
include/uapi/linux/kdbus.h | 4 +
ipc/kdbus/connection.c | 53 +-
ipc/kdbus/connection.h | 9 +-
ipc/kdbus/metadata.c | 21 +-
ipc/kdbus/names.c | 762 ++++++++++++++++-------------
ipc/kdbus/names.h | 55 ++-
tools/testing/selftests/kdbus/kdbus-test.c | 6 +
tools/testing/selftests/kdbus/kdbus-test.h | 1 +
tools/testing/selftests/kdbus/test-chat.c | 6 +-
tools/testing/selftests/kdbus/test-names.c | 140 ++++--
10 files changed, 633 insertions(+), 424 deletions(-)
--
2.4.3
next reply other threads:[~2015-08-07 14:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 14:36 Daniel Mack [this message]
2015-08-07 14:36 ` [PATCH 1/4] kdbus: restructure name-registry to follow dbus-spec Daniel Mack
2015-08-07 14:36 ` [PATCH 2/4] kdbus: inform caller about exact updates on NAME_ACQUIRE Daniel Mack
2015-08-07 14:36 ` [PATCH 3/4] kdbus: never return <0 from ioctls if we changed state Daniel Mack
2015-08-07 14:36 ` [PATCH 4/4] kdbus: selftests: add more name registry tests Daniel Mack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1438958196-23036-1-git-send-email-daniel@zonque.org \
--to=daniel@zonque.org \
--cc=dh.herrmann@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=teg@jklm.no \
--cc=tixxdz@opendz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®