diff options
| author | Jeff Dike <[email protected]> | 2007-03-07 20:41:26 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-03-08 07:38:22 -0800 |
| commit | 44f5c4ced6ddee2f5f2e45fa45b93370245d85bd (patch) | |
| tree | 0ba80acf1666a3fe82a3cb09ae0052b58c1d2af1 /include/linux/debugobjects.h | |
| parent | 9bebff6ca5871e07b665cdaf71028ea21eb0bf0e (diff) | |
[PATCH] uml: arch_prctl should set thread fs
In my previous x86_64 thread fix, I forgot to initialize thread.arch.fs in
arch_prctl. A process calling arch_prctl to set %fs would lose it on the
next context switch.
It also turns out that you can switch to a process which is in the process
of exiting and which has lost its mm. In this case, it's worse than
useless to try to call arch_prctl on the host process.
Signed-off-by: Jeff Dike <[email protected]>
Cc: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions