ANDROID: rust_binder: add BINDER_TYPE_FDA support
In the previous patch, we introduced support for `BINDER_TYPE_FD` objects that let you send a single fd, and in this patch, we add support for FD arrays. One important difference between `BINDER_TYPE_FD` and `BINDER_TYPE_FDA` is that FD arrays will close the file descriptors when the transaction allocation is freed, whereas FDs sent using `BINDER_TYPE_FD` are not closed. Note that `BINDER_TYPE_FDA` is used only with hwbinder. Link: https://lore.kernel.org/rust-for-linux/20231101-rust-binder-v1-14-08ba9197f637@google.com/ Change-Id: I0b50e440c957fba5b1adb5b53f82bce3e1f1e0e7 Signed-off-by:Alice Ryhl <aliceryhl@google.com> Bug: 278052745
Loading
Please sign in to comment