summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/kdbus.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-10-14 20:03:06 +0200
committerDaniel Mack <daniel@zonque.org>2014-10-14 20:03:06 +0200
commit1a2409e262da65a4b0ca8ab18fcf5eabd2d404ca (patch)
treee6a5956a59bfc75166badb407b3f1bb5771bfe92 /src/libsystemd/sd-bus/kdbus.h
parentb0f84d4d7832659f2216bda7a7cdf51f5e79c6eb (diff)
sd-bus: sync kdbus.h (ABI break)
kdbus learned KDBUS_HELLO_ACCEPT_MEMFD as new connection negotiation flag. Set it by default in systemd for now.
Diffstat (limited to 'src/libsystemd/sd-bus/kdbus.h')
-rw-r--r--src/libsystemd/sd-bus/kdbus.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libsystemd/sd-bus/kdbus.h b/src/libsystemd/sd-bus/kdbus.h
index 79a17f3449..1ea4329ea2 100644
--- a/src/libsystemd/sd-bus/kdbus.h
+++ b/src/libsystemd/sd-bus/kdbus.h
@@ -500,6 +500,8 @@ enum kdbus_policy_type {
* enum kdbus_hello_flags - flags for struct kdbus_cmd_hello
* @KDBUS_HELLO_ACCEPT_FD: The connection allows the reception of
* any passed file descriptors
+ * @KDBUS_HELLO_ACCEPT_MEMFD: The connection allows the reception of
+ * any passed memfd file descriptors
* @KDBUS_HELLO_ACTIVATOR: Special-purpose connection which registers
* a well-know name for a process to be started
* when traffic arrives
@@ -514,9 +516,10 @@ enum kdbus_policy_type {
*/
enum kdbus_hello_flags {
KDBUS_HELLO_ACCEPT_FD = 1ULL << 0,
- KDBUS_HELLO_ACTIVATOR = 1ULL << 1,
- KDBUS_HELLO_POLICY_HOLDER = 1ULL << 2,
- KDBUS_HELLO_MONITOR = 1ULL << 3,
+ KDBUS_HELLO_ACCEPT_MEMFD = 1ULL << 1,
+ KDBUS_HELLO_ACTIVATOR = 1ULL << 2,
+ KDBUS_HELLO_POLICY_HOLDER = 1ULL << 3,
+ KDBUS_HELLO_MONITOR = 1ULL << 4,
};
/**