
D-Bus (and the GDBus implementation thereof) allow messages to be accompanied by a list of file descriptors which are transferred to the receiving process along with the message. Because file descriptor numbers change when transferred to another process, the message refers to its accompanying file descriptors by their index in the list, using the "h" (handle) D-Bus type. This change adds support to the GDBusConnectionRef wrapper for sending and receiving file descriptors alongside requests and responses. A list of file descriptors is represented by the new GDBusFdList type, which can be included as an additional argument to Call() and accepted as an additional parameter to the provided response callback. It also updates object_path parameters to use the newly-landed ObjectPathCStr type. Bug: 378932951 Change-Id: I20b6f4cc48fce96d99bdd68d445621f380bae1fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6349259 Commit-Queue: Erik Jensen <rkjnsn@chromium.org> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Lambros Lambrou <lambroslambrou@chromium.org> Cr-Commit-Position: refs/heads/main@{#1433889}
Chromium
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead,
follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.