kernel_optimize_test/kernel/power
Rafael J. Wysocki 69643279a8 Hibernate: Do not oops on resume if image data are incorrect
During resume from hibernation using the userland interface image
data are being passed from the used space process to the kernel.
These data need not be valid, but currently the kernel sometimes
oopses if it gets invalid image data, which is wrong.  Make the
kernel return error codes to the user space in such cases.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-12-19 04:40:35 -05:00
..
console.c
disk.c Hibernate: Call platform_begin before swsusp_shrink_memory 2008-12-19 04:40:34 -05:00
Kconfig PM_TEST_SUSPEND should depend on RTC_CLASS, not RTC_LIB 2008-11-01 12:40:38 -07:00
main.c suspend: use WARN not WARN_ON to print the message 2008-11-18 08:07:36 -08:00
Makefile
power.h [PATCH] propagate mode through swsusp_close() 2008-10-21 07:49:02 -04:00
poweroff.c pm: schedule sysrq poweroff on boot cpu 2008-07-24 10:47:24 -07:00
process.c container freezer: skip frozen cgroups during power management resume 2008-10-20 08:52:34 -07:00
snapshot.c Hibernate: Do not oops on resume if image data are incorrect 2008-12-19 04:40:35 -05:00
swap.c [PATCH] kill obsolete temporary comment in swsusp_close() 2008-12-04 04:22:54 -05:00
swsusp.c ACPI hibernate: Add a mechanism to save/restore ACPI NVS memory 2008-12-19 04:40:34 -05:00
user.c pm: rework disabling of user mode helpers during suspend/hibernation 2008-10-16 11:21:29 -07:00