Files
android_kernel_xiaomi_sm8450/kernel
Kirill Korotaev 3b9b8ab65d [PATCH] Fix unserialized task->files changing
Fixed race on put_files_struct on exec with proc.  Restoring files on
current on error path may lead to proc having a pointer to already kfree-d
files_struct.

->files changing at exit.c and khtread.c are safe as exit_files() makes all
things under lock.

Found during OpenVZ stress testing.

[akpm@osdl.org: add export]
Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-29 09:18:12 -07:00
..
2006-09-29 09:18:07 -07:00
2006-09-11 13:32:30 -04:00
2005-04-16 15:20:36 -07:00
2006-09-29 09:18:09 -07:00
2006-03-26 08:57:03 -08:00
2005-10-08 15:00:57 -07:00
2006-09-16 12:54:32 -07:00
2006-07-03 15:27:04 -07:00
2006-09-29 09:18:06 -07:00
2005-04-16 15:20:36 -07:00
2006-09-26 10:52:28 +02:00
2006-04-19 16:27:18 -07:00
2006-07-10 13:24:25 -07:00