]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86bef37e96fee6b1712480848c6b14bdded8af44
treec9b2607b5e4e14d6d5e57702777209443c4296bc
parent189cff592777c14f5a5cb8223cb16804616d12f3
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