Skip to content

sixaxis: Don't mark USB plugged device as trusted

Szymon Janc linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7sixaxis: Don't mark USB plugged device as trustedplugins/sixaxis.c+0 -10 replies
2/7input: Fix crash on authorization reply with first sixaxis connectionprofiles/input/server.c+2 -260 replies
3/7input: Fix check if device is sixaxis in auth_callbackprofiles/input/server.c+1 -10 replies
4/7input: Fix connecting new trusted sixaxis deviceprofiles/input/server.c+3 -40 replies
5/7client: Add untrust commandclient/main.c+31 -00 replies
6/7client: Add block commandclient/main.c+31 -00 replies
7/7client: Add unblock commandclient/main.c+31 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] sixaxis: Don't mark USB plugged device as trusted

Hi,

This serie removes marking USB plugged sixaxis DS3 devices as trusted. Now agent is asked for service authorization before device is connected over BT. This is to address conserns about possibly crafted USB devices.

This is implemented in PATCH 1. Rest are fixes for bugs that were uncovered due this change and client functionality that I've found missing while testing this.

Comments and testing are welcome.

Signature · 20 lines
BR
Szymon Janc


Szymon Janc (7):
  sixaxis: Don't mark USB plugged device as trusted
  input: Fix crash on authorization reply with first sixaxis connection
  input: Fix check if device is sixaxis in auth_callback
  input: Fix connecting new trusted sixaxis device
  client: Add untrust command
  client: Add block command
  client: Add unblock command

 client/main.c           | 93 +++++++++++++++++++++++++++++++++++++++++++++++++
 plugins/sixaxis.c       |  1 -
 profiles/input/server.c | 37 ++++----------------
 3 files changed, 99 insertions(+), 32 deletions(-)

-- 
1.8.5.2