chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d9115e1
)
kdbus: update kdbus.h from upstream
author
Lennart Poettering
<lennart@poettering.net>
Fri, 12 Apr 2013 19:44:55 +0000
(21:44 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 12 Apr 2013 19:44:55 +0000
(21:44 +0200)
src/libsystemd-bus/kdbus.h
patch
|
blob
|
history
diff --git
a/src/libsystemd-bus/kdbus.h
b/src/libsystemd-bus/kdbus.h
index 16a3a49f6d98c9d5cc17d8ae49aec2923f5d1f11..7f65375c44708b25a6bf8366cdc6832542c15dba 100644
(file)
--- a/
src/libsystemd-bus/kdbus.h
+++ b/
src/libsystemd-bus/kdbus.h
@@
-70,6
+70,7
@@
enum {
KDBUS_MSG_TIMESTAMP, /* .ts_ns of CLOCK_MONOTONIC */
KDBUS_MSG_SRC_CREDS, /* .creds */
KDBUS_MSG_SRC_COMM, /* optional */
KDBUS_MSG_TIMESTAMP, /* .ts_ns of CLOCK_MONOTONIC */
KDBUS_MSG_SRC_CREDS, /* .creds */
KDBUS_MSG_SRC_COMM, /* optional */
+ KDBUS_MSG_SRC_THREAD_COMM, /* optional */
KDBUS_MSG_SRC_EXE, /* optional */
KDBUS_MSG_SRC_CMDLINE, /* optional */
KDBUS_MSG_SRC_CGROUP, /* optional, specified which one */
KDBUS_MSG_SRC_EXE, /* optional */
KDBUS_MSG_SRC_CMDLINE, /* optional */
KDBUS_MSG_SRC_CGROUP, /* optional, specified which one */
@@
-360,3
+361,11
@@
enum kdbus_cmd {
KDBUS_CMD_EP_POLICY_SET = _IOWR(KDBUS_IOC_MAGIC, 0x70, struct kdbus_cmd_policy),
};
#endif
KDBUS_CMD_EP_POLICY_SET = _IOWR(KDBUS_IOC_MAGIC, 0x70, struct kdbus_cmd_policy),
};
#endif
+
+/* Think about:
+ *
+ * - allow HELLO to change unique names
+ * - allow HELLO without assigning a unique name at all
+ * - when receive fails due to too small buffer return real size
+ * - when receiving maybe allow read-only mmaping into reciving process memory space or so?
+ */