- hello->size = sizeof(h);
- hello->conn_flags = b->hello_flags;
-
- hello->items[0].type = KDBUS_HELLO_POOL;
- hello->items[0].size = KDBUS_ITEM_HEADER_SIZE + sizeof(struct kdbus_vec);
- hello->items[0].vec.address = (uint64_t) b->kdbus_buffer;
- hello->items[0].vec.size = KDBUS_POOL_SIZE;
-
- r = ioctl(b->input_fd, KDBUS_CMD_HELLO, hello);
- if (r < 0)
- return -errno;
-