aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2011-08-31 13:50:15 -0700
committerJP Abgrall <jpa@google.com>2011-09-02 16:50:56 -0700
commit64753a4df63a211c52a40e4cdf6632e73f2a235d (patch)
tree4e24fedcc8e94f8f8bcf338b3e6a7f44603558ad /kernel/power
parente365df0843f467628c10d53f0b91a5c97890b8fd (diff)
downloadkernel_samsung_aries-64753a4df63a211c52a40e4cdf6632e73f2a235d.zip
kernel_samsung_aries-64753a4df63a211c52a40e4cdf6632e73f2a235d.tar.gz
kernel_samsung_aries-64753a4df63a211c52a40e4cdf6632e73f2a235d.tar.bz2
netfilter: qtaguid: fix proc/.../stats uid filtered output
"cat /proc/net/xt_qtaguid/stats" for a non-priviledged UID would output multiple twice its own stats. The fix tweaks the way lines are counted. Non-root: idx iface acct_tag_hex uid_tag_int cnt_set ... 2 wlan0 0x0 10022 0 ... 3 wlan0 0x0 10022 1 ... 4 wlan0 0x3010000000000000 10022 0 ... 5 wlan0 0x3010000000000000 10022 1 ... Root: idx iface acct_tag_hex uid_tag_int cnt_set 2 wlan0 0x0 0 0 ... 3 wlan0 0x0 0 1 ... 4 wlan0 0x0 1000 0 ... ... 12 wlan0 0x0 10022 0 ... 13 wlan0 0x0 10022 1 ... ... 18 wlan0 0x3010000000000000 10022 0 ... 19 wlan0 0x3010000000000000 10022 1 ... Change-Id: I3cae1f4fee616bc897831350374656b0c718c45b Signed-off-by: JP Abgrall <jpa@google.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions