Bluetooth: Require CAP_NET_ADMIN for HCI User Channel operation
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 2 Oct 2013 05:59:24 +0000 (22:59 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 2 Oct 2013 06:10:04 +0000 (09:10 +0300)
commit10a8b86f575235258bdf195e4503f2c2ddfd2e26
treec9b2607b5e4e14d6d5e57702777209443c4296bc
parentee39269369eaada5daae7fabb69bc03429e23bc7
Bluetooth: Require CAP_NET_ADMIN for HCI User Channel operation

The HCI User Channel operation is an admin operation that puts the
device into promiscuous mode for single use. It is more suitable
to require CAP_NET_ADMIN than CAP_NET_RAW.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_sock.c