summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-09-18 16:20:40 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-18 16:20:40 -0700
commit47a5c6fa0e204a2b63309c648bb2fde36836c826 (patch)
tree688b6c12c72fed720dc4a047f310cd292e88a6f1 /net/core
parent1d19f176a2884d31c4fe2c7018349ff884a819b1 (diff)
downloadlinux-3.10-47a5c6fa0e204a2b63309c648bb2fde36836c826.tar.gz
linux-3.10-47a5c6fa0e204a2b63309c648bb2fde36836c826.tar.bz2
linux-3.10-47a5c6fa0e204a2b63309c648bb2fde36836c826.zip
x86: save/restore eflags in context switch
(And reset it on new thread creation) It turns out that eflags is important to save and restore not just because of iopl, but due to the magic bits like the NT bit, which we don't want leaking between different threads. Tested-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions