#define KDBUS_IOC_MAGIC 0x95
#define KDBUS_SRC_ID_KERNEL (0)
-#define KDBUS_DST_ID_WELL_KNOWN_NAME (0)
+#define KDBUS_DST_ID_NAME (0)
#define KDBUS_MATCH_SRC_ID_ANY (~0ULL)
#define KDBUS_DST_ID_BROADCAST (~0ULL)
/* KDBUS_CMD_NAME_LIST */
enum {
- KDBUS_NAME_LIST_UNIQUE_NAMES = 1 << 0,
- KDBUS_NAME_LIST_STARTERS_ONLY = 1 << 1,
- KDBUS_NAME_LIST_QUEUED_OWNERS = 1 << 2,
+ KDBUS_NAME_LIST_UNIQUE = 1 << 0,
+ KDBUS_NAME_LIST_NAMES = 1 << 1,
+ KDBUS_NAME_LIST_STARTERS = 1 << 2,
+ KDBUS_NAME_LIST_QUEUED = 1 << 3,
};
/**
* struct kdbus_cmd_name_list - request a list of name entries
+ * @size Total size of the struct
* @flags: Flags for the query (KDBUS_NAME_LIST_*)
* @offset: The returned offset in the caller's pool buffer.
* The user must use KDBUS_CMD_FREE to free the
* Refer to the documentation for more information.
*/
struct kdbus_cmd_name_list {
+ __u64 size;
__u64 flags;
__u64 offset;
char name[0];