summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2025-11-11 14:23:33 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-26 13:26:59 +0100
commit6c37bebd8c926ad01ef157c0d123633a203e5c0d (patch)
tree5fb1f397283b9c4ea9118a62ee4ecdc11bc5ea04 /tools/lib/python/kdoc/python_version.py
parent3e0ae02ba831da2b707905f4e602e43f8507b8cc (diff)
rust_binder: avoid mem::take on delivered_deaths
Similar to the previous commit, List::remove is used on delivered_deaths, so do not use mem::take on it as that may result in violations of the List::remove safety requirements. I don't think this particular case can be triggered because it requires fd close to run in parallel with an ioctl on the same fd. But let's not tempt fate. Cc: stable@vger.kernel.org Fixes: eafedbc7c050 ("rust_binder: add Rust Binder driver") Signed-off-by: Alice Ryhl <aliceryhl@google.com> Acked-by: Miguel Ojeda <ojeda@kernel.org> Link: https://patch.msgid.link/20251111-binder-fix-list-remove-v1-2-8ed14a0da63d@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions