[Bluetooth] Restrict well known PSM to privileged users
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 22 Jan 2007 21:00:45 +0000 (22:00 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 22 Jan 2007 21:00:45 +0000 (22:00 +0100)
commit847641d7db15ac3f18b3d4aa05479812abdf397a
tree59c7f5f3fc3b6a06912487222cd1dbb4214825c4
parent7386397636d49cd5f03da29432467d3e98cbad35
[Bluetooth] Restrict well known PSM to privileged users

The PSM values below 0x1001 of L2CAP are reserved for well known
services. Restrict the possibility to bind them to privileged
users.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c