linux/drivers/staging/android
Karlis Ogsts 72bb99cfe9 staging: android: logger: Correct write offset reset on error
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>
2013-07-23 15:08:50 -07:00
..
trace staging: sync: Add tracepoint support 2013-03-04 17:46:55 +08:00
Kconfig Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
Makefile staging: sw_sync: Add cpu based sync driver 2013-03-04 17:40:08 +08:00
TODO drivers:staging:android Typos: fix some comments that have typos in them. 2012-02-08 16:47:50 -08:00
alarm-dev.c staging: alarm-dev: information leak in alarm_compat_ioctl() 2013-06-04 10:26:14 -07:00
android_alarm.h staging: alarm-dev: Implement compat_ioctl support 2013-01-18 12:37:11 -08:00
ashmem.c staging: android: Fixed line over 80 char 2013-05-13 05:49:31 -07:00
ashmem.h staging: android: ashmem: Add support for 32bit ashmem calls in a 64bit kernel 2013-03-06 08:49:43 +08:00
binder.c Power management and ACPI updates for 3.11-rc1 2013-07-03 14:35:40 -07:00
binder.h staging: android: binder: replace IOCTL types with user-exportable types 2013-04-11 08:51:51 -07:00
binder_trace.h Staging: android: binder: Add some tracepoints 2012-10-22 13:04:29 -07:00
logger.c staging: android: logger: Correct write offset reset on error 2013-07-23 15:08:50 -07:00
logger.h staging: android: logger: use kuid_t instead of uid_t 2013-05-16 15:37:51 -07:00
lowmemorykiller.c staging: android: lowmemorykiller: well-marked debug print 2013-03-25 11:02:55 -07:00
ram_console.h staging: android: ram_console: pass in a boot info string 2011-11-30 21:23:37 +09:00
sw_sync.c staging: Fix lines over 80 chars in android sw_sync 2013-05-20 10:43:10 -07:00
sw_sync.h staging: sw_sync: Add cpu based sync driver 2013-03-04 17:40:08 +08:00
sync.c staging: android: sync: fix up a sparse warning 2013-06-04 15:59:23 -07:00
sync.h staging: sync: Refactor sync debug printing 2013-03-04 17:46:55 +08:00
timed_gpio.c staging/android: use module_platform_driver 2012-08-13 19:04:25 -07:00
timed_gpio.h Staging: android: timed_gpio: Removed spaces before tabs 2012-02-29 15:52:52 -08:00
timed_output.c drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
timed_output.h Revert "Staging: android: delete android drivers" 2011-11-30 20:18:14 +09:00