binder: allow freeze notification for dead nodes
Alice points out that binder_request_freeze_notification() should not return EINVAL when the relevant node is dead [1]. The node can die at any point even if the user input is valid. Instead, allow the request to be allocated but skip the initial notification for dead nodes. This avoids propagating unnecessary errors back to userspace. Fixes: d579b04a ("binder: frozen notification") Cc: stable@vger.kernel.org Suggested-by:Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/all/CAH5fLghapZJ4PbbkC8V5A6Zay-_sgTzwVpwqk6RWWUNKKyJC_Q@mail.gmail.com/ [1] Signed-off-by:
Carlos Llamas <cmllamas@google.com> Acked-by:
Todd Kjos <tkjos@google.com> Link: https://lore.kernel.org/r/20240926233632.821189-7-cmllamas@google.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
-
mentioned in commit c5233c56
-
mentioned in commit 575892d9
-
mentioned in commit 61498b87
-
mentioned in commit d326e0fa
-
mentioned in commit a151b8e9
-
mentioned in commit 53ec0fd7
-
mentioned in commit d76401cd
-
mentioned in commit 684f594d
-
mentioned in commit 1853fe02
-
mentioned in commit 9b6127f2
-
mentioned in commit bbed1562
-
mentioned in commit 67a47e75
-
mentioned in commit f2caf8fd
-
mentioned in commit e21892ad
-
mentioned in commit b8926217
Please sign in to comment