security: fix compilation errors when CONFIG_ANDROID_PARANOID_NETWORK=n

Compilation fails when CONFIG_ANDROID_PARANOID_NETWORK is not defined since
AID_NET_RAW and AID_NET_ADMIN don't exist.  Since these group checks are only
valid for Android configurations, remove the checks when
CONFIG_ANDROID_PARANOID_NETWORK is disabled.

Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
1 file changed