summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_tty.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-09-23 13:42:09 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-09-23 13:42:09 +0000
commit98bfdf3a78586aa410625c6677d0977862ea27a8 (patch)
treea96ee18438897341fe6167743a2abc305e66f457 /sys/kern/tty_tty.c
parentfae2ccfa41d5a181d178da8b59d06b7c3d775804 (diff)
downloadFreeBSD-src-98bfdf3a78586aa410625c6677d0977862ea27a8.zip
FreeBSD-src-98bfdf3a78586aa410625c6677d0977862ea27a8.tar.gz
Stop reloading %fs and %gs, since it causes the base address from
GDT to be loaded into FS.base and GS.base, these values of course are not the values set by sysarch() with I386_SET_FSBASE and I386_SET_GSBASE, the change fixed a crash for 32bit libthr after signal handler returned and normal code is accessing thread pointer, for example: movl %gs:8, %eax.
Diffstat (limited to 'sys/kern/tty_tty.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud