KDBUS_MSG_NO_AUTO_START
By default, when a message is sent to an activator connection, the
- activator notified and will start an implementer. This flag inhibits
+ activator is notified and will start an implementer. This flag inhibits
that behavior. With this bit set, and the remote being an activator,
-EADDRNOTAVAIL is returned from the ioctl.
For KDBUS_CMD_NAME_RELEASE:
-EINVAL Invalid command flags, or invalid name provided
- -ESRCH Name is not found found in the registry
+ -ESRCH Name is not found in the registry
-EADDRINUSE Name is owned by a different connection and can't be released
For KDBUS_CMD_NAME_LIST:
This is a simplified outline of the internal kdbus object relations, for
those interested in the inner life of the driver implementation.
-From the a mount point's (domain's) perspective:
+From a mount point's (domain's) perspective:
struct kdbus_domain
|» struct kdbus_domain_user *user (many, owned)
* kdbus_notify_id_change
*
* For kdbus_notify_{id,name}_change structs, only the ID and name fields
- * are looked at at when adding an entry. The flags are unused.
+ * are looked at when adding an entry. The flags are unused.
*
* Also note that KDBUS_ITEM_BLOOM_MASK, KDBUS_ITEM_NAME and KDBUS_ITEM_ID
* are used to match messages from userspace, while the others apply to
/**
* kdbus_pool_slice_release() - drop kernel-reference on allocated slice
- * @slice: Slice allocated from the the pool
+ * @slice: Slice allocated from the pool
*
* This releases the kernel-reference on the given slice. If the
* kernel-reference and the user-reference on a slice are dropped, the slice is
}
/*
- * The offsets stored in the slice are relative to the the start
- * of the payload slice. When exporting them, they need to become
+ * The offsets stored in the slice are relative to the start of
+ * the payload slice. When exporting them, they need to become
* relative to the pool, so get the payload slice's offset first.
*/
if (entry->slice_vecs)
}
kdbus_printf("%8llu flags=0x%08llx conn=0x%08llx '%s'\n",
- name->owner_id, (unsigned long long )flags,
+ name->owner_id, (unsigned long long) flags,
name->conn_flags, n);
}
kdbus_printf("\n");
/*
* The connection created by the core requires ALL meta flags
- * to be sent. An attempt to send less that that should result
- * in -ECONNREFUSED.
+ * to be sent. An attempt to send less than that should result in
+ * -ECONNREFUSED.
*/
hello.attach_flags_send = _KDBUS_ATTACH_ALL & ~KDBUS_ATTACH_TIMESTAMP;
ret = ioctl(fd, KDBUS_CMD_HELLO, &hello);