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 rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
range_alloc rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
allocation.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
context.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
deferred_close.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
defs.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
error.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
freeze.rs rust_binder: report freeze notification only when fully frozen 2025-10-13 11:06:20 +02:00
Makefile rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
node.rs rust_binder: clean clippy::mem_replace_with_default warning 2025-10-13 10:57:41 +02:00
page_range_helper.c rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
page_range_helper.h rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
page_range.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
process.rs rust_binder: report freeze notification only when fully frozen 2025-10-13 11:06:20 +02:00
rust_binder_events.c rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
rust_binder_events.h rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
rust_binder_internal.h rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
rust_binder_main.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
rust_binder.h rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
rust_binderfs.c rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
stats.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
thread.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
trace.rs rust_binder: add Rust Binder driver 2025-09-19 09:40:46 +02:00
transaction.rs rust_binder: report freeze notification only when fully frozen 2025-10-13 11:06:20 +02:00