Skip to content
Snippets Groups Projects
Commit 55e91c43 authored by Nick Pelly's avatar Nick Pelly Committed by Brian Swetland
Browse files

bluetooth: Lock down creation of AF_BLUETOOTH sockets.


Only root or processes with gid AID_NET_BT or AID_NET_BT_ADMIN
can create RFCOMM, SCO and L2CAP sockets.

Only root or process with gid AID_NET_BT_ADMIN can open other
AF_BLUETOOTH sockets (for example HCI).

This required introducing android_aid.h with the hardcoded
android id's.

Signed-off-by: default avatarBrian Swetland <swetland@google.com>
parent 795e4bfd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment