forked from Minki/linux
72bb99cfe9
In the situation that a writer fails to copy data from userspace it will reset the write offset to the value it had before it went to sleep. This discarding any messages written while aquiring the mutex. Therefore the reset offset needs to be retrieved after acquiring the mutex. Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
trace | ||
alarm-dev.c | ||
android_alarm.h | ||
ashmem.c | ||
ashmem.h | ||
binder_trace.h | ||
binder.c | ||
binder.h | ||
Kconfig | ||
logger.c | ||
logger.h | ||
lowmemorykiller.c | ||
Makefile | ||
ram_console.h | ||
sw_sync.c | ||
sw_sync.h | ||
sync.c | ||
sync.h | ||
timed_gpio.c | ||
timed_gpio.h | ||
timed_output.c | ||
timed_output.h | ||
TODO |