diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-11-11 21:32:44 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-19 04:40:35 -0500 |
commit | 69643279a88dea000ac2f858091d0e365f778245 (patch) | |
tree | c6b9a678ccfe9a4e22f747cb05b1bcf789e1b8d0 /kernel/mutex.c | |
parent | ba84ed9546e91348fdf3ff2bff859b0ee53b407a (diff) | |
download | op-kernel-dev-69643279a88dea000ac2f858091d0e365f778245.zip op-kernel-dev-69643279a88dea000ac2f858091d0e365f778245.tar.gz |
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>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions