public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] rust_binder: check current before closing fds
@ 2026-02-27  9:34 Alice Ryhl
  2026-02-27  9:34 ` [PATCH v2 1/4] rust: sync: implement == operator for ARef Alice Ryhl
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Alice Ryhl @ 2026-02-27  9:34 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Carlos Llamas, Miguel Ojeda, Boqun Feng,
	Gary Guo, Björn Roy Baron, Benno Lossin, Andreas Hindborg,
	Trevor Gross, Danilo Krummrich
  Cc: rust-for-linux, linux-kernel, Alice Ryhl, Jann Horn

Please see the last patch in this series for details.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
Changes in v2:
- Note that ARef<U> == U can't be implemented due to impl overlap.
- Add #[inline] in == for Task.
- Add a patch that makes use of the new == impl for Task.
- Link to v1: https://lore.kernel.org/r/20260219-close-fd-check-current-v1-0-fcab8d8469f5@google.com

---
Alice Ryhl (4):
      rust: sync: implement == operator for ARef
      rust: task: implement == operator for Task
      rust_binder: make use of == for Task
      rust_binder: check current before closing fds

 drivers/android/binder/allocation.rs |  4 ++++
 drivers/android/binder/process.rs    |  4 ++--
 rust/kernel/sync/aref.rs             | 22 ++++++++++++++++++++++
 rust/kernel/task.rs                  |  9 +++++++++
 4 files changed, 37 insertions(+), 2 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260219-close-fd-check-current-98e3ee59880a

Best regards,
-- 
Alice Ryhl <aliceryhl@google.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-02-27 13:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-27  9:34 [PATCH v2 0/4] rust_binder: check current before closing fds Alice Ryhl
2026-02-27  9:34 ` [PATCH v2 1/4] rust: sync: implement == operator for ARef Alice Ryhl
2026-02-27 12:23   ` Gary Guo
2026-02-27  9:34 ` [PATCH v2 2/4] rust: task: implement == operator for Task Alice Ryhl
2026-02-27 12:24   ` Gary Guo
2026-02-27  9:34 ` [PATCH v2 3/4] rust_binder: make use of == " Alice Ryhl
2026-02-27 12:24   ` Gary Guo
2026-02-27  9:34 ` [PATCH v2 4/4] rust_binder: check current before closing fds Alice Ryhl
2026-02-27 12:28   ` Gary Guo
2026-02-27 13:02     ` Alice Ryhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox