Paranoid network.
authorRobert Love <rlove@google.com>
Wed, 15 Oct 2008 19:35:44 +0000 (15:35 -0400)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:13 +0000 (13:51 -0800)
commit4b96f2c640f2533a6b1d4080a959d33617844ae6
treefba0ec9908b4f970345cbb842331830c036e4b98
parent76fb6835f4fda6775a5982dd9fd6c71f82fae2cf
Paranoid network.

With CONFIG_ANDROID_PARANOID_NETWORK, require specific uids/gids to instantiate
network sockets.

Signed-off-by: Robert Love <rlove@google.com>
paranoid networking: Use in_egroup_p() to check group membership

The previous group_search() caused trouble for partners with module builds.
in_egroup_p() is also cleaner.

Signed-off-by: Nick Pelly <npelly@google.com>
Fix 2.6.29 build.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
net: Fix compilation of the IPv6 module

Fix compilation of the IPv6 module -- current->euid does not exist anymore,
current_euid() is what needs to be used.

Signed-off-by: Steinar H. Gunderson <sesse@google.com>
net: bluetooth: Remove the AID_NET_BT* gid numbers

Removed bluetooth checks for AID_NET_BT and AID_NET_BT_ADMIN
which are not useful anymore.
This is in preparation for getting rid of all the AID_* gids.

Signed-off-by: JP Abgrall <jpa@google.com>
net/Kconfig
net/bluetooth/af_bluetooth.c
net/ipv4/af_inet.c
net/ipv6/af_inet6.c