netfilter: xt_qtaguid: remove AID_* dependency for access control

qtaguid limits what can be done with /ctrl and /stats based on group
membership.
This changes removes AID_NET_BW_STATS and AID_NET_BW_ACCT, and picks
up the groups from the gid of the matching proc entry files.

Signed-off-by: JP Abgrall <jpa@google.com>
Change-Id: I42e477adde78a12ed5eb58fbc0b277cdaadb6f94
netfilter: xt_qtaguid: extend iface stat to report protocols

In the past the iface_stat_fmt would only show global bytes/packets
for the skb-based numbers.
For stall detection in userspace, distinguishing tcp vs other protocols
makes it easier.
Now we report
  ifname total_skb_rx_bytes total_skb_rx_packets total_skb_tx_bytes
  total_skb_tx_packets {rx,tx}_{tcp,udp,ohter}_{bytes,packets}

Bug: 6818637
Signed-off-by: JP Abgrall <jpa@google.com>
netfilter: xt_qtaguid: Allow tracking loopback

In the past it would always ignore interfaces with loopback addresses.
Now we just treat them like any other.
This also helps with writing tests that check for the presence
of the qtaguid module.

Signed-off-by: JP Abgrall <jpa@google.com>
netfilter: qtaguid: rate limit some of the printks

Some of the printks are in the packet handling path.
We now ratelimit the very unlikely errors to avoid
kmsg spamming.

Signed-off-by: JP Abgrall <jpa@google.com>
max77693: Standardize the output of the "online" property

Return "0" when no power supply is present
Fixes CYAN-2138

Change-Id: I4a4391a454e8e1c5681f8a27ce498f77b4934e28
Revert "max77693: Standardize the output of the "online" property"

This reverts commit 1a05356029493b29f866cf04f7550243ef3ae687, the
enumerator breakage introduced by change Iafbd9fb45253b02d539ac0ba114f57b3bf9eeed4
can be reverted cleanly without further impact and it's a cleaner fix

Change-Id: I351c320f98691241fbe321a0b1ac54152802deb4
Revert "wakelock: use single threaded workqueueus"

This reverts commit 7cf296f8064db7991c4cffb13e07de1b5a981d4a.

Change-Id: Iff69627417b6607e9384019154c15b0ae0e8a20b
arm: mach-exynos: fix gps for n8000 and n801x devices definately

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I73e4f237c5cf67643f96930b3862155966bbf8bc
tzic: add required ifdef for sec asm extension

others files using this implements this flag and ifdef
to keep compat with gcc 4.4.3

Change-Id: I290caa7727b750be2f82f13eb5260b877700f81d
t0lte: prevent freeze on smart dock plug

Bug https://jira.cyanogenmod.org/browse/CYAN-2419

Could be applied on GT-I9305 and N7100 after tests.

Change-Id: I9bd094f0f672fa67c7a36ec52e1133afe6b06c8d