Zbigniew Jędrzejewski-Szmek 62fe94
From 913b6d70cbfd6151babc77ffc5e8c67b953ddba9 Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 62fe94
From: Daniel Mack <daniel@zonque.org>
Zbigniew Jędrzejewski-Szmek 62fe94
Date: Thu, 18 Sep 2014 10:25:35 +0200
Zbigniew Jędrzejewski-Szmek 62fe94
Subject: [PATCH] sd-bus: sync kdbus.h
Zbigniew Jędrzejewski-Szmek 62fe94
Zbigniew Jędrzejewski-Szmek 62fe94
(no API/ABI break this time)
Zbigniew Jędrzejewski-Szmek 62fe94
---
Zbigniew Jędrzejewski-Szmek 62fe94
 src/libsystemd/sd-bus/kdbus.h | 176 ++++++++++++------------------------------
Zbigniew Jędrzejewski-Szmek 62fe94
 1 file changed, 49 insertions(+), 127 deletions(-)
Zbigniew Jędrzejewski-Szmek 62fe94
Zbigniew Jędrzejewski-Szmek 62fe94
diff --git a/src/libsystemd/sd-bus/kdbus.h b/src/libsystemd/sd-bus/kdbus.h
Zbigniew Jędrzejewski-Szmek 62fe94
index 65f76e9cf4..7379b3d442 100644
Zbigniew Jędrzejewski-Szmek 62fe94
--- a/src/libsystemd/sd-bus/kdbus.h
Zbigniew Jędrzejewski-Szmek 62fe94
+++ b/src/libsystemd/sd-bus/kdbus.h
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -1,9 +1,9 @@
Zbigniew Jędrzejewski-Szmek 62fe94
 /*
Zbigniew Jędrzejewski-Szmek 62fe94
- * Copyright (C) 2013 Kay Sievers
Zbigniew Jędrzejewski-Szmek 62fe94
- * Copyright (C) 2013 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Zbigniew Jędrzejewski-Szmek 62fe94
- * Copyright (C) 2013 Linux Foundation
Zbigniew Jędrzejewski-Szmek 62fe94
- * Copyright (C) 2013 Lennart Poettering
Zbigniew Jędrzejewski-Szmek 62fe94
- * Copyright (C) 2013 Daniel Mack <daniel@zonque.org>
Zbigniew Jędrzejewski-Szmek 62fe94
+ * Copyright (C) 2013-2014 Kay Sievers
Zbigniew Jędrzejewski-Szmek 62fe94
+ * Copyright (C) 2013-2014 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Zbigniew Jędrzejewski-Szmek 62fe94
+ * Copyright (C) 2013-2014 Linux Foundation
Zbigniew Jędrzejewski-Szmek 62fe94
+ * Copyright (C) 2013-2014 Lennart Poettering
Zbigniew Jędrzejewski-Szmek 62fe94
+ * Copyright (C) 2013-2014 Daniel Mack <daniel@zonque.org>
Zbigniew Jędrzejewski-Szmek 62fe94
  *
Zbigniew Jędrzejewski-Szmek 62fe94
  * kdbus is free software; you can redistribute it and/or modify it under
Zbigniew Jędrzejewski-Szmek 62fe94
  * the terms of the GNU Lesser General Public License as published by the
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -14,8 +14,8 @@
Zbigniew Jędrzejewski-Szmek 62fe94
  *   -- Albert Einstein
Zbigniew Jędrzejewski-Szmek 62fe94
  */
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
-#ifndef _KDBUS_H_
Zbigniew Jędrzejewski-Szmek 62fe94
-#define _KDBUS_H_
Zbigniew Jędrzejewski-Szmek 62fe94
+#ifndef _KDBUS_UAPI_H_
Zbigniew Jędrzejewski-Szmek 62fe94
+#define _KDBUS_UAPI_H_
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
 #ifndef __KERNEL__
Zbigniew Jędrzejewski-Szmek 62fe94
 #include <sys/ioctl.h>
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -126,7 +126,7 @@ struct kdbus_timestamp {
Zbigniew Jędrzejewski-Szmek 62fe94
  *			relative to the message head
Zbigniew Jędrzejewski-Szmek 62fe94
  *
Zbigniew Jędrzejewski-Szmek 62fe94
  * Attached to:
Zbigniew Jędrzejewski-Szmek 62fe94
- *   KDBUS_ITEM_PAYLOAD_VEC
Zbigniew Jędrzejewski-Szmek 62fe94
+ *   KDBUS_ITEM_PAYLOAD_VEC, KDBUS_ITEM_PAYLOAD_OFF
Zbigniew Jędrzejewski-Szmek 62fe94
  */
Zbigniew Jędrzejewski-Szmek 62fe94
 struct kdbus_vec {
Zbigniew Jędrzejewski-Szmek 62fe94
 	__u64 size;
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -358,9 +358,9 @@ struct kdbus_item {
Zbigniew Jędrzejewski-Szmek 62fe94
  *					name is not currently active
Zbigniew Jędrzejewski-Szmek 62fe94
  */
Zbigniew Jędrzejewski-Szmek 62fe94
 enum kdbus_msg_flags {
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_MSG_FLAGS_EXPECT_REPLY	= 1 << 0,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_MSG_FLAGS_SYNC_REPLY	= 1 << 1,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_MSG_FLAGS_NO_AUTO_START	= 1 << 2,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_MSG_FLAGS_EXPECT_REPLY	= 1ULL << 0,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_MSG_FLAGS_SYNC_REPLY	= 1ULL << 1,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_MSG_FLAGS_NO_AUTO_START	= 1ULL << 2,
Zbigniew Jędrzejewski-Szmek 62fe94
 };
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
 /**
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -425,9 +425,9 @@ struct kdbus_msg {
Zbigniew Jędrzejewski-Szmek 62fe94
  *				the priority value is ignored.
Zbigniew Jędrzejewski-Szmek 62fe94
  */
Zbigniew Jędrzejewski-Szmek 62fe94
 enum kdbus_recv_flags {
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_RECV_PEEK		= 1 <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_RECV_DROP		= 1 <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_RECV_USE_PRIORITY	= 1 <<  2,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_RECV_PEEK		= 1ULL <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_RECV_DROP		= 1ULL <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_RECV_USE_PRIORITY	= 1ULL <<  2,
Zbigniew Jędrzejewski-Szmek 62fe94
 };
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
 /**
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -486,16 +486,16 @@ enum kdbus_policy_type {
Zbigniew Jędrzejewski-Szmek 62fe94
  *				policy entries for a name. The provided name
Zbigniew Jędrzejewski-Szmek 62fe94
  *				is not activated and not registered with the
Zbigniew Jędrzejewski-Szmek 62fe94
  *				name database, it only allows unprivileged
Zbigniew Jędrzejewski-Szmek 62fe94
- *				connections to acquire a name, talk or discover
Zbigniew Jędrzejewski-Szmek 62fe94
+ *				connections to aquire a name, talk or discover
Zbigniew Jędrzejewski-Szmek 62fe94
  *				a service
Zbigniew Jędrzejewski-Szmek 62fe94
  * @KDBUS_HELLO_MONITOR:	Special-purpose connection to monitor
Zbigniew Jędrzejewski-Szmek 62fe94
  *				bus traffic
Zbigniew Jędrzejewski-Szmek 62fe94
  */
Zbigniew Jędrzejewski-Szmek 62fe94
 enum kdbus_hello_flags {
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_HELLO_ACCEPT_FD		=  1 <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_HELLO_ACTIVATOR		=  1 <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_HELLO_POLICY_HOLDER	=  1 <<  2,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_HELLO_MONITOR		=  1 <<  3,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_HELLO_ACCEPT_FD		=  1ULL <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_HELLO_ACTIVATOR		=  1ULL <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_HELLO_POLICY_HOLDER	=  1ULL <<  2,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_HELLO_MONITOR		=  1ULL <<  3,
Zbigniew Jędrzejewski-Szmek 62fe94
 };
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
 /**
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -515,19 +515,19 @@ enum kdbus_hello_flags {
Zbigniew Jędrzejewski-Szmek 62fe94
  * @_KDBUS_ATTACH_ALL:		All of the above
Zbigniew Jędrzejewski-Szmek 62fe94
  */
Zbigniew Jędrzejewski-Szmek 62fe94
 enum kdbus_attach_flags {
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_TIMESTAMP		=  1 <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_CREDS		=  1 <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_AUXGROUPS		=  1 <<  2,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_NAMES		=  1 <<  3,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_COMM		=  1 <<  4,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_EXE		=  1 <<  5,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_CMDLINE		=  1 <<  6,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_CGROUP		=  1 <<  7,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_CAPS		=  1 <<  8,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_SECLABEL		=  1 <<  9,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_AUDIT		=  1 << 10,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_ATTACH_CONN_NAME		=  1 << 11,
Zbigniew Jędrzejewski-Szmek 62fe94
-	_KDBUS_ATTACH_ALL		=  (1 << 12) - 1,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_TIMESTAMP		=  1ULL <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_CREDS		=  1ULL <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_AUXGROUPS		=  1ULL <<  2,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_NAMES		=  1ULL <<  3,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_COMM		=  1ULL <<  4,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_EXE		=  1ULL <<  5,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_CMDLINE		=  1ULL <<  6,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_CGROUP		=  1ULL <<  7,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_CAPS		=  1ULL <<  8,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_SECLABEL		=  1ULL <<  9,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_AUDIT		=  1ULL << 10,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_ATTACH_CONN_NAME		=  1ULL << 11,
Zbigniew Jędrzejewski-Szmek 62fe94
+	_KDBUS_ATTACH_ALL		=  (1ULL << 12) - 1,
Zbigniew Jędrzejewski-Szmek 62fe94
 };
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
 /**
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -569,8 +569,8 @@ struct kdbus_cmd_hello {
Zbigniew Jędrzejewski-Szmek 62fe94
  * @KDBUS_MAKE_ACCESS_WORLD:	Make the device node world-accessible
Zbigniew Jędrzejewski-Szmek 62fe94
  */
Zbigniew Jędrzejewski-Szmek 62fe94
 enum kdbus_make_flags {
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_MAKE_ACCESS_GROUP		= 1 <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_MAKE_ACCESS_WORLD		= 1 <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_MAKE_ACCESS_GROUP		= 1ULL <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_MAKE_ACCESS_WORLD		= 1ULL <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
 };
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
 /**
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -597,11 +597,11 @@ struct kdbus_cmd_make {
Zbigniew Jędrzejewski-Szmek 62fe94
  * @KDBUS_NAME_ACTIVATOR:		Name is owned by a activator connection
Zbigniew Jędrzejewski-Szmek 62fe94
  */
Zbigniew Jędrzejewski-Szmek 62fe94
 enum kdbus_name_flags {
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_NAME_REPLACE_EXISTING	= 1 <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_NAME_ALLOW_REPLACEMENT	= 1 <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_NAME_QUEUE		= 1 <<  2,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_NAME_IN_QUEUE		= 1 <<  3,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_NAME_ACTIVATOR		= 1 <<  4,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_NAME_REPLACE_EXISTING	= 1ULL <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_NAME_ALLOW_REPLACEMENT	= 1ULL <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_NAME_QUEUE		= 1ULL <<  2,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_NAME_IN_QUEUE		= 1ULL <<  3,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_NAME_ACTIVATOR		= 1ULL <<  4,
Zbigniew Jędrzejewski-Szmek 62fe94
 };
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
 /**
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -630,10 +630,10 @@ struct kdbus_cmd_name {
Zbigniew Jędrzejewski-Szmek 62fe94
  * @KDBUS_NAME_LIST_QUEUED:	All queued-up names
Zbigniew Jędrzejewski-Szmek 62fe94
  */
Zbigniew Jędrzejewski-Szmek 62fe94
 enum kdbus_name_list_flags {
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_NAME_LIST_UNIQUE		= 1 <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_NAME_LIST_NAMES		= 1 <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_NAME_LIST_ACTIVATORS	= 1 <<  2,
Zbigniew Jędrzejewski-Szmek 62fe94
-	KDBUS_NAME_LIST_QUEUED		= 1 <<  3,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_NAME_LIST_UNIQUE		= 1ULL <<  0,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_NAME_LIST_NAMES		= 1ULL <<  1,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_NAME_LIST_ACTIVATORS	= 1ULL <<  2,
Zbigniew Jędrzejewski-Szmek 62fe94
+	KDBUS_NAME_LIST_QUEUED		= 1ULL <<  3,
Zbigniew Jędrzejewski-Szmek 62fe94
 };
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
 /**
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -749,11 +749,11 @@ struct kdbus_cmd_match {
Zbigniew Jędrzejewski-Szmek 62fe94
  * @KDBUS_CMD_HELLO:		By opening the bus device node a connection is
Zbigniew Jędrzejewski-Szmek 62fe94
  *				created. After a HELLO the opened connection
Zbigniew Jędrzejewski-Szmek 62fe94
  *				becomes an active peer on the bus.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @KDBUS_CMD_BYEBYE:		Disconnect a connection. If the connection's
Zbigniew Jędrzejewski-Szmek 62fe94
- *				message list is empty, the calls succeeds, and
Zbigniew Jędrzejewski-Szmek 62fe94
- *				the handle is rendered unusable. Otherwise,
Zbigniew Jędrzejewski-Szmek 62fe94
- *				-EAGAIN is returned without any further side-
Zbigniew Jędrzejewski-Szmek 62fe94
- *				effects.
Zbigniew Jędrzejewski-Szmek 62fe94
+ * @KDBUS_CMD_BYEBYE:		Disconnect a connection. If there are no
Zbigniew Jędrzejewski-Szmek 62fe94
+ *				messages queued up in the connection's pool,
Zbigniew Jędrzejewski-Szmek 62fe94
+ *				the call succeeds, and the handle is rendered
Zbigniew Jędrzejewski-Szmek 62fe94
+ *				unusable. Otherwise, -EBUSY is returned without
Zbigniew Jędrzejewski-Szmek 62fe94
+ *				any further side-effects.
Zbigniew Jędrzejewski-Szmek 62fe94
  * @KDBUS_CMD_MSG_SEND:		Send a message and pass data from userspace to
Zbigniew Jędrzejewski-Szmek 62fe94
  *				the kernel.
Zbigniew Jędrzejewski-Szmek 62fe94
  * @KDBUS_CMD_MSG_RECV:		Receive a message from the kernel which is
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -824,82 +824,4 @@ enum kdbus_ioctl_type {
Zbigniew Jędrzejewski-Szmek 62fe94
 					     struct kdbus_cmd_match),
Zbigniew Jędrzejewski-Szmek 62fe94
 };
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
-/*
Zbigniew Jędrzejewski-Szmek 62fe94
- * errno - api error codes
Zbigniew Jędrzejewski-Szmek 62fe94
- * @E2BIG:		A message contains too many records or items.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EADDRINUSE:		A well-known bus name is already taken by another
Zbigniew Jędrzejewski-Szmek 62fe94
- *			connection.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EADDRNOTAVAIL:	A message flagged not to activate a service, addressed
Zbigniew Jędrzejewski-Szmek 62fe94
- *			a service which is not currently running.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EAGAIN:		No messages are queued at the moment.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EALREADY:		A requested name is already owned by the connection,
Zbigniew Jędrzejewski-Szmek 62fe94
- *			a connection is already disconnected, memfd is already
Zbigniew Jędrzejewski-Szmek 62fe94
- *			sealed or has the requested size.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EBADF:		File descriptors passed with the message are not valid.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EBADFD:		A bus connection is in a corrupted state.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EBADMSG:		Passed data contains a combination of conflicting or
Zbigniew Jędrzejewski-Szmek 62fe94
- *			inconsistent types.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EBUSY:		The user tried to say BYEBYE to a connection, but the
Zbigniew Jędrzejewski-Szmek 62fe94
- *			connection had a non-empty message list.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ECANCELED:		A synchronous message sending was cancelled.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ECONNRESET:		A connection is shut down, no further operations are
Zbigniew Jędrzejewski-Szmek 62fe94
- *			possible.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ECOMM:		A peer does not accept the file descriptors addressed
Zbigniew Jędrzejewski-Szmek 62fe94
- *			to it.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EDESTADDRREQ:	The well-known bus name is required but missing.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EDOM:		The size of data does not match the expectations. Used
Zbigniew Jędrzejewski-Szmek 62fe94
- *			for bloom bit field sizes.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EEXIST:		A requested domain, bus or endpoint with the same
Zbigniew Jędrzejewski-Szmek 62fe94
- *			name already exists.  A specific data type, which is
Zbigniew Jędrzejewski-Szmek 62fe94
- *			only expected once, is provided multiple times.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EFAULT:		The supplied memory could not be accessed, the data
Zbigniew Jędrzejewski-Szmek 62fe94
- *			is not properly aligned, or the current task's memory
Zbigniew Jędrzejewski-Szmek 62fe94
- *			is inaccessible.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EINVAL:		The provided data does not match its type or other
Zbigniew Jędrzejewski-Szmek 62fe94
- *			expectations, like a string which is not NUL terminated,
Zbigniew Jędrzejewski-Szmek 62fe94
- *			or a string length that points behind the first
Zbigniew Jędrzejewski-Szmek 62fe94
- *			\0-byte in the string.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EMEDIUMTYPE:	A file descriptor which is not a kdbus memfd was
Zbigniew Jędrzejewski-Szmek 62fe94
- *			refused to send as KDBUS_MSG_PAYLOAD_MEMFD.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EMFILE:		Too many file descriptors have been supplied with a
Zbigniew Jędrzejewski-Szmek 62fe94
- *			message.
Zbigniew Jędrzejewski-Szmek 62fe94
- *			Too many connections or buses are created for a given
Zbigniew Jędrzejewski-Szmek 62fe94
- *			user.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EMLINK:		Too many requests from this connection to other peers
Zbigniew Jędrzejewski-Szmek 62fe94
- *			are queued and waiting for a reply
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EMSGSIZE:		The supplied data is larger than the allowed maximum
Zbigniew Jędrzejewski-Szmek 62fe94
- *			size.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ENAMETOOLONG:	The requested name is larger than the allowed maximum
Zbigniew Jędrzejewski-Szmek 62fe94
- *			size.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ENOBUFS:		There is no space left for the submitted data to fit
Zbigniew Jędrzejewski-Szmek 62fe94
- *			into the receiver's pool.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ENOENT:		The to be cancelled message was not found.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ENOMEM:		Out of memory.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ENOMSG:		The queue is not empty, but no message with a matching
Zbigniew Jędrzejewski-Szmek 62fe94
- *			priority is currently queued.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ENOSYS:		The requested functionality is not available.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ENOTTY:		An unknown ioctl command was received.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ENOTUNIQ:		A specific data type was addressed to a broadcast
Zbigniew Jędrzejewski-Szmek 62fe94
- *			address, but only direct addresses support this kind of
Zbigniew Jędrzejewski-Szmek 62fe94
- *			data.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ENXIO:		A unique address does not exist, or an offset in the
Zbigniew Jędrzejewski-Szmek 62fe94
- *			receiver's pool does not represent a queued message.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EOPNOTSUPP:		The feature negotiation failed, a not supported feature
Zbigniew Jędrzejewski-Szmek 62fe94
- *			was requested, or an unknown item type was received.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EPERM:		The policy prevented an operation. The requested
Zbigniew Jędrzejewski-Szmek 62fe94
- *			resource is owned by another entity.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EPIPE:		When sending a message, a synchronous reply from the
Zbigniew Jędrzejewski-Szmek 62fe94
- *			receiving connection was expected but the connection
Zbigniew Jędrzejewski-Szmek 62fe94
- *			died before answering.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ESHUTDOWN:		A domain, bus or endpoint is currently shutting down;
Zbigniew Jędrzejewski-Szmek 62fe94
- *			no further operations will be possible.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ESRCH:		A requested well-known bus name is not found.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ETIMEDOUT:		A synchronous wait for a message reply did not arrive
Zbigniew Jędrzejewski-Szmek 62fe94
- *			within the specified time frame.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @ETXTBSY:		A kdbus memfd file cannot be sealed or the seal removed,
Zbigniew Jędrzejewski-Szmek 62fe94
- *			because it is shared with other processes or still
Zbigniew Jędrzejewski-Szmek 62fe94
- *			mmap()ed.
Zbigniew Jędrzejewski-Szmek 62fe94
- * @EXFULL:		The size limits in the pool are reached, no data of
Zbigniew Jędrzejewski-Szmek 62fe94
- *			the size tried to submit can be queued.
Zbigniew Jędrzejewski-Szmek 62fe94
- */
Zbigniew Jędrzejewski-Szmek 62fe94
-#endif
Zbigniew Jędrzejewski-Szmek 62fe94
+#endif /* _KDBUS_UAPI_H_ */