linux-stable-rt/kernel/power
dean gaudet 47bb789973 [PATCH] off-by-1 in kernel/power/main.c
There's an off-by-1 in kernel/power/main.c:state_store() ...  if your
kernel just happens to have some non-zero data at pm_states[PM_SUSPEND_MAX]
(i.e.  one past the end of the array) then it'll let you write anything you
want to /sys/power/state and in response the box will enter S5.

Signed-off-by: dean gaudet <dean@arctic.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-28 08:33:46 -07:00
..
Kconfig
Makefile
console.c
disk.c
main.c [PATCH] off-by-1 in kernel/power/main.c 2006-04-28 08:33:46 -07:00
pm.c [PATCH] remove kernel/power/pm.c:pm_unregister() 2006-04-14 12:25:26 -07:00
power.h
poweroff.c
process.c
smp.c
snapshot.c [PATCH] swsusp: prevent possible image corruption on resume 2006-04-19 09:13:49 -07:00
swap.c
swsusp.c
user.c