linux/drivers/android/binder
Alice Ryhl b5ce7a5cc5 rust_binder: report freeze notification only when fully frozen
Binder only sends out freeze notifications when ioctl_freeze() completes
and the process has become fully frozen. However, if a freeze
notification is registered during the freeze operation, then it
registers an initial state of 'frozen'. This is a problem because if
the freeze operation fails, then the listener is not told about that
state change, leading to lost updates.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Carlos Llamas <cmllamas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-13 11:06:20 +02:00
..
node
range_alloc
allocation.rs
context.rs
deferred_close.rs
defs.rs
error.rs
freeze.rs rust_binder: report freeze notification only when fully frozen 2025-10-13 11:06:20 +02:00
Makefile
node.rs
page_range.rs
page_range_helper.c
page_range_helper.h
process.rs rust_binder: report freeze notification only when fully frozen 2025-10-13 11:06:20 +02:00
rust_binder.h
rust_binder_events.c
rust_binder_events.h
rust_binder_internal.h
rust_binder_main.rs
rust_binderfs.c
stats.rs
thread.rs
trace.rs
transaction.rs rust_binder: report freeze notification only when fully frozen 2025-10-13 11:06:20 +02:00