diff options
author | Carlos Llamas <cmllamas@google.com> | 2025-03-25 21:49:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-15 16:11:12 +0300 |
commit | 170d1a3738908eef6a0dbf378ea77fb4ae8e294d (patch) | |
tree | 09067a2d8732b426da5affe810479b97591ad841 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8e553520596bbd5ce832e26e9d721e6a0c797b8b (diff) | |
download | linux-170d1a3738908eef6a0dbf378ea77fb4ae8e294d.tar.xz |
binder: fix offset calculation in debug log
The vma start address should be substracted from the buffer's user data
address and not the other way around.
Cc: Tiffany Y. Yang <ynaffit@google.com>
Cc: stable <stable@kernel.org>
Fixes: 162c79731448 ("binder: avoid user addresses in debug logs")
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Reviewed-by: Tiffany Y. Yang <ynaffit@google.com>
Link: https://lore.kernel.org/r/20250325184902.587138-1-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions