chiark / gitweb /
bus: update kdbus.h (ABI break)
[elogind.git] / src / libsystemd / sd-bus / kdbus.h
index ae900c27201828ed23642de2439507feb7023812..7a58785f36d05d8408eef51ca2b34bb16a67b0b1 100644 (file)
@@ -70,14 +70,14 @@ struct kdbus_notify_name_change {
  *   KDBUS_ITEM_CREDS
  */
 struct kdbus_creds {
-       __u64 uid;
-       __u64 euid;
-       __u64 suid;
-       __u64 fsuid;
-       __u64 gid;
-       __u64 egid;
-       __u64 sgid;
-       __u64 fsgid;
+       __u32 uid;
+       __u32 euid;
+       __u32 suid;
+       __u32 fsuid;
+       __u32 gid;
+       __u32 egid;
+       __u32 sgid;
+       __u32 fsgid;
 };
 
 /**
@@ -494,10 +494,11 @@ enum kdbus_recv_flags {
  *                     broadcast messages that have been lost since the
  *                     last call.
  * @msg_size:          Filled by the kernel with the actual message size. This
- *                     mirrors the 'size' member of the message stored at
- *                     @offset, but allows callers to access it without mapping
- *                     their pool. By using @msg_size and @offset, you can map
- *                     only the message itself, not the whole pool.
+ *                     is the full size of the slice placed at @offset. It
+ *                     includes the memory used for the kdbus_msg object, but
+ *                     also for all appended VECs. By using @msg_size and
+ *                     @offset, you can map a single message, instead of
+ *                     mapping the whole pool.
  *
  * This struct is used with the KDBUS_CMD_MSG_RECV ioctl.
  */