Skip to content

binder: tell userspace to dump current backtrace when detected oneway spamming

Hang Lu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2binder: fix the missing BR_FROZEN_REPLY in binder_return_stringsdrivers/android/binder.c drivers/android/binder_internal.h+3 -21 reply
2/2binder: tell userspace to dump current backtrace when detected oneway spammingdrivers/android/binder.c drivers/android/binder_alloc.c drivers/android/binder_alloc.h +2 more+56 -81 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchTodd Kjos
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] binder: tell userspace to dump current backtrace when detected oneway spamming

Add feature for binder oneway spamming detection, which tells userspace to dump current backtrace. Fix the missing "BR_FROZEN_REPLY" issue first, then features.

Hang Lu (2):
binder: fix the missing BR_FROZEN_REPLY in binder_return_strings
binder: tell userspace to dump current backtrace when detected oneway
spamming

 drivers/android/binder.c            | 30 ++++++++++++++++++++++++++----
 drivers/android/binder_alloc.c      | 15 ++++++++++++---
 drivers/android/binder_alloc.h      |  8 +++++++-
 drivers/android/binder_internal.h   |  6 +++++-
 include/uapi/linux/android/binder.h |  8 ++++++++
 5 files changed, 58 insertions(+), 9 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project