Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for D-Bus file descriptors #5992
This is based on @stefwalter's initial implementation at #4883. I've rebased it, fixed compile errors, and started to implement the missing bits. Still very much work in progress, but I'm opening this pull request to start the discussion again.
This is basic support for file descriptors passed over DBus. Several APIs like to include stuff like this in their APIs.
referenced this pull request
Feb 28, 2017
I think this is ready for a first review.
I've moved the internal channel logic into
I've also added a small test case which opens a pipe and passes the reader to cockpit via a D-Bus message.
I've also documented that cockpit can now receive (but not sent) file descriptors over D-Bus. Do you think this warrants an extra section in the docs?
Does anyone have ideas for an actual use case that's small enough in scope to implement before 7.4?