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
block: row: Add some debug information on ROW queues

1. Add a counter for number of requests on queue.
2. Add function to print queues status (number requests
   currently on queue and number of already dispatched requests
   in current dispatch cycle).

Change-Id: I1e98b9ca33853e6e6a8ddc53240f6cd6981e6024
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
block: row: Insert dispatch_quantum into struct row_queue

There is really no point in keeping the dispatch quantum
of a queue outside of it. By inserting it to the row_queue
structure we spare extra level in accessing it.

Change-Id: Ic77571818b643e71f9aafbb2ca93d0a92158b199
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
block: row: fix sysfs functions - idle_time conversion

idle_time was updated to be stored in msec instead of jiffies.
So there is no need to convert the value when reading from user or
displaying the value to him.

Change-Id: I58e074b204e90a90536d32199ac668112966e9cf
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
block: row: Aggregate row_queue parameters to one structure

Each ROW queues has several parameters which default values are defined
in separate arrays. This patch aggregates all default values into one
array.
The values in question are:
 - is idling enabled for the queue
 - queue quantum
 - can the queue notify on urgent request

Change-Id: I3821b0a042542295069b340406a16b1000873ec6
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
net: wireless: bcmdhd: Fix PEAP with dynamic WEP

Change-Id: I62dffdb3b759ea5ccdf9f7ea0f0e67f928ace92b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
staging: logger: hold mutex while removing reader

The readers list is traversed under the log->mutex lock
(for example from fix_up_readers()), but the deletion of
elements from this list is not being done under this lock.

Cc: Brian Swetland <swetland@google.com>
Cc: Dima Zavin <dima@android.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Linux 3.0.59

Conflicts:
	drivers/usb/class/cdc-acm.c
	drivers/usb/serial/option.c
	net/ipv6/route.c
Linux 3.0.60
Revert "cpufreq: interactive(x): don't remove sysfs nodes"

This reverts commit 3fb02ffd2f52f3f06325fae77271f67ba198bab3.
cpufreq: interactive: fix race on governor start/stop

There is race condition when both two cpu do CPUFREQ_GOV_STOP and one cpu
do CPUFREQ_GOV_START soon. The sysfs_remove_group is not done yet on one
cpu, but sysfs_create_group is called on another cpu, which cause governor
start failed and then kernel panic in timer callback because the policy and
cpu mask are all kfree in cpufreq driver.

Replace atomic with mutex to lock the whole START/STOP sequence.

Change-Id: I3762b3d44315ae021b8275aca84f5ea9147cc540
Signed-off-by: Lianwei Wang <a22439@motorola.com>
Added CPUfreq governor 'wheatley'.
Set the CPU transition latency to the more reasonable value of 40ms.
Added kernel config option 'OMAP_C4_MPUOSWR'.
Add samsungs pegasusq governor, use pegasusq tweaks from gokhanmoral's galaxy siii kernel.
Set pegasusq DEF_CPU_DOWN_FREQ to 384000 and DEF_CPU_UP_FREQ to 576000
Add pegasusq to makefile
Pegasusq tweaks primarily suggested by mnagy1987
Pegasusq: some more tweaks, I think I need to adjust some parts of the driver to utilize the freq_table
cpufreq: interactiveX: fix race on governor start/stop

    There is race condition when both two cpu do CPUFREQ_GOV_STOP and one cpu
    do CPUFREQ_GOV_START soon. The sysfs_remove_group is not done yet on
one cpu, but sysfs_create_group is called on another cpu, which cause
governor start failed and then kernel panic in timer callback because the
policy and cpu mask are all kfree in cpufreq driver.

    Replace atomic with mutex to lock the whole START/STOP sequence.

    Signed-off-by: Lianwei Wang <a22439@motorola.com>