Commit 112ca28d authored by Carlos Llamas's avatar Carlos Llamas
Browse files

UPSTREAM: binder: avoid user addresses in debug logs



Prefer logging vma offsets instead of addresses or simply drop the debug
log altogether if not useful. Note this covers the instances affected by
the switch to store addresses as unsigned long. However, there are other
sections in the driver that could do the same.

Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Reviewed-by: default avatarAlice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20231201172212.1813387-27-cmllamas@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 254650075
(cherry picked from commit 162c7973)
Change-Id: I92b7f409e45d9006492d56302e911ccdd8efc950
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
parent 0402339e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment