summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2024-07-30 16:06:32 +0300
committerMiguel Ojeda <ojeda@kernel.org>2024-08-19 00:10:53 +0300
commit6c2d0ad53b8ff25cb1a12570191576d834e9108d (patch)
tree9017cd105a429a23cd0a85ced61e8fb87df47aaa /rust/helpers/task.c
parent08f983a55ccf0b015e4788d1a0de0da84e4a7626 (diff)
downloadlinux-6c2d0ad53b8ff25cb1a12570191576d834e9108d.tar.xz
rust: implement ForeignOwnable for Pin<Box<T>>
We already implement ForeignOwnable for Box<T>, but it may be useful to store pinned data in a ForeignOwnable container. This patch makes that possible. This will be used together with upcoming miscdev abstractions, which Binder will use when binderfs is disabled. Signed-off-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Benno Lossin <benno.lossin@proton.me> Link: https://lore.kernel.org/r/20240730-foreign-ownable-pin-box-v1-1-b1d70cdae541@google.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions