dbus-c++: fully support file descriptor passing. I added file descriptor passing in c7f8f00a1c4032cfe723d900e86cda4252a4d11e, but did not add support for getting file descriptors from MessageIter, which made them impossible to actually access as arguments. Also, the generated code for file descriptor arguments would call the int accessor instead of the fd accessor. This change introduces a new class 'DBus::FileDescriptor' which wraps a file descriptor. BUG=chromium-os:22533 TESTED_ON=x86-generic TEST=Adhoc,trybot Built, ran debugd, passed it an fd. Try: http://naya.i.corp.google.com/tries/aade6fc1-4a5f-4535-9c16-215e1add8229.txt Change-Id: I9b586d66e68e93a2adb659c9f5b515e0022e2f96 Signed-off-by: Elly Jones <ellyjones@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/12236 Reviewed-by: Will Drewry <wad@chromium.org> 
4 files changed