Various internal datastructures, and communication between source
files.
Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk
---
ipc/kbus_internal.h | 626 +++
1 files changed, 626 insertions(+), 0 deletions(-)
create mode 100644 ipc/kbus_internal.h
This first version of the main source file just provides device
open/close and various basic IOCTLs, including bind/unbind.
Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk
---
ipc/kbus_main.c | 1061 +++
1 files changed, 1061 insertions(+), 0
Users do not always know how many KBUS devices will be needed when
the system starts. This allows a normal user to request an extra
device.
Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk
---
include/linux/kbus_defns.h | 12 +++-
ipc/kbus_main.c| 17 +
2
It is useful to be able to write userspace proxies which allow
messages sent on one KBUS device to be received on another. In
order to do this, the userspace program needs to be reliably
informed of Replier bind and unbind events.
These proxies are referrred to as Limpets in the KBUS
Sometimes a recipient has bound to a message name more than once,
but only wants to receive one copy of each message matching those
bindings.
Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk
---
include/linux/kbus_defns.h | 18 +++---
ipc/kbus_internal.h| 30
Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk
---
init/Kconfig |2 +
ipc/Kconfig | 117 ++
ipc/Makefile |9
3 files changed, 128 insertions(+), 0 deletions(-)
create mode 100644 ipc/Kconfig
diff --git a/init/Kconfig
This introduces two pseudo-files which expose some of the current
KBUS internal state. The bindings file, in particular, is used
in the KBUS test scripts (which are part of the userspace Python
binding).
Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk
---
ipc/kbus_report.c | 256
In order to make sending Replier Bind Events reliable, we need
to introduce set-aside message lists, in case a client that
wants to receive such events has a full list when the event
occurs (making bind/unbind depend on the recipient of the
event is not acceptable).
Signed-off-by: Tony Ibbs