]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: add dgram sockopts for security control
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Fri, 16 May 2014 15:46:41 +0000 (17:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 May 2014 21:23:41 +0000 (17:23 -0400)
commit664d9c3dde91a819392317f0dfc13928b44d90b8
tree9692f6122fa3b281cc89410bad98d796bfa1eace
parent2e77b131df234544f1631f4fb65190be1657ad10
ieee802154: add dgram sockopts for security control

Allow datagram sockets to override the security settings of the device
they send from on a per-socket basis. Requires CAP_NET_ADMIN or
CAP_NET_RAW, since raw sockets can send arbitrary packets anyway.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/af_ieee802154.h
net/ieee802154/dgram.c